net-libs/libnet: Clean up patches.
authorJeroen Roovers <jer@gentoo.org>
Sat, 2 Dec 2017 11:56:57 +0000 (12:56 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sat, 2 Dec 2017 11:59:56 +0000 (12:59 +0100)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

net-libs/libnet/files/libnet-1.0.2a-endian.patch [moved from net-libs/libnet/files/1.0.2a-endian.patch with 100% similarity]
net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch [moved from net-libs/libnet/files/libnet-gcc33-fix with 73% similarity]
net-libs/libnet/files/libnet-1.0.2a-slot.patch [moved from net-libs/libnet/files/1.0.2a-slot.patch with 100% similarity]
net-libs/libnet/libnet-1.0.2a-r5.ebuild

similarity index 73%
rename from net-libs/libnet/files/libnet-gcc33-fix
rename to net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch
index 6f711abc8ebf11a1fa32fbbb5b36d5673f74f3c9..c4f3ae92570526df6b0d279fe051a52597521f41 100644 (file)
@@ -1,5 +1,5 @@
---- Libnet-1.0.2a-orig/include/libnet.h        2001-02-07 00:19:25.000000000 +0100
-+++ Libnet-1.0.2a/include/libnet.h     2003-07-24 18:34:33.000000000 +0200
+--- a/include/libnet.h
++++ b/include/libnet.h
 @@ -84,8 +84,8 @@
  #define LIBNET_VERSION  "1.0.2a"
  
index babc5f8db28e65f52723db6ec0f32dd18bc74e68..cef3b46b4cf73c197f6c2bbdbbcdc20430a97b21 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
@@ -16,10 +16,10 @@ IUSE=""
 S=${WORKDIR}/Libnet-${PV}
 
 src_prepare() {
-       epatch "${FILESDIR}"/libnet-gcc33-fix \
-               "${FILESDIR}"/${PV}-slot.patch
+       epatch "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch \
+               "${FILESDIR}"/${PN}-1.0.2a-slot.patch
 
-       use arm && epatch "${FILESDIR}"/${PV}-endian.patch
+       use arm && epatch "${FILESDIR}"/${PN}-1.0.2a-endian.patch
 
        cd "${S}"
        mv libnet-config.in libnet-${SLOT}-config.in || die "moving libnet-config"