Date: Thu, 1 Oct 2020 18:52:37 +0000 (UTC) From: =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550864 - in head/net-mgmt/mbrowse: . files Message-ID: <202010011852.091Iqb6U018372@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010011852.091Iqb6U018372>