summaryrefslogtreecommitdiff
path: root/libraries/gtksourceview/fix-pkg-config-use-before-set.patch
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2012-09-11 08:30:23 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-11 08:44:46 -0500
commit4546743ec059ade0b1a4fffdb2415565e2a59a6c (patch)
treee1cfb8ea3bc5ee9b2deb30a9a11ce00a019bdaf3 /libraries/gtksourceview/fix-pkg-config-use-before-set.patch
parent45bde4d181430ef40888fc7b8d52bdafac72f822 (diff)
downloadslackbuilds-4546743ec059ade0b1a4fffdb2415565e2a59a6c.tar.gz
libraries/gtksourceview: Fix several build issues.
Signed-off-by: Mikko Värri <vmj@linuxbox.fi> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/gtksourceview/fix-pkg-config-use-before-set.patch')
-rw-r--r--libraries/gtksourceview/fix-pkg-config-use-before-set.patch47
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