File stop-using-gnome-common.patch of Package gjiten

From: Yavor Doganov <yavor@gnu.org>
Date: Sat, 13 Oct 2018 12:20:53 +0300
Subject: stop using gnome-common

Use autoconf-archive instead of deprecated gnome-common

Bug-Debian: https://bugs.debian.org/829781
---
 configure.in    | 4 ++--
 src/Makefile.am | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.in b/configure.in
index fde3865..f56afdb 100644
--- a/configure.in
+++ b/configure.in
@@ -19,7 +19,6 @@ AC_PROG_MAKE_SET
 AC_PROG_INTLTOOL([0.22])
 AC_PATH_PROG([GCONFTOOL], [gconftool-2])
 
-GNOME_COMMON_INIT
 dnl GNOME_PLATFORM_GNOME_2(yes, force)
 PKG_CHECK_MODULES(GJITEN, libgnome-2.0 >= 2.2.0 libgnomeui-2.0 >= 2.2.0 libglade-2.0 gconf-2.0)
 AM_GCONF_SOURCE_2
@@ -37,7 +36,8 @@ AC_FUNC_MMAP
 AC_FUNC_STAT
 AC_CHECK_FUNCS([getcwd putenv setlocale strerror strrchr strstr munmap])
 
-GNOME_COMPILE_WARNINGS(maximum)
+AX_IS_RELEASE([always])
+AX_COMPILER_FLAGS
 
 # Gettext stuff
 GETTEXT_PACKAGE=gjiten
diff --git a/src/Makefile.am b/src/Makefile.am
index ddb2df6..4773f90 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,5 +20,5 @@ radical_convtable: radical-convtable.txt
 
 EXTRA_DIST = convtable.pl radical-convtable.txt
 
-gjiten_CFLAGS = $(GJITEN_CFLAGS) -Wall -Wunused @DEBUG_FLAGS@
+gjiten_CFLAGS = $(GJITEN_CFLAGS) -Wall -Wunused @DEBUG_FLAGS@ @WARN_CFLAGS@
 gjiten_LDADD = $(GJITEN_LIBS)
openSUSE Build Service is sponsored by