commit:     cd4fe5605f7abf42d8c93566bc99b6f2e6bc0fba
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 09:04:16 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Nov 20 09:04:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4fe560

net-analyzer/nodebrain: Add missing include (bug #637486).

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 .../nodebrain/files/nodebrain-0.9.04-include.patch      | 10 ++++++++++
 ...nodebrain-9999.ebuild => nodebrain-0.9.04-r1.ebuild} | 17 ++++++-----------
 net-analyzer/nodebrain/nodebrain-9999.ebuild            |  5 +++--
 3 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/net-analyzer/nodebrain/files/nodebrain-0.9.04-include.patch 
b/net-analyzer/nodebrain/files/nodebrain-0.9.04-include.patch
new file mode 100644
index 00000000000..61d98a67337
--- /dev/null
+++ b/net-analyzer/nodebrain/files/nodebrain-0.9.04-include.patch
@@ -0,0 +1,10 @@
+--- a/lib/nbhash.c
++++ b/lib/nbhash.c
+@@ -81,6 +81,7 @@
+ */
+ #include <nb/nbi.h>
+ #include <stddef.h>
++#include <stdint.h>
+ 
+ struct TYPE *typeHash;
+ 

diff --git a/net-analyzer/nodebrain/nodebrain-9999.ebuild 
b/net-analyzer/nodebrain/nodebrain-0.9.04-r1.ebuild
similarity index 82%
copy from net-analyzer/nodebrain/nodebrain-9999.ebuild
copy to net-analyzer/nodebrain/nodebrain-0.9.04-r1.ebuild
index c27ee0d59ed..8c76a34f537 100644
--- a/net-analyzer/nodebrain/nodebrain-9999.ebuild
+++ b/net-analyzer/nodebrain/nodebrain-0.9.04-r1.ebuild
@@ -2,15 +2,15 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit autotools eutils git-r3
+inherit eutils
 
 DESCRIPTION="Monitor and do event correlation"
 HOMEPAGE="http://nodebrain.sourceforge.net/";
-EGIT_REPO_URI="https://github.com/trettevik/nodebrain-nb";
+SRC_URI="mirror://sourceforge/nodebrain/nodebrain-${PV}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="static-libs"
 
 CDEPEND="
@@ -29,14 +29,9 @@ RDEPEND="
 "
 PATCHES=(
        "${FILESDIR}"/${PN}-0.8.14-include.patch
+       "${FILESDIR}"/${PN}-0.9.04-include.patch
 )
 
-src_prepare() {
-       default
-
-       eautoreconf
-}
-
 src_configure() {
        econf \
                $(use_enable static-libs static) \
@@ -46,7 +41,7 @@ src_configure() {
 src_install() {
        default
 
-       dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/
-
        prune_libtool_files
+
+       dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/
 }

diff --git a/net-analyzer/nodebrain/nodebrain-9999.ebuild 
b/net-analyzer/nodebrain/nodebrain-9999.ebuild
index c27ee0d59ed..36adf58b091 100644
--- a/net-analyzer/nodebrain/nodebrain-9999.ebuild
+++ b/net-analyzer/nodebrain/nodebrain-9999.ebuild
@@ -29,6 +29,7 @@ RDEPEND="
 "
 PATCHES=(
        "${FILESDIR}"/${PN}-0.8.14-include.patch
+       "${FILESDIR}"/${PN}-0.9.04-include.patch
 )
 
 src_prepare() {
@@ -46,7 +47,7 @@ src_configure() {
 src_install() {
        default
 
-       dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/
-
        prune_libtool_files
+
+       dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/
 }

Reply via email to