patch shuffle
authorMike Frysinger <vapier@gentoo.org>
Tue, 4 Jan 2005 04:02:36 +0000 (04:02 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 4 Jan 2005 04:02:36 +0000 (04:02 +0000)
net-misc/iputils/Manifest
net-misc/iputils/files/021109-syserror.patch [new file with mode: 0644]
net-misc/iputils/files/021109-uclibc-no-ether_ntohost.patch [moved from net-misc/iputils/files/iputils-20020927-no-ether_ntohost.patch with 100% similarity]
net-misc/iputils/iputils-021109-r3.ebuild

index 16dd33c41665dd1693425ce595757e0993f6a5ff..a8b54390b43e815d1e579dca1b8ede492fa9ba1b 100644 (file)
@@ -2,19 +2,20 @@
 Hash: SHA1
 
 MD5 e2ccbeed9ec09bab7f076ddf927b1eee ChangeLog 5062
-MD5 73b9d1d0fbd243c19f6ab07fb3c78e5e iputils-021109-r3.ebuild 2745
+MD5 803f089c3d1999303ca7b3c72777c755 iputils-021109-r3.ebuild 2689
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 d85216426f34d4e768ab8f9f48c66e4f files/021109-syserror.patch 324
 MD5 0a62fdeb93c761e5407fd3e185308a99 files/iputils-021109-pfkey.patch 3477
 MD5 c11c8762616b29e6d556a147aaa9374a files/021109-no-pfkey-search.patch 307
 MD5 2baac2d4f1c8f01957aaaf6b6349c203 files/021109-gcc34.patch 347
 MD5 66a524e27160410a2dbaef8d2eed5365 files/digest-iputils-021109-r3 73
-MD5 b4615612d4514f12b35fbaf27d3e04fe files/iputils-20020927-no-ether_ntohost.patch 635
 MD5 79de65b9da536090d0560ba51520fd9d files/iputils-021109-linux-udp-header.patch 418
 MD5 c9986b4299c200260da8f025c5e4b0ea files/021109-ipg-linux-2.6.patch 981
+MD5 b4615612d4514f12b35fbaf27d3e04fe files/021109-uclibc-no-ether_ntohost.patch 635
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.10 (GNU/Linux)
 
-iD8DBQFB2hMCroRuSHgZdywRAhQ2AKCRIC75RG7rORc0gnrFxcDikPSPdACfbA5L
-GO5EnD1VXVnmFQOv0wMff1g=
-=5IT7
+iD8DBQFB2hVvroRuSHgZdywRAu7lAJ9n0Yp2L3OlxJRyq5poIMpHHh3FTQCffw6e
+H6nU75qDqX4NwB0WFbAIdO0=
+=i3u3
 -----END PGP SIGNATURE-----
diff --git a/net-misc/iputils/files/021109-syserror.patch b/net-misc/iputils/files/021109-syserror.patch
new file mode 100644 (file)
index 0000000..a4f94f4
--- /dev/null
@@ -0,0 +1,9 @@
+--- iputils/rdisc.c.orig       2005-01-03 22:53:27.852431840 -0500
++++ iputils/rdisc.c    2005-01-03 22:53:27.864430016 -0500
+@@ -1504,5 +1504,5 @@
+       if (logging)
+               syslog(LOG_ERR, "%s: %m", str);
+       else
+-              (void) fprintf(stderr, "%s: %s\n", str, sys_errlist[errno]);
++              (void) fprintf(stderr, "%s: %s\n", str, strerror(errno));
+ }
index adbf10c124f53e85868bca67fd20d9b5cb1c30e4..9142a744f783e52f9bc3c3dc1bc9716c8a277780 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-021109-r3.ebuild,v 1.14 2005/01/04 03:52:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-021109-r3.ebuild,v 1.15 2005/01/04 04:02:36 vapier Exp $
 
 inherit flag-o-matic gnuconfig eutils toolchain-funcs
 
@@ -39,6 +39,8 @@ src_unpack() {
        epatch ${FILESDIR}/${PV}-gcc34.patch
        epatch ${FILESDIR}/${PV}-no-pfkey-search.patch
        epatch ${FILESDIR}/${PV}-ipg-linux-2.6.patch #71756
+       epatch ${FILESDIR}/${PV}-syserror.patch
+       epatch ${FILESDIR}/${PV}-uclibc-no-ether_ntohost.patch
 
        # make iputils work with newer glibc snapshots
        epatch ${FILESDIR}/${P}-linux-udp-header.patch
@@ -57,9 +59,6 @@ src_unpack() {
        sed -i "s:-ll:-lfl -L${ROOT}/usr/lib ${LDFLAGS}:" setkey/Makefile || die "sed setkey failed"
 
        sed -i 's:yacc:bison -y:' libipsec/Makefile #59191
-
-       use uclibc && sed -e 's/sys_errlist\[errno\]/strerror(errno)/' -i ${S}/rdisc.c
-       use uclibc && epatch ${FILESDIR}/${PN}-20020927-no-ether_ntohost.patch
 }
 
 src_compile() {