summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/gthumb/files/gthumb-3.2.0-configure-option.patch')
-rw-r--r--media-gfx/gthumb/files/gthumb-3.2.0-configure-option.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/media-gfx/gthumb/files/gthumb-3.2.0-configure-option.patch b/media-gfx/gthumb/files/gthumb-3.2.0-configure-option.patch
new file mode 100644
index 000000000000..07dc1b681f7f
--- /dev/null
+++ b/media-gfx/gthumb/files/gthumb-3.2.0-configure-option.patch
@@ -0,0 +1,44 @@
+From 3a1128457bd229abf51d48a660abc4b4458b518b Mon Sep 17 00:00:00 2001
+From: Paolo Bacchilega <paobac@src.gnome.org>
+Date: Thu, 28 Mar 2013 17:55:21 +0000
+Subject: configure: fixed unrecognized option --disable-libjson-glib
+
+[bug #696783]
+---
+diff --git a/configure.ac b/configure.ac
+index b3e6845..d496b3b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -518,16 +518,16 @@ AC_SUBST(LIBSOUP_LIBS)
+
+ dnl ===========================================================================
+
+-AC_ARG_ENABLE([json_glib],
++AC_ARG_ENABLE([libjson_glib],
+ [AS_HELP_STRING([--disable-libjson-glib],[do not compile code that uses the libjson-glib library])],,
+- [enable_json_glib=yes])
++ [enable_libjson_glib=yes])
+
+-if test x$enable_json_glib = xyes ; then
++if test x$enable_libjson_glib = xyes ; then
+ PKG_CHECK_MODULES(JSON_GLIB,
+ [json-glib-1.0 >= $JSON_GLIB_REQUIRED],
+ [AC_DEFINE(HAVE_JSON_GLIB, 1, [Have libjson-glib])
+- enable_json_glib=yes],
+- [enable_json_glib=no])
++ enable_libjson_glib=yes],
++ [enable_libjson_glib=no])
+ fi
+ AC_SUBST(JSON_GLIB_CFLAGS)
+ AC_SUBST(JSON_GLIB_LIBS)
+@@ -548,7 +548,7 @@ fi
+ AC_SUBST(WEBKIT2_CFLAGS)
+ AC_SUBST(WEBKIT2_LIBS)
+
+-if [ test "x$enable_libsoup" = xyes && test "x$enable_json_glib" = xyes && test "x$enable_webkit2" = xyes ] ; then
++if [ test "x$enable_libsoup" = xyes && test "x$enable_libjson_glib" = xyes && test "x$enable_webkit2" = xyes ] ; then
+ enable_web_services=yes
+ else
+ enable_web_services=no
+--
+cgit v0.9.1