head 1.4; access; symbols pkgsrc-2014Q1:1.3.0.64 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.62 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.60 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.58 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.56 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.54 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.52 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.50 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.48 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.46 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.44 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.42 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.40 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.38 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.36 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.34 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.32 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.30 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.28 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.26 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.24 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.22 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.20 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.18 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.16 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.14 pkgsrc-2008Q1:1.3.0.12 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.10 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.8 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.6 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.4 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.2 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.2.0.10 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.8 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.6 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.4 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.2 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.1.1.1.0.4 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.2 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2014.05.25.15.35.35; author gdt; state dead; branches; next 1.3; commitid tewNFjYS9AE4YVBx; 1.3 date 2006.11.22.00.12.34; author seb; state Exp; branches; next 1.2; 1.2 date 2005.08.06.17.43.14; author bouyer; state Exp; branches; next 1.1; 1.1 date 2005.03.07.15.59.08; author bouyer; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.03.07.15.59.08; author bouyer; state Exp; branches; next ; desc @@ 1.4 log @Remove xentools20. @ text @$NetBSD: patch-ae,v 1.3 2006/11/22 00:12:34 seb Exp $ --- xfrd/xfrd.c.orig 2005-08-03 23:57:58.000000000 +0000 +++ xfrd/xfrd.c @@@@ -481,9 +481,9 @@@@ int xfr_hello(Conn *conn){ err = -EINVAL; goto exit; } - err = intof(sxpr_childN(sxpr, 0, ONONE), &hello_major); + err = intof(sxpr_childN(sxpr, 0, ONONE), (int *)&hello_major); if(err) goto exit; - err = intof(sxpr_childN(sxpr, 1, ONONE), &hello_minor); + err = intof(sxpr_childN(sxpr, 1, ONONE), (int *)&hello_minor); if(err) goto exit; if(hello_major != major || hello_minor != minor){ eprintf("> Wanted protocol version %d.%d, got %d.%d", @@@@ -646,7 +646,7 @@@@ int xfr_send_state(XfrState *state, Conn if(!err) err = errcode; } else if(sxpr_elementp(sxpr, oxfr_xfr_ok)){ // Ok - get the new domain id. - err = intof(sxpr_childN(sxpr, 0, ONONE), &state->vmid_new); + err = intof(sxpr_childN(sxpr, 0, ONONE), (int *)&state->vmid_new); xfr_error(peer, err); } else { // Anything else is invalid. But it may be too late. @@@@ -917,7 +917,7 @@@@ int xfrd_service(Args *args, int peersoc int n = 0; dprintf("> xfr.migrate\n"); - err = intof(sxpr_childN(sxpr, n++, ONONE), &state->vmid); + err = intof(sxpr_childN(sxpr, n++, ONONE), (int *)&state->vmid); if(err) goto exit; err = stringof(sxpr_childN(sxpr, n++, ONONE), &state->vmconfig); if(err) goto exit; @@@@ -939,7 +939,7 @@@@ int xfrd_service(Args *args, int peersoc int n = 0; dprintf("> xfr.save\n"); - err = intof(sxpr_childN(sxpr, n++, ONONE), &state->vmid); + err = intof(sxpr_childN(sxpr, n++, ONONE), (int *)&state->vmid); if(err) goto exit; err = stringof(sxpr_childN(sxpr, n++, ONONE), &state->vmconfig); if(err) goto exit; @@@@ -965,7 +965,7 @@@@ int xfrd_service(Args *args, int peersoc int n = 0; dprintf("> xfr.xfr\n"); - err = intof(sxpr_childN(sxpr, n++, ONONE), &state->vmid); + err = intof(sxpr_childN(sxpr, n++, ONONE), (int *)&state->vmid); if(err) goto exit; err = xfr_recv(args, state, conn); @@@@ -1230,8 +1230,8 @@@@ int main(int argc, char *argv[]){ #ifndef DEBUG freopen(LOGFILE, "w+", stdout); - fclose(stderr); - stderr = stdout; + close(2); + dup2(1,2); #endif dprintf(">\n"); set_defaults(args); @ 1.3 log @Fix build with libcurl-7.6.10. Fix build with NetBSD's current gcc 4.1.2. Bump PKGREVISION to 9. Approved by maintainer. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.2 2005/08/06 17:43:14 bouyer Exp $ @ 1.2 log @Upgrade to xentools20-2.0.7, from Martti Kuparinen in private mail. Changes unknown, but probably only bugfixes. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1.1.1 2005/03/07 15:59:08 bouyer Exp $ d3 51 a53 3 --- xfrd/xfrd.c.orig 2005-08-04 02:57:58.000000000 +0300 +++ xfrd/xfrd.c 2005-08-04 12:34:08.000000000 +0300 @@@@ -1230,8 +1230,8 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: $ d3 3 a5 3 --- xfrd/xfrd.c.orig 2005-01-22 01:24:53.000000000 +0100 +++ xfrd/xfrd.c 2005-01-22 01:25:08.000000000 +0100 @@@@ -1229,8 +1229,8 @@@@ @ 1.1.1.1 log @Initial import of xentools 2.0, for use with NetBSD as a xen2 domain0. @ text @@