1 |
commit: abf7aee2653fec182ad215fd2738f49c6df5d695 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 12 20:00:08 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 12 20:00:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abf7aee2 |
7 |
|
8 |
net-analyzer/tcpreen: Fix some compiler warnings. |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
.../tcpreen/files/tcpreen-1.4.4-literal-suffix.patch | 13 +++++++++++++ |
13 |
net-analyzer/tcpreen/tcpreen-1.4.4.ebuild | 13 ++++++++----- |
14 |
2 files changed, 21 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/tcpreen/files/tcpreen-1.4.4-literal-suffix.patch b/net-analyzer/tcpreen/files/tcpreen-1.4.4-literal-suffix.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..1808a54f887 |
19 |
--- /dev/null |
20 |
+++ b/net-analyzer/tcpreen/files/tcpreen-1.4.4-literal-suffix.patch |
21 |
@@ -0,0 +1,13 @@ |
22 |
+--- a/src/main.cpp |
23 |
++++ b/src/main.cpp |
24 |
+@@ -108,8 +108,8 @@ |
25 |
+ # define VERSION "unknown version" |
26 |
+ #endif |
27 |
+ puts ( |
28 |
+-"TCP re-engineering tool "VERSION" ("PACKAGE_HOST")\n" |
29 |
+-" built "__DATE__" on "PACKAGE_BUILD_HOSTNAME" ("PACKAGE_BUILD")\n" |
30 |
++"TCP re-engineering tool " VERSION " (" PACKAGE_HOST ")\n" |
31 |
++" built " __DATE__ " on " PACKAGE_BUILD_HOSTNAME " (" PACKAGE_BUILD ")\n" |
32 |
+ "Copyright (C) 2002-2004 Remi Denis-Courmont"); |
33 |
+ puts (_( |
34 |
+ "This is free software; see the source for copying conditions.\n" |
35 |
|
36 |
diff --git a/net-analyzer/tcpreen/tcpreen-1.4.4.ebuild b/net-analyzer/tcpreen/tcpreen-1.4.4.ebuild |
37 |
index a2cc20e37a9..4a5d1fc1165 100644 |
38 |
--- a/net-analyzer/tcpreen/tcpreen-1.4.4.ebuild |
39 |
+++ b/net-analyzer/tcpreen/tcpreen-1.4.4.ebuild |
40 |
@@ -1,7 +1,7 @@ |
41 |
-# Copyright 1999-2017 Gentoo Foundation |
42 |
+# Copyright 1999-2018 Gentoo Foundation |
43 |
# Distributed under the terms of the GNU General Public License v2 |
44 |
|
45 |
-EAPI=5 |
46 |
+EAPI=6 |
47 |
inherit toolchain-funcs |
48 |
|
49 |
DESCRIPTION="TCP network re-engineering tool" |
50 |
@@ -12,10 +12,13 @@ LICENSE="GPL-2" |
51 |
SLOT="0" |
52 |
KEYWORDS="amd64 ~ppc x86" |
53 |
IUSE="nls" |
54 |
- |
55 |
-DEPEND="nls? ( sys-devel/gettext )" |
56 |
- |
57 |
+DEPEND=" |
58 |
+ nls? ( sys-devel/gettext ) |
59 |
+" |
60 |
DOCS=( AUTHORS NEWS README THANKS TODO ) |
61 |
+PATCHES=( |
62 |
+ "${FILESDIR}"/${P}-literal-suffix.patch |
63 |
+) |
64 |
|
65 |
src_configure() { |
66 |
econf $(use_enable nls) |