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-analyzer/ipsumdump/, net-analyzer/ipsumdump/files/
Date: Tue, 20 Aug 2019 07:51:10
Message-Id: 1566287432.569015025d09f245f150051fc003e76ac5332be4.jer@gentoo
1 commit: 569015025d09f245f150051fc003e76ac5332be4
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 20 07:49:16 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 20 07:50:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56901502
7
8 net-analyzer/ipsumdump: Fix includes, set OS headers dependency
9
10 Package-Manager: Portage-2.3.72, Repoman-2.3.17
11 Fixes: https://bugs.gentoo.org/692550
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 net-analyzer/ipsumdump/files/ipsumdump-1.86-SIOCGSTAMP.patch | 10 ++++++++++
15 .../{ipsumdump-1.86.ebuild => ipsumdump-1.86-r1.ebuild} | 8 ++++++--
16 net-analyzer/ipsumdump/ipsumdump-1.86.ebuild | 3 ++-
17 3 files changed, 18 insertions(+), 3 deletions(-)
18
19 diff --git a/net-analyzer/ipsumdump/files/ipsumdump-1.86-SIOCGSTAMP.patch b/net-analyzer/ipsumdump/files/ipsumdump-1.86-SIOCGSTAMP.patch
20 new file mode 100644
21 index 00000000000..c2f0a74fff1
22 --- /dev/null
23 +++ b/net-analyzer/ipsumdump/files/ipsumdump-1.86-SIOCGSTAMP.patch
24 @@ -0,0 +1,10 @@
25 +--- a/src/fromdevice.cc
26 ++++ b/src/fromdevice.cc
27 +@@ -47,6 +47,7 @@
28 +
29 + #if FROMDEVICE_ALLOW_LINUX
30 + # include <sys/socket.h>
31 ++# include <linux/sockios.h>
32 + # include <net/if.h>
33 + # include <features.h>
34 + # include <linux/if_packet.h>
35
36 diff --git a/net-analyzer/ipsumdump/ipsumdump-1.86.ebuild b/net-analyzer/ipsumdump/ipsumdump-1.86-r1.ebuild
37 similarity index 81%
38 copy from net-analyzer/ipsumdump/ipsumdump-1.86.ebuild
39 copy to net-analyzer/ipsumdump/ipsumdump-1.86-r1.ebuild
40 index 182f6ec8e8f..25325a3484d 100644
41 --- a/net-analyzer/ipsumdump/ipsumdump-1.86.ebuild
42 +++ b/net-analyzer/ipsumdump/ipsumdump-1.86-r1.ebuild
43 @@ -1,7 +1,7 @@
44 -# Copyright 1999-2018 Gentoo Foundation
45 +# Copyright 1999-2019 Gentoo Authors
46 # Distributed under the terms of the GNU General Public License v2
47
48 -EAPI=6
49 +EAPI=7
50
51 DESCRIPTION="Simple TCP/IP Dump summarizer/analyzer"
52 HOMEPAGE="http://read.seas.harvard.edu/~kohler/ipsumdump/"
53 @@ -20,11 +20,15 @@ DEPEND="
54 dev-lang/perl
55 dev-libs/expat
56 sys-apps/texinfo
57 + virtual/os-headers
58 "
59 DOCS=(
60 NEWS.md
61 README.md
62 )
63 +PATCHES=(
64 + "${FILESDIR}"/${PN}-1.86-SIOCGSTAMP.patch
65 +)
66
67 src_configure() {
68 econf \
69
70 diff --git a/net-analyzer/ipsumdump/ipsumdump-1.86.ebuild b/net-analyzer/ipsumdump/ipsumdump-1.86.ebuild
71 index 182f6ec8e8f..784df50ece5 100644
72 --- a/net-analyzer/ipsumdump/ipsumdump-1.86.ebuild
73 +++ b/net-analyzer/ipsumdump/ipsumdump-1.86.ebuild
74 @@ -1,4 +1,4 @@
75 -# Copyright 1999-2018 Gentoo Foundation
76 +# Copyright 1999-2019 Gentoo Authors
77 # Distributed under the terms of the GNU General Public License v2
78
79 EAPI=6
80 @@ -20,6 +20,7 @@ DEPEND="
81 dev-lang/perl
82 dev-libs/expat
83 sys-apps/texinfo
84 + virtual/os-headers
85 "
86 DOCS=(
87 NEWS.md