From 4546743ec059ade0b1a4fffdb2415565e2a59a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikko=20V=C3=A4rri?= Date: Tue, 11 Sep 2012 08:30:23 -0500 Subject: libraries/gtksourceview: Fix several build issues. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mikko Värri Signed-off-by: Robby Workman --- .../fix-pkg-config-use-before-set.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 libraries/gtksourceview/fix-pkg-config-use-before-set.patch (limited to 'libraries/gtksourceview/fix-pkg-config-use-before-set.patch') 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 -- cgit v1.2.3