summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-12-02 12:56:57 +0100
committerJeroen Roovers <jer@gentoo.org>2017-12-02 12:59:56 +0100
commit6886f9b98158264ceb539805cbe749a4acf964f0 (patch)
treea19443d113e4e1da477dae1826aa9ea9b7057bb1 /net-libs/libnet
parentnet-libs/libnet: Old. (diff)
downloadgentoo-6886f9b98158264ceb539805cbe749a4acf964f0.tar.gz
gentoo-6886f9b98158264ceb539805cbe749a4acf964f0.tar.bz2
gentoo-6886f9b98158264ceb539805cbe749a4acf964f0.zip
net-libs/libnet: Clean up patches.
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'net-libs/libnet')
-rw-r--r--net-libs/libnet/files/libnet-1.0.2a-endian.patch (renamed from net-libs/libnet/files/1.0.2a-endian.patch)0
-rw-r--r--net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch (renamed from net-libs/libnet/files/libnet-gcc33-fix)4
-rw-r--r--net-libs/libnet/files/libnet-1.0.2a-slot.patch (renamed from net-libs/libnet/files/1.0.2a-slot.patch)0
-rw-r--r--net-libs/libnet/libnet-1.0.2a-r5.ebuild8
4 files changed, 6 insertions, 6 deletions
diff --git a/net-libs/libnet/files/1.0.2a-endian.patch b/net-libs/libnet/files/libnet-1.0.2a-endian.patch
index aad0bacb2f2e..aad0bacb2f2e 100644
--- a/net-libs/libnet/files/1.0.2a-endian.patch
+++ b/net-libs/libnet/files/libnet-1.0.2a-endian.patch
diff --git a/net-libs/libnet/files/libnet-gcc33-fix b/net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch
index 6f711abc8ebf..c4f3ae925705 100644
--- a/net-libs/libnet/files/libnet-gcc33-fix
+++ b/net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch
@@ -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"
diff --git a/net-libs/libnet/files/1.0.2a-slot.patch b/net-libs/libnet/files/libnet-1.0.2a-slot.patch
index bcc0d56113f5..bcc0d56113f5 100644
--- a/net-libs/libnet/files/1.0.2a-slot.patch
+++ b/net-libs/libnet/files/libnet-1.0.2a-slot.patch
diff --git a/net-libs/libnet/libnet-1.0.2a-r5.ebuild b/net-libs/libnet/libnet-1.0.2a-r5.ebuild
index babc5f8db28e..cef3b46b4cf7 100644
--- a/net-libs/libnet/libnet-1.0.2a-r5.ebuild
+++ b/net-libs/libnet/libnet-1.0.2a-r5.ebuild
@@ -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"