summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-08-18 18:02:10 +0000
committerJeroen Roovers <jer@gentoo.org>2012-08-18 18:02:10 +0000
commit90a7b191db25686ec40bbee534ccb84fadc85cfc (patch)
treef96f684f4f9ca90c7b746b8667905820c2eca2fb /x11-misc/nitrogen/files
parentVersion bump. (diff)
downloadgentoo-2-90a7b191db25686ec40bbee534ccb84fadc85cfc.tar.gz
gentoo-2-90a7b191db25686ec40bbee534ccb84fadc85cfc.tar.bz2
gentoo-2-90a7b191db25686ec40bbee534ccb84fadc85cfc.zip
Fix building with the gold linker (bug #431882).
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/nitrogen/files')
-rw-r--r--x11-misc/nitrogen/files/nitrogen-1.5.2-gold.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-misc/nitrogen/files/nitrogen-1.5.2-gold.patch b/x11-misc/nitrogen/files/nitrogen-1.5.2-gold.patch
new file mode 100644
index 000000000000..81f034ab7cb8
--- /dev/null
+++ b/x11-misc/nitrogen/files/nitrogen-1.5.2-gold.patch
@@ -0,0 +1,16 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -34,10 +34,11 @@
+ PKG_CHECK_MODULES(GTK2,[gtk+-2.0 >= $GTK2_VERSION])
+ PKG_CHECK_MODULES(GTKMM2, [gtkmm-2.4 >= $GTKMM2_VERSION])
+ PKG_CHECK_MODULES(GTHREAD2, [gthread-2.0 >= $GTHREAD2_VERSION])
++PKG_CHECK_MODULES(X11, x11)
+
+
+-NITROGEN_LIBS="$GLIB2_LIBS $GTK2_LIBS $GTKMM2_LIBS $GTHREAD2_LIBS"
+-NITROGEN_CFLAGS="$GLIB2_CFLAGS $GTK2_CFLAGS $GTKMM2_CFLAGS $GTHREAD2_CFLAGS"
++NITROGEN_LIBS="$GLIB2_LIBS $GTK2_LIBS $GTKMM2_LIBS $GTHREAD2_LIBS $X11_LIBS"
++NITROGEN_CFLAGS="$GLIB2_CFLAGS $GTK2_CFLAGS $GTKMM2_CFLAGS $GTHREAD2_CFLAGS $X11_CFLAGS"
+
+ dnl do some autotools picen to get inotify
+ AC_ARG_ENABLE(inotify, [ --disable-inotify disable support for inotify watching of dirs (default: enabled)], [enable_inotify=$enableval],[enable_inotify=yes])