summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch')
-rw-r--r--dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch b/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch
new file mode 100644
index 000000000000..cf4f4b36c139
--- /dev/null
+++ b/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch
@@ -0,0 +1,13 @@
+--- configure.ac.old 2007-01-20 10:54:27.000000000 +0100
++++ configure.ac 2007-01-20 10:55:49.000000000 +0100
+@@ -95,7 +95,9 @@
+ AM_CONDITIONAL(HAVE_SRFI_35, test "$HAVE_SRFI_35" = yes)
+
+ dnl Check for optional libraries
+-PKG_CHECK_MODULES(GLIB, glib, [have_glib=yes], [have_glib=no])
++if test "x$with_glib" != "xno"; then
++ PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no])
++fi
+ AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes)
+
+ dnl Check for compiler flags and warnings. This should be last, since