gnumeric/gnumeric-no-disable-deprecated.patch

27 lines
942 B
Diff
Raw Normal View History

Index: gnumeric-1.9.17/configure
===================================================================
--- gnumeric-1.9.17.orig/configure
+++ gnumeric-1.9.17/configure
@@ -14828,7 +14828,7 @@ else
fi
-if test $gnumeric_devel = yes; then
+if test $gnumeric_devel = never; then
CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED"
CFLAGS="$CFLAGS -DPANGO_DISABLE_DEPRECATED"
if test "x$gnumeric_with_gtk" = xtrue; then
Index: gnumeric-1.9.17/configure.in
===================================================================
--- gnumeric-1.9.17.orig/configure.in
+++ gnumeric-1.9.17/configure.in
@@ -272,7 +272,7 @@ fi
AC_SUBST(GNUMERIC_PLUGIN_LDFLAGS)
dnl disable for in stable release, enable for development series
-if test $gnumeric_devel = yes; then
+if test $gnumeric_devel = never; then
CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED"
CFLAGS="$CFLAGS -DPANGO_DISABLE_DEPRECATED"
if test "x$gnumeric_with_gtk" = xtrue; then