orbit2: fix build with recent glib version
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Sep 2013 09:11:53 +0000 (09:11 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Sep 2013 09:11:53 +0000 (09:11 +0000)
This fixes a build problem introduced in r37953.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37991

libs/orbit2/patches/020-build-fix.patch [new file with mode: 0644]

diff --git a/libs/orbit2/patches/020-build-fix.patch b/libs/orbit2/patches/020-build-fix.patch
new file mode 100644 (file)
index 0000000..615e8e2
--- /dev/null
@@ -0,0 +1,22 @@
+--- a/configure.in
++++ b/configure.in
+@@ -243,7 +243,7 @@ AC_SUBST(pkglibdir)
+ if test "$enable_maintainer_mode" = "yes"; then
+       DISABLE_DEPRECATED_CFLAGS=" \
+-              -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES"
++              -DG_DISABLE_SINGLE_INCLUDES"
+       AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
+ fi
+--- a/linc2/src/Makefile.am
++++ b/linc2/src/Makefile.am
+@@ -13,7 +13,7 @@ INCLUDES =                         \
+       -I$(top_srcdir)/linc2/include    \
+       $(LINC_CFLAGS)             \
+       $(WARN_CFLAGS)             \
+-      -DG_DISABLE_DEPRECATED
++      $(DISABLE_DEPRECATED_CFLAGS)
+ if OS_WIN32
+ else