diff options
Diffstat (limited to 'libraries/gtksourceview/fix-pkg-config-use-before-set.patch')
-rw-r--r-- | libraries/gtksourceview/fix-pkg-config-use-before-set.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libraries/gtksourceview/fix-pkg-config-use-before-set.patch b/libraries/gtksourceview/fix-pkg-config-use-before-set.patch new file mode 100644 index 0000000000..72c7697f9a --- /dev/null +++ b/libraries/gtksourceview/fix-pkg-config-use-before-set.patch @@ -0,0 +1,47 @@ +--- configure.orig 2012-09-11 02:15:41.304005832 +0300 ++++ configure 2012-09-11 02:17:41.957003984 +0300 +@@ -10820,23 +10820,6 @@ + fi + + +-if test "$enable_deprecations" = "yes"; then +- DISABLE_DEPRECATED_CFLAGS="\ +--DG_DISABLE_DEPRECATED \ +--DGDK_DISABLE_DEPRECATED \ +--DGTK_DISABLE_DEPRECATED \ +--DGDK_PIXBUF_DISABLE_DEPRECATED \ +--DGNOME_DISABLE_DEPRECATED" +- +- if $PKG_CONFIG --atleast-version 2.90 $GTK_REQUIRED; then +- DISABLE_DEPRECATED_CFLAGS="$DISABLE_DEPRECATED_CFLAGS -DGSEAL_ENABLE" +- fi +- +- +-fi +- +- +- + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +@@ -10970,6 +10953,20 @@ + + fi + ++if test "$enable_deprecations" = "yes"; then ++ DISABLE_DEPRECATED_CFLAGS="\ ++-DG_DISABLE_DEPRECATED \ ++-DGDK_DISABLE_DEPRECATED \ ++-DGTK_DISABLE_DEPRECATED \ ++-DGDK_PIXBUF_DISABLE_DEPRECATED \ ++-DGNOME_DISABLE_DEPRECATED" ++ ++ if $PKG_CONFIG --atleast-version 2.90 $GTK_REQUIRED; then ++ DISABLE_DEPRECATED_CFLAGS="$DISABLE_DEPRECATED_CFLAGS -DGSEAL_ENABLE" ++ fi ++ ++ ++fi + + + pkg_failed=no |