svn commit: r550864 - in head/net-mgmt/mbrowse: . files

Stefan Eßer se at FreeBSD.org
Thu Oct 1 18:52:38 UTC 2020


Author: se
Date: Thu Oct  1 18:52:37 2020
New Revision: 550864
URL: https://svnweb.freebsd.org/changeset/ports/550864

Log:
  Fix build with -fno-common

Added:
  head/net-mgmt/mbrowse/files/
  head/net-mgmt/mbrowse/files/patch-src_callbacks.c   (contents, props changed)
Modified:
  head/net-mgmt/mbrowse/Makefile

Modified: head/net-mgmt/mbrowse/Makefile
==============================================================================
--- head/net-mgmt/mbrowse/Makefile	Thu Oct  1 18:45:53 2020	(r550863)
+++ head/net-mgmt/mbrowse/Makefile	Thu Oct  1 18:52:37 2020	(r550864)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mbrowse
 PORTVERSION=	0.4.3
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
 
@@ -11,14 +12,20 @@ COMMENT=	SNMP MIB Browser for X
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp
+LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libpkg.so:ports-mgmt/pkg
 
+USES=		gnome pkgconfig ssl
+USE_GNOME=	cairo gdkpixbuf2 gtk20
 GNU_CONFIGURE=	yes
-PLIST_FILES=	bin/mbrowse
-USES=		gnome pkgconfig
-USE_GNOME=	gtk20
+
 CONFIGURE_ARGS=	--with-snmp-prefix=${PREFIX} --with-snmp-type=net
+
 CPPFLAGS+=	`net-snmp-config --cflags`
 LDFLAGS+=	`net-snmp-config --libs`
+
+PLIST_FILES=	bin/mbrowse
 
 .include <bsd.port.mk>

Added: head/net-mgmt/mbrowse/files/patch-src_callbacks.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/mbrowse/files/patch-src_callbacks.c	Thu Oct  1 18:52:37 2020	(r550864)
@@ -0,0 +1,11 @@
+--- src/callbacks.c.orig	2010-11-16 10:20:23 UTC
++++ src/callbacks.c
+@@ -28,7 +28,7 @@ extern int delete;
+ extern int context_id;
+ extern int tview;
+ 
+-struct menu_items bookmark_items[128];
++extern struct menu_items bookmark_items[128];
+ extern int dont_select_damnit;
+ extern int dont_update_entry;
+ static struct tree *mibtree;


More information about the svn-ports-head mailing list