aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-02 02:12:57 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-02 02:12:57 +0800
commit55c16c26e14d00fb90d6fea9117b98c79e6ad6a6 (patch)
treee938c166550f11ce0cb05f072aa26dccf4606397 /net
parentc738e9c1d871da94f3515720a7034d9e84cabd44 (diff)
downloadfreebsd-ports-graphics-55c16c26e14d00fb90d6fea9117b98c79e6ad6a6.tar.gz
freebsd-ports-graphics-55c16c26e14d00fb90d6fea9117b98c79e6ad6a6.tar.zst
freebsd-ports-graphics-55c16c26e14d00fb90d6fea9117b98c79e6ad6a6.zip
Fix build and runtime with GNOME 2.14.
Diffstat (limited to 'net')
-rw-r--r--net/link-monitor-applet/Makefile4
-rw-r--r--net/link-monitor-applet/files/patch-src_lm-util.c12
2 files changed, 14 insertions, 2 deletions
diff --git a/net/link-monitor-applet/Makefile b/net/link-monitor-applet/Makefile
index acbcb4eb551..e7230039434 100644
--- a/net/link-monitor-applet/Makefile
+++ b/net/link-monitor-applet/Makefile
@@ -7,7 +7,7 @@
PORTNAME= link-monitor-applet
PORTVERSION= 1.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= link-monitor
@@ -20,7 +20,7 @@ USE_GNOME= gnomehack gnomeprefix gnomepanel eel2
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib -Wl,-export-dynamic"
GCONF_SCHEMAS= link-monitor-applet.schemas
INSTALLS_OMF= yes
diff --git a/net/link-monitor-applet/files/patch-src_lm-util.c b/net/link-monitor-applet/files/patch-src_lm-util.c
new file mode 100644
index 00000000000..4b3ae63c1ce
--- /dev/null
+++ b/net/link-monitor-applet/files/patch-src_lm-util.c
@@ -0,0 +1,12 @@
+--- src/lm-util.c.orig Mon May 1 20:09:04 2006
++++ src/lm-util.c Mon May 1 20:09:10 2006
+@@ -273,8 +273,7 @@
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_OK,
+ primary,
+- secondary,
+- NULL);
++ secondary);
+
+ if (blocking)
+ {