diff options
author | danfe <danfe@FreeBSD.org> | 2004-10-08 09:30:28 +0000 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2004-10-08 09:30:28 +0000 |
commit | fba86e7ae0612efa7bf81ef1fa09d4dd2d096a77 (patch) | |
tree | 1fe8c952362b2655b5389dac77dcecced3dc8a17 | |
parent | fe0c7630784a2bc8cadcb175400631414070d4ef (diff) | |
download | FreeBSD-ports-fba86e7ae0612efa7bf81ef1fa09d4dd2d096a77.zip FreeBSD-ports-fba86e7ae0612efa7bf81ef1fa09d4dd2d096a77.tar.gz |
Unbreak the build by making GCC feel better.
Reported by: kris
Approved by: portmgr (krion), fjoe (mentor, implicit)
-rw-r--r-- | net-mgmt/mbrowse/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/mbrowse/files/patch-src+snmpstuff.c | 11 |
2 files changed, 12 insertions, 7 deletions
diff --git a/net-mgmt/mbrowse/Makefile b/net-mgmt/mbrowse/Makefile index e316969..c77e12e 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 <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> 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 0000000..fcc675a --- /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) { |