summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-08-05 23:13:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-08-05 23:13:58 +0000
commit2b04b9040ca625a9671023bff98a4691c0606a8b (patch)
tree54ee439bf75b9a7f27aeb55ade7476637c401e99 /xfce-extra/xfce4-cellmodem-plugin/files
parentUse xfconf_use_debug and --disable-static. (diff)
downloadgentoo-2-2b04b9040ca625a9671023bff98a4691c0606a8b.tar.gz
gentoo-2-2b04b9040ca625a9671023bff98a4691c0606a8b.tar.bz2
gentoo-2-2b04b9040ca625a9671023bff98a4691c0606a8b.zip
Fix linking with xfce4-panel >= 4.7.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'xfce-extra/xfce4-cellmodem-plugin/files')
-rw-r--r--xfce-extra/xfce4-cellmodem-plugin/files/xfce4-cellmodem-plugin-0.0.5-link_for_xfce_warn.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-cellmodem-plugin/files/xfce4-cellmodem-plugin-0.0.5-link_for_xfce_warn.patch b/xfce-extra/xfce4-cellmodem-plugin/files/xfce4-cellmodem-plugin-0.0.5-link_for_xfce_warn.patch
new file mode 100644
index 000000000000..af945f191934
--- /dev/null
+++ b/xfce-extra/xfce4-cellmodem-plugin/files/xfce4-cellmodem-plugin-0.0.5-link_for_xfce_warn.patch
@@ -0,0 +1,31 @@
+xfce4_cellmodem_plugin-pin_helper.o: In function `pin_helper_pin_entry_callback':
+pin_helper.c:(.text+0xa6): undefined reference to `xfce_warn'
+
+--- configure.ac
++++ configure.ac
+@@ -18,6 +18,8 @@
+ AC_CHECK_FUNCS([vasprintf])
+
+ XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.20])
++XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.20])
++
+ XDT_I18N([cs pt])
+
+ AC_ARG_ENABLE([debug],
+--- panel-plugin/Makefile.am
++++ panel-plugin/Makefile.am
+@@ -3,10 +3,12 @@
+
+ xfce4_cellmodem_plugin_CFLAGS = \
+ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
+- @LIBXFCE4PANEL_CFLAGS@
++ @LIBXFCE4PANEL_CFLAGS@ \
++ @LIBXFCEGUI4_CFLAGS@
+
+ xfce4_cellmodem_plugin_LDADD = \
+- @LIBXFCE4PANEL_LIBS@
++ @LIBXFCE4PANEL_LIBS@ \
++ @LIBXFCEGUI4_LIBS@
+
+ xfce4_cellmodem_plugin_SOURCES = \
+ cellmodem.c modem_driver.c \