File: 20_fix-autotools.patch

package info (click to toggle)
dc3dd 7.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 27,744 kB
  • sloc: ansic: 29,526; sh: 6,778; perl: 1,468; yacc: 1,235; makefile: 151; python: 39; sed: 16
file content (42 lines) | stat: -rw-r--r-- 1,594 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: fix autotools to avoid a FTBFS and to allow autoreconf.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2016-11-23
Index: dc3dd/m4/jm-macros.m4
===================================================================
--- dc3dd.orig/m4/jm-macros.m4
+++ dc3dd/m4/jm-macros.m4
@@ -131,7 +131,9 @@ AC_DEFUN([gl_CHECK_ALL_TYPES],
   dnl This test must precede tests of compiler characteristics like
   dnl that for the inline keyword, since it may change the degree to
   dnl which the compiler supports such features.
-  AC_REQUIRE([AM_C_PROTOTYPES])
+  dnl DISABLED IN DEBIAN 2016-11-23: this feature is incompatible with current
+  dnl autoconf version.
+  dnl AC_REQUIRE([AM_C_PROTOTYPES])
 
   dnl Checks for typedefs, structures, and compiler characteristics.
   AC_REQUIRE([AC_C_BIGENDIAN])
Index: dc3dd/configure.ac
===================================================================
--- dc3dd.orig/configure.ac
+++ dc3dd/configure.ac
@@ -23,16 +23,13 @@ AC_PREREQ(2.61)
 # Make inter-release version strings look like, e.g., v6.9-219-g58ddd, which
 # indicates that it is built from the 219th delta (in _some_ repository)
 # following the v6.9 tag, and that 58ddd is a prefix of the commit SHA1.
-AC_INIT([dc3dd],
-	m4_esyscmd([build-aux/git-version-gen .version]),
-	[dc3dd@dc3.mil])
-
-AC_CONFIG_SRCDIR(src/dc3dd.c)
+AC_INIT([dc3dd], [7.2.646], [dc3dd@dc3.mil])
+AC_CONFIG_SRCDIR([src/dc3dd.c])
 
 AC_CONFIG_AUX_DIR(build-aux)
 AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
 
-AM_INIT_AUTOMAKE([1.10.1])
+AM_INIT_AUTOMAKE
 
 AC_PROG_CC_STDC
 AM_PROG_CC_C_O