gnumeric/gnumeric-no-disable-deprecated.patch
Vincent Untz 6c31f05f3b Accepting request 30284 from home:vuntz:branches:GNOME:Apps
Copy from home:vuntz:branches:GNOME:Apps/gnumeric via accept of submit request 30284 revision 3.
Request was accepted with message:
Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/30284
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnumeric?expand=0&rev=7
2010-01-22 13:17:09 +00:00

27 lines
942 B
Diff

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