Added patch to fix 'label at end of compound statement' compile error
authorEldad Zack <eldad@gentoo.org>
Mon, 22 Nov 2004 17:18:09 +0000 (17:18 +0000)
committerEldad Zack <eldad@gentoo.org>
Mon, 22 Nov 2004 17:18:09 +0000 (17:18 +0000)
net-analyzer/nettop/ChangeLog
net-analyzer/nettop/Manifest
net-analyzer/nettop/files/nettop.c.patch [new file with mode: 0644]
net-analyzer/nettop/nettop-0.2.3.ebuild

index 619e9f6391dbc75482b1b7f589dbb08859b91059..617b192dc6dec84e6b683b8d9e2cb8962d94130f 100644 (file)
@@ -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.
index 88fc41d6f8800736fe31832582a38959a6690060..f190856f84f1fde455b90e15303bac7ba2b89320 100644 (file)
@@ -1,14 +1,15 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 f7d0b0befc66e01c7fbf47502ceaa26c nettop-0.2.3.ebuild 637
-MD5 2c0099a665fdb9d02f60b5d7cb0320e4 ChangeLog 825
+MD5 bc939cf1fd6cdb9e2d5b48376cb693f5 nettop-0.2.3.ebuild 696
+MD5 5f5936afc59ab3f955e56c77d7364f4a ChangeLog 1065
 MD5 59fafa99faf187e744c602a625052f65 metadata.xml 232
+MD5 523f340b61566f16b1a8fcb9343e0f6e files/nettop.c.patch 182
 MD5 d1dfb4623376711f1542dc52dcb85a7c files/digest-nettop-0.2.3 63
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBohv/T+MN7JbqCpMRAm2qAKCIiZP64NLtgzP8q0dXV9DltLsusQCdEn15
-fjnx2fFxaNYGWycGI39ZC+M=
-=f2Ca
+iD8DBQFBoh4XT+MN7JbqCpMRAm5/AJ9zJDQMUR8yzNlVNJbOIf9/eeHRpgCghmYX
+hoaxqrZxm8VDV99BzBWEkOw=
+=Lunm
 -----END PGP SIGNATURE-----
diff --git a/net-analyzer/nettop/files/nettop.c.patch b/net-analyzer/nettop/files/nettop.c.patch
new file mode 100644 (file)
index 0000000..647f8a4
--- /dev/null
@@ -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;
+                       }
+               }
+       }
index 6314b14593feda161ee2ad26c43ea7525627e626..dad873f06ff5a33f5aa36719d6be7ea2698e6fe4 100644 (file)
@@ -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
 }