summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-11-22 17:18:09 +0000
committerEldad Zack <eldad@gentoo.org>2004-11-22 17:18:09 +0000
commit2346da0ca0d8521df9159836d21ef576a3553d76 (patch)
treea297f78bb572e525b7078aa8dbf3a67f932fadbb /net-analyzer/nettop
parentAdded ~ppc64 to KEYWORDS; bug #70096 (diff)
downloadgentoo-2-2346da0ca0d8521df9159836d21ef576a3553d76.tar.gz
gentoo-2-2346da0ca0d8521df9159836d21ef576a3553d76.tar.bz2
gentoo-2-2346da0ca0d8521df9159836d21ef576a3553d76.zip
Added patch to fix 'label at end of compound statement' compile error
Diffstat (limited to 'net-analyzer/nettop')
-rw-r--r--net-analyzer/nettop/ChangeLog7
-rw-r--r--net-analyzer/nettop/files/nettop.c.patch10
-rw-r--r--net-analyzer/nettop/nettop-0.2.3.ebuild8
3 files changed, 22 insertions, 3 deletions
diff --git a/net-analyzer/nettop/ChangeLog b/net-analyzer/nettop/ChangeLog
index 619e9f6391db..617b192dc6de 100644
--- a/net-analyzer/nettop/ChangeLog
+++ b/net-analyzer/nettop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/nettop
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nettop/ChangeLog,v 1.7 2004/11/22 17:09:31 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nettop/ChangeLog,v 1.8 2004/11/22 17:18:09 eldad Exp $
+
+ 22 Nov 2004; Eldad Zack <eldad@gentoo.org> +files/nettop.c.patch,
+ nettop-0.2.3.ebuild:
+ Added patch to fix 'label at end of compound statement' compile error. Thanks
+ to Peter Gantner <peter.gantner@stud.uni-graz.at>. Closes #72066.
22 Nov 2004; Eldad Zack <eldad@gentoo.org> nettop-0.2.3.ebuild:
die if emake fails.
diff --git a/net-analyzer/nettop/files/nettop.c.patch b/net-analyzer/nettop/files/nettop.c.patch
new file mode 100644
index 000000000000..647f8a430edd
--- /dev/null
+++ b/net-analyzer/nettop/files/nettop.c.patch
@@ -0,0 +1,10 @@
+--- nettop.c.orig 2004-11-22 19:06:23.648845592 +0200
++++ nettop.c 2004-11-22 19:06:38.166638552 +0200
+@@ -361,6 +361,7 @@
+ }
+ break;
+ default:
++ break;
+ }
+ }
+ }
diff --git a/net-analyzer/nettop/nettop-0.2.3.ebuild b/net-analyzer/nettop/nettop-0.2.3.ebuild
index 6314b14593fe..dad873f06ff5 100644
--- a/net-analyzer/nettop/nettop-0.2.3.ebuild
+++ b/net-analyzer/nettop/nettop-0.2.3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nettop/nettop-0.2.3.ebuild,v 1.7 2004/11/22 17:09:31 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nettop/nettop-0.2.3.ebuild,v 1.8 2004/11/22 17:18:09 eldad Exp $
+
+inherit eutils
IUSE=""
@@ -17,6 +19,8 @@ DEPEND="sys-libs/slang
src_compile() {
+ epatch ${FILESDIR}/nettop.c.patch
+
local myconf
myconf="--prefix=/usr"
./configure ${myconf} || die
@@ -24,6 +28,6 @@ src_compile() {
}
src_install() {
- dosbin nettop
+ dosbin nettop || die
dodoc ChangeLog README THANKS
}