LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File loki_update-automake.patch of Package loki_setup (Project games:tools)

Index: loki_update/snarf-7.0/configure.in
===================================================================
--- loki_update.orig/snarf-7.0/configure.in
+++ loki_update/snarf-7.0/configure.in
@@ -19,7 +19,6 @@ AC_SUBST(VERSION)
 
 dnl Checks for programs.
 AC_PROG_CC
-AM_C_PROTOTYPES
 AM_PROG_CC_STDC
 AC_C_CONST
 AC_PROG_INSTALL
@@ -100,5 +99,6 @@ AC_CHECK_FUNCS(strerror gettimeofday str
 HERROR=
 AC_CHECK_FUNC(herror,,[HERROR=herror.o;AC_SUBST(HERROR)])
 
+AC_DEFINE([PROTOTYPES])
 
 AC_OUTPUT(Makefile snarf.spec)
Index: loki_update/snarf-7.0/Makefile.am
===================================================================
--- loki_update.orig/snarf-7.0/Makefile.am
+++ loki_update/snarf-7.0/Makefile.am
@@ -1,5 +1,5 @@
 
-AUTOMAKE_OPTIONS = foreign ansi2knr
+AUTOMAKE_OPTIONS = foreign
 
 bin_PROGRAMS = snarf