Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/files/, net-libs/libnet/
Date: Sat, 02 Dec 2017 12:00:15
Message-Id: 1512215996.6886f9b98158264ceb539805cbe749a4acf964f0.jer@gentoo
1 commit: 6886f9b98158264ceb539805cbe749a4acf964f0
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 2 11:56:57 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 2 11:59:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6886f9b9
7
8 net-libs/libnet: Clean up patches.
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 .../files/{1.0.2a-endian.patch => libnet-1.0.2a-endian.patch} | 0
13 .../files/{libnet-gcc33-fix => libnet-1.0.2a-gcc33-fix.patch} | 4 ++--
14 .../libnet/files/{1.0.2a-slot.patch => libnet-1.0.2a-slot.patch} | 0
15 net-libs/libnet/libnet-1.0.2a-r5.ebuild | 8 ++++----
16 4 files changed, 6 insertions(+), 6 deletions(-)
17
18 diff --git a/net-libs/libnet/files/1.0.2a-endian.patch b/net-libs/libnet/files/libnet-1.0.2a-endian.patch
19 similarity index 100%
20 rename from net-libs/libnet/files/1.0.2a-endian.patch
21 rename to net-libs/libnet/files/libnet-1.0.2a-endian.patch
22
23 diff --git a/net-libs/libnet/files/libnet-gcc33-fix b/net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch
24 similarity index 73%
25 rename from net-libs/libnet/files/libnet-gcc33-fix
26 rename to net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch
27 index 6f711abc8eb..c4f3ae92570 100644
28 --- a/net-libs/libnet/files/libnet-gcc33-fix
29 +++ b/net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch
30 @@ -1,5 +1,5 @@
31 ---- Libnet-1.0.2a-orig/include/libnet.h 2001-02-07 00:19:25.000000000 +0100
32 -+++ Libnet-1.0.2a/include/libnet.h 2003-07-24 18:34:33.000000000 +0200
33 +--- a/include/libnet.h
34 ++++ b/include/libnet.h
35 @@ -84,8 +84,8 @@
36 #define LIBNET_VERSION "1.0.2a"
37
38
39 diff --git a/net-libs/libnet/files/1.0.2a-slot.patch b/net-libs/libnet/files/libnet-1.0.2a-slot.patch
40 similarity index 100%
41 rename from net-libs/libnet/files/1.0.2a-slot.patch
42 rename to net-libs/libnet/files/libnet-1.0.2a-slot.patch
43
44 diff --git a/net-libs/libnet/libnet-1.0.2a-r5.ebuild b/net-libs/libnet/libnet-1.0.2a-r5.ebuild
45 index babc5f8db28..cef3b46b4cf 100644
46 --- a/net-libs/libnet/libnet-1.0.2a-r5.ebuild
47 +++ b/net-libs/libnet/libnet-1.0.2a-r5.ebuild
48 @@ -1,4 +1,4 @@
49 -# Copyright 1999-2013 Gentoo Foundation
50 +# Copyright 1999-2017 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52
53 EAPI=4
54 @@ -16,10 +16,10 @@ IUSE=""
55 S=${WORKDIR}/Libnet-${PV}
56
57 src_prepare() {
58 - epatch "${FILESDIR}"/libnet-gcc33-fix \
59 - "${FILESDIR}"/${PV}-slot.patch
60 + epatch "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch \
61 + "${FILESDIR}"/${PN}-1.0.2a-slot.patch
62
63 - use arm && epatch "${FILESDIR}"/${PV}-endian.patch
64 + use arm && epatch "${FILESDIR}"/${PN}-1.0.2a-endian.patch
65
66 cd "${S}"
67 mv libnet-config.in libnet-${SLOT}-config.in || die "moving libnet-config"