summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-01-18 17:58:45 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-01-18 17:58:45 +0000
commit6a4da50c829c84af64a17c3800be3fac32eacf70 (patch)
tree0e2bbfc540070fdd2ff5ad4cbe5e431e8db6bfdf /dev-libs/g-wrap/files
parentStable on sparc wrt #155828 (diff)
downloadgentoo-2-6a4da50c829c84af64a17c3800be3fac32eacf70.tar.gz
gentoo-2-6a4da50c829c84af64a17c3800be3fac32eacf70.tar.bz2
gentoo-2-6a4da50c829c84af64a17c3800be3fac32eacf70.zip
added patch for glib automagic dep; fixes Bug 161903
(Portage version: 2.1.2)
Diffstat (limited to 'dev-libs/g-wrap/files')
-rw-r--r--dev-libs/g-wrap/files/digest-g-wrap-1.9.7-r13
-rw-r--r--dev-libs/g-wrap/files/glib_automagic.patch16
2 files changed, 19 insertions, 0 deletions
diff --git a/dev-libs/g-wrap/files/digest-g-wrap-1.9.7-r1 b/dev-libs/g-wrap/files/digest-g-wrap-1.9.7-r1
new file mode 100644
index 000000000000..1829f97f18cf
--- /dev/null
+++ b/dev-libs/g-wrap/files/digest-g-wrap-1.9.7-r1
@@ -0,0 +1,3 @@
+MD5 4e980fd3f464d53ecee12184569c32bf g-wrap-1.9.7.tar.gz 917706
+RMD160 ffe665feb1a4f9b527a5e173d697ba2890680dc7 g-wrap-1.9.7.tar.gz 917706
+SHA256 191f096c0cc5a6c4baac45cb595ebfee3ccba3599babc9fbd03d4c6f1f435355 g-wrap-1.9.7.tar.gz 917706
diff --git a/dev-libs/g-wrap/files/glib_automagic.patch b/dev-libs/g-wrap/files/glib_automagic.patch
new file mode 100644
index 000000000000..676fb4a589b4
--- /dev/null
+++ b/dev-libs/g-wrap/files/glib_automagic.patch
@@ -0,0 +1,16 @@
+--- configure.ac.old 2007-01-18 17:54:08.000000000 +0100
++++ configure.ac 2007-01-18 17:57:38.000000000 +0100
+@@ -119,11 +119,8 @@
+ AC_SUBST(GW_LANGUAGES)
+
+ dnl Check for optional libraries
+-AC_CHECK_PROG(have_glib, glib-config, yes, no)
+-if test "$have_glib" = yes; then
+- PKG_CHECK_MODULES(GLIB, glib, [echo building GLib 1.2 support])
+-else
+- echo Not building Glib 1.2 support
++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)
+