1 |
commit: cd4fe5605f7abf42d8c93566bc99b6f2e6bc0fba |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 20 09:04:16 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 20 09:04:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4fe560 |
7 |
|
8 |
net-analyzer/nodebrain: Add missing include (bug #637486). |
9 |
|
10 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
11 |
|
12 |
.../nodebrain/files/nodebrain-0.9.04-include.patch | 10 ++++++++++ |
13 |
...nodebrain-9999.ebuild => nodebrain-0.9.04-r1.ebuild} | 17 ++++++----------- |
14 |
net-analyzer/nodebrain/nodebrain-9999.ebuild | 5 +++-- |
15 |
3 files changed, 19 insertions(+), 13 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/nodebrain/files/nodebrain-0.9.04-include.patch b/net-analyzer/nodebrain/files/nodebrain-0.9.04-include.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..61d98a67337 |
20 |
--- /dev/null |
21 |
+++ b/net-analyzer/nodebrain/files/nodebrain-0.9.04-include.patch |
22 |
@@ -0,0 +1,10 @@ |
23 |
+--- a/lib/nbhash.c |
24 |
++++ b/lib/nbhash.c |
25 |
+@@ -81,6 +81,7 @@ |
26 |
+ */ |
27 |
+ #include <nb/nbi.h> |
28 |
+ #include <stddef.h> |
29 |
++#include <stdint.h> |
30 |
+ |
31 |
+ struct TYPE *typeHash; |
32 |
+ |
33 |
|
34 |
diff --git a/net-analyzer/nodebrain/nodebrain-9999.ebuild b/net-analyzer/nodebrain/nodebrain-0.9.04-r1.ebuild |
35 |
similarity index 82% |
36 |
copy from net-analyzer/nodebrain/nodebrain-9999.ebuild |
37 |
copy to net-analyzer/nodebrain/nodebrain-0.9.04-r1.ebuild |
38 |
index c27ee0d59ed..8c76a34f537 100644 |
39 |
--- a/net-analyzer/nodebrain/nodebrain-9999.ebuild |
40 |
+++ b/net-analyzer/nodebrain/nodebrain-0.9.04-r1.ebuild |
41 |
@@ -2,15 +2,15 @@ |
42 |
# Distributed under the terms of the GNU General Public License v2 |
43 |
|
44 |
EAPI=6 |
45 |
-inherit autotools eutils git-r3 |
46 |
+inherit eutils |
47 |
|
48 |
DESCRIPTION="Monitor and do event correlation" |
49 |
HOMEPAGE="http://nodebrain.sourceforge.net/" |
50 |
-EGIT_REPO_URI="https://github.com/trettevik/nodebrain-nb" |
51 |
+SRC_URI="mirror://sourceforge/nodebrain/nodebrain-${PV}.tar.gz" |
52 |
|
53 |
LICENSE="MIT" |
54 |
SLOT="0" |
55 |
-KEYWORDS="" |
56 |
+KEYWORDS="~amd64 ~ppc ~x86" |
57 |
IUSE="static-libs" |
58 |
|
59 |
CDEPEND=" |
60 |
@@ -29,14 +29,9 @@ RDEPEND=" |
61 |
" |
62 |
PATCHES=( |
63 |
"${FILESDIR}"/${PN}-0.8.14-include.patch |
64 |
+ "${FILESDIR}"/${PN}-0.9.04-include.patch |
65 |
) |
66 |
|
67 |
-src_prepare() { |
68 |
- default |
69 |
- |
70 |
- eautoreconf |
71 |
-} |
72 |
- |
73 |
src_configure() { |
74 |
econf \ |
75 |
$(use_enable static-libs static) \ |
76 |
@@ -46,7 +41,7 @@ src_configure() { |
77 |
src_install() { |
78 |
default |
79 |
|
80 |
- dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/ |
81 |
- |
82 |
prune_libtool_files |
83 |
+ |
84 |
+ dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/ |
85 |
} |
86 |
|
87 |
diff --git a/net-analyzer/nodebrain/nodebrain-9999.ebuild b/net-analyzer/nodebrain/nodebrain-9999.ebuild |
88 |
index c27ee0d59ed..36adf58b091 100644 |
89 |
--- a/net-analyzer/nodebrain/nodebrain-9999.ebuild |
90 |
+++ b/net-analyzer/nodebrain/nodebrain-9999.ebuild |
91 |
@@ -29,6 +29,7 @@ RDEPEND=" |
92 |
" |
93 |
PATCHES=( |
94 |
"${FILESDIR}"/${PN}-0.8.14-include.patch |
95 |
+ "${FILESDIR}"/${PN}-0.9.04-include.patch |
96 |
) |
97 |
|
98 |
src_prepare() { |
99 |
@@ -46,7 +47,7 @@ src_configure() { |
100 |
src_install() { |
101 |
default |
102 |
|
103 |
- dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/ |
104 |
- |
105 |
prune_libtool_files |
106 |
+ |
107 |
+ dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/ |
108 |
} |