File: autoreconf.patch

package info (click to toggle)
heroes 0.21-18
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 5,744 kB
  • sloc: ansic: 27,967; sh: 3,942; makefile: 651; yacc: 318; sed: 51; lisp: 10; perl: 9
file content (25 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Disable AM_C_PROTOTYPES
Author: Stephen Kitt <skitt@debian.org>

autoconf no longer supports AM_C_PROTOTYPES.

--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@
 AC_INIT([heroes], [0.21], [heroes-bugs@lists.sourceforge.net])
 AC_CONFIG_AUX_DIR(tools)
 AC_CONFIG_SRCDIR([src/heroes.c])
-AM_INIT_AUTOMAKE([heroes], [0.21])
+AM_INIT_AUTOMAKE
 
 AC_COPYRIGHT([Copyright 2000, 2001, 2002  Alexandre Duret-Lutz])
 
@@ -112,7 +112,7 @@
 # Checks for typedefs, structures, and compiler characteristics.
 # ==============================================================
 
-AM_C_PROTOTYPES
+#AM_C_PROTOTYPES
 AC_C_CONST
 AC_TYPE_UID_T     dnl This checks for gid_t too.
 AC_CHECK_TYPES([ssize_t])