ORBit2/ORBit2-2.14.19-glib-2.40.patch

35 lines
1.1 KiB
Diff

--- 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
diff -Nru ORBit2-2.14.19.orig/linc2/src/Makefile.in ORBit2-2.14.19/linc2/src/Makefile.in
--- ORBit2-2.14.19.orig/linc2/src/Makefile.in 2010-09-28 11:39:39.000000000 +0200
+++ ORBit2-2.14.19/linc2/src/Makefile.in 2014-04-11 18:17:54.466580979 +0200
@@ -244,7 +244,7 @@
# -I$(top_srcdir)/include
INCLUDES = -I$(top_builddir)/linc2/include \
-I$(top_srcdir)/linc2/include $(LINC_CFLAGS) $(WARN_CFLAGS) \
- -DG_DISABLE_DEPRECATED $(am__append_1)
+ $(am__append_1)
liblinc_la_SOURCES = \
linc.c \
linc-connection.c \