OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 15-Oct-2005 09:34:40 Branch: HEAD Handle: 2005101508344000 Modified files: openpkg-src/mtr mtr.patch mtr.spec Log: fix building under Linux Summary: Revision Changes Path 1.9 +42 -4 openpkg-src/mtr/mtr.patch 1.32 +1 -1 openpkg-src/mtr/mtr.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/mtr/mtr.patch ============================================================================ $ cvs diff -u -r1.8 -r1.9 mtr.patch --- openpkg-src/mtr/mtr.patch 18 Jan 2005 08:55:05 -0000 1.8 +++ openpkg-src/mtr/mtr.patch 15 Oct 2005 07:34:40 -0000 1.9 @@ -1,9 +1,47 @@ +Index: getopt.c +--- getopt.c.orig 2005-10-15 09:31:20.000000000 +0200 ++++ getopt.c 2005-10-15 09:33:02.301074518 +0200 +@@ -49,7 +49,6 @@ + program understand `configure --with-gnu-libc' and omit the object files, + it is simpler to just do this in the source for each such file. */ + +-#if defined (_LIBC) || !defined (__GNU_LIBRARY__) + + + /* This needs to come after some library #include +@@ -691,7 +690,6 @@ + 0); + } + +-#endif /* _LIBC or not __GNU_LIBRARY__. */ + + #ifdef TEST + +Index: getopt1.c +--- getopt1.c.orig 2005-10-15 09:31:20.000000000 +0200 ++++ getopt1.c 2005-10-15 09:32:46.232317910 +0200 +@@ -40,7 +40,6 @@ + program understand `configure --with-gnu-libc' and omit the object files, + it is simpler to just do this in the source for each such file. */ + +-#if defined (_LIBC) || !defined (__GNU_LIBRARY__) + + + /* This needs to come after some library #include +@@ -83,7 +82,6 @@ + } + + +-#endif /* _LIBC or not __GNU_LIBRARY__. */ + + #ifdef TEST + Index: net.c ---- net.c.orig 2004-08-11 13:29:10 +0200 -+++ net.c 2004-08-13 08:14:10 +0200 -@@ -249,7 +249,9 @@ +--- net.c.orig 2005-01-13 09:13:53.000000000 +0100 ++++ net.c 2005-10-15 09:31:20.240275000 +0200 +@@ -305,7 +305,9 @@ rv = sendto(sendsock, packet, abs(packetsize), 0, - (struct sockaddr *)&remoteaddress, sizeof(remoteaddress)); + remotesockaddr, salen); if (rv >= 0) { +#if 0 fprintf (stderr, "You've got a broken (FreeBSD?) system\n"); @@ . patch -p0 <<'@@ .' Index: openpkg-src/mtr/mtr.spec ============================================================================ $ cvs diff -u -r1.31 -r1.32 mtr.spec --- openpkg-src/mtr/mtr.spec 13 Jun 2005 08:35:50 -0000 1.31 +++ openpkg-src/mtr/mtr.spec 15 Oct 2005 07:34:40 -0000 1.32 @@ -33,7 +33,7 @@ Group: Network License: GPL Version: 0.69 -Release: 20050613 +Release: 20051015 # package options %option with_x11 no @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org