Author: sip Date: 2006-02-23 19:01:22 +0100 (Thu, 23 Feb 2006) New Revision: 788 Added: crux-2.2/ports/core/netkit-base/netkit-base-0.17-gcc4.patch Modified: crux-2.2/ports/core/netkit-base/.md5sum crux-2.2/ports/core/netkit-base/Pkgfile Log: netkit-base: added gcc4 patch Modified: crux-2.2/ports/core/netkit-base/.md5sum =================================================================== --- crux-2.2/ports/core/netkit-base/.md5sum 2006-02-23 17:59:50 UTC (rev 787) +++ crux-2.2/ports/core/netkit-base/.md5sum 2006-02-23 18:01:22 UTC (rev 788) @@ -1,6 +1,7 @@ 87fdb9f85d8fc140b2f873e8e4e18440 inetd dd0d71e008809420edada02dda7a3149 inetd.conf 0feee7f8e9d4fea8e8bce70bfc472e53 netkit-base-0.17-break.patch +f79bb838060f298957daf9d41fd32167 netkit-base-0.17-gcc4.patch 705b8a9ee47fb056c66c310732c06a56 netkit-base-0.17-usagi-20030214.patch 1f0193358e92559ec0f598b09ccbc0ec netkit-base-0.17.tar.gz 95ede9740e0d48ebdf829d631fe8d06a protocols Modified: crux-2.2/ports/core/netkit-base/Pkgfile =================================================================== --- crux-2.2/ports/core/netkit-base/Pkgfile 2006-02-23 17:59:50 UTC (rev 787) +++ crux-2.2/ports/core/netkit-base/Pkgfile 2006-02-23 18:01:22 UTC (rev 788) @@ -4,16 +4,18 @@ name=netkit-base version=0.17 -release=7 +release=8 source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$name-$version.tar.gz \ $name-$version-usagi-20030214.patch \ $name-$version-break.patch \ + $name-$version-gcc4.patch \ inetd.conf inetd services protocols) build() { cd $name-$version patch -p1 < ../$name-$version-usagi-20030214.patch patch -p1 < ../$name-$version-break.patch + patch -p1 < ../$name-$version-gcc4.patch ./configure --prefix=/usr \ --installroot=$PKG \ --enable-ipv6 Added: crux-2.2/ports/core/netkit-base/netkit-base-0.17-gcc4.patch =================================================================== --- crux-2.2/ports/core/netkit-base/netkit-base-0.17-gcc4.patch 2006-02-23 17:59:50 UTC (rev 787) +++ crux-2.2/ports/core/netkit-base/netkit-base-0.17-gcc4.patch 2006-02-23 18:01:22 UTC (rev 788) @@ -0,0 +1,12 @@ +diff -ur netkit-base-0.17/inetd/servtab.c netkit-base-0.17-patched/inetd/servtab.c +--- netkit-base-0.17/inetd/servtab.c 2000-07-22 15:20:50.000000000 -0500 ++++ netkit-base-0.17-patched/inetd/servtab.c 2005-04-30 21:23:52.649630720 -0500 +@@ -771,7 +771,7 @@ + return; + } + +-#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;} ++#define SWAP(type, a, b) {type c=(type)a; a=(type)b; b=(type)c;} + + /* + * sep->se_wait may be holding the pid of a daemon
participants (1)
-
crux@crux.nu