summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-09-04 23:35:55 +0000
committerJon Hood <squinky86@gentoo.org>2004-09-04 23:35:55 +0000
commitf964fa7efb96b75031094b9509b726ea03717429 (patch)
treec9bf0a3eb9d66802d9f4b049b74987168e0dc482 /net-analyzer/mbrowse
parentInitial import, see bug #58543 (Manifest recommit) (diff)
downloadgentoo-2-f964fa7efb96b75031094b9509b726ea03717429.tar.gz
gentoo-2-f964fa7efb96b75031094b9509b726ea03717429.tar.bz2
gentoo-2-f964fa7efb96b75031094b9509b726ea03717429.zip
fix from bug #62751 and addition of gcc-3.4 patch
Diffstat (limited to 'net-analyzer/mbrowse')
-rw-r--r--net-analyzer/mbrowse/ChangeLog8
-rw-r--r--net-analyzer/mbrowse/files/0.3.1-gentoo.patch23
-rw-r--r--net-analyzer/mbrowse/mbrowse-0.3.1.ebuild10
3 files changed, 39 insertions, 2 deletions
diff --git a/net-analyzer/mbrowse/ChangeLog b/net-analyzer/mbrowse/ChangeLog
index b7ed023123ac..934aff9cc661 100644
--- a/net-analyzer/mbrowse/ChangeLog
+++ b/net-analyzer/mbrowse/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/mbrowse
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mbrowse/ChangeLog,v 1.3 2004/07/10 11:49:48 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mbrowse/ChangeLog,v 1.4 2004/09/04 23:35:55 squinky86 Exp $
+
+ 04 Sep 2004; Jon Hood <squinky86@gentoo.org> +files/0.3.1-gentoo.patch,
+ mbrowse-0.3.1.ebuild:
+ Applying fixes from Ron Flory <ron.flory@adtran.com> and kevin brown
+ <kevin.brown@air2web.com> irt #62751 and mbrowse mailing list archives. Apply
+ gcc-3.4 patch from myself.
10 Jul 2004; Eldad Zack <eldad@gentoo.org> mbrowse-0.3.1.ebuild:
Tidy, x86 stable
diff --git a/net-analyzer/mbrowse/files/0.3.1-gentoo.patch b/net-analyzer/mbrowse/files/0.3.1-gentoo.patch
new file mode 100644
index 000000000000..e114156ba15a
--- /dev/null
+++ b/net-analyzer/mbrowse/files/0.3.1-gentoo.patch
@@ -0,0 +1,23 @@
+diff -Naur mbrowse-0.3.1.vanilla/configure mbrowse-0.3.1/configure
+--- mbrowse-0.3.1.vanilla/configure 2003-03-12 10:37:41.000000000 -0600
++++ mbrowse-0.3.1/configure 2004-09-04 18:29:43.771221872 -0500
+@@ -4699,7 +4699,7 @@
+ }
+
+ #ifdef HAVE_NETSNMP
+- version2 = strdup( NetSnmpVersionInfo );
++ version2 = strdup( netsnmp_get_version() );
+ #else
+ version2 = strdup( VersionInfo);
+ #endif
+diff -Naur mbrowse-0.3.1.vanilla/src/snmpstuff.c mbrowse-0.3.1/src/snmpstuff.c
+--- mbrowse-0.3.1.vanilla/src/snmpstuff.c 2002-06-21 06:45:18.000000000 -0500
++++ mbrowse-0.3.1/src/snmpstuff.c 2004-09-04 18:30:35.136413176 -0500
+@@ -360,6 +360,7 @@
+ case TYPE_NETADDR:
+ case TYPE_OTHER:
+ default:
++ {}
+ }
+ }
+ if (type == 0) {
diff --git a/net-analyzer/mbrowse/mbrowse-0.3.1.ebuild b/net-analyzer/mbrowse/mbrowse-0.3.1.ebuild
index a72a676e97c3..8586b7282f31 100644
--- a/net-analyzer/mbrowse/mbrowse-0.3.1.ebuild
+++ b/net-analyzer/mbrowse/mbrowse-0.3.1.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/mbrowse/mbrowse-0.3.1.ebuild,v 1.3 2004/07/10 11:49:48 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mbrowse/mbrowse-0.3.1.ebuild,v 1.4 2004/09/04 23:35:55 squinky86 Exp $
+
+inherit eutils
DESCRIPTION="MBrowse is a graphical MIB browser"
HOMEPAGE="http://www.kill-9.org/mbrowse/index.html"
@@ -14,6 +16,12 @@ IUSE=""
DEPEND="virtual/snmp
>=x11-libs/gtk+-1.2.10"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/0.3.1-gentoo.patch
+}
+
src_compile() {
./configure \
--host=${CHOST} \