From c0fde423170dd5b7283b28252f035ba7b125ca4a Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Fri, 8 Oct 2004 09:30:28 +0000 Subject: Unbreak the build by making GCC feel better. Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit) --- net-mgmt/mbrowse/Makefile | 8 +------- net-mgmt/mbrowse/files/patch-src+snmpstuff.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 net-mgmt/mbrowse/files/patch-src+snmpstuff.c (limited to 'net-mgmt/mbrowse') diff --git a/net-mgmt/mbrowse/Makefile b/net-mgmt/mbrowse/Makefile index e31696929beb..c77e12e9e81d 100644 --- a/net-mgmt/mbrowse/Makefile +++ b/net-mgmt/mbrowse/Makefile @@ -33,10 +33,4 @@ CONFIGURE_ENV+= LDFLAGS="`net-snmp-config --libs`" \ CONFIGURE_ARGS+= --with-snmp-type=net .endif -.include - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.include +.include diff --git a/net-mgmt/mbrowse/files/patch-src+snmpstuff.c b/net-mgmt/mbrowse/files/patch-src+snmpstuff.c new file mode 100644 index 000000000000..fcc675af530f --- /dev/null +++ b/net-mgmt/mbrowse/files/patch-src+snmpstuff.c @@ -0,0 +1,11 @@ +--- src/snmpstuff.c.orig Fri Oct 8 14:07:16 2004 ++++ src/snmpstuff.c Fri Oct 8 14:08:08 2004 +@@ -359,7 +359,7 @@ + case TYPE_NSAPADDRESS: + case TYPE_NETADDR: + case TYPE_OTHER: +- default: ++ default: ; + } + } + if (type == 0) { -- cgit v1.2.3