blob: d3bb5c03a1418bd96a0a3e0cc770f2b55c51d578 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001autoconf no longer supports AM_C_PROTOTYPES
2
3| configure.ac:14: error: automatic de-ANSI-fication support has been removed
4| /bitbake_build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12/protos.m4:10: AM_C_PROTOTYPES is expanded from...
5
6Upstream-Status: Pending
7
8Author: Mark Hatle <mark.hatle@windriver.com>
9Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
10
11Index: enscript-1.6.6/configure.ac
12===================================================================
13--- enscript-1.6.6.orig/configure.ac
14+++ enscript-1.6.6/configure.ac
15@@ -11,7 +11,6 @@ AC_PROG_INSTALL
16 AC_PROG_CC
17
18 AC_USE_SYSTEM_EXTENSIONS
19-AM_C_PROTOTYPES
20
21 AC_C_CONST
22 AC_FUNC_ALLOCA
23Index: enscript-1.6.6/afmlib/afm.h
24===================================================================
25--- enscript-1.6.6.orig/afmlib/afm.h
26+++ enscript-1.6.6/afmlib/afm.h
27@@ -24,11 +24,7 @@
28 #define AFM_H
29
30 #ifndef ___P
31-#if PROTOTYPES
32 #define ___P(protos) protos
33-#else /* no PROTOTYPES */
34-#define ___P(protos) ()
35-#endif /* no PROTOTYPES */
36 #endif
37
38 /**********************************************************************
39Index: enscript-1.6.6/afmlib/afmint.h
40===================================================================
41--- enscript-1.6.6.orig/afmlib/afmint.h
42+++ enscript-1.6.6/afmlib/afmint.h
43@@ -34,11 +34,7 @@
44 #include <stdio.h>
45
46 #ifndef ___P
47-#if PROTOTYPES
48 #define ___P(protos) protos
49-#else /* no PROTOTYPES */
50-#define ___P(protos) ()
51-#endif /* no PROTOTYPES */
52 #endif
53
54 #if STDC_HEADERS
55Index: enscript-1.6.6/afmlib/strhash.h
56===================================================================
57--- enscript-1.6.6.orig/afmlib/strhash.h
58+++ enscript-1.6.6/afmlib/strhash.h
59@@ -24,11 +24,7 @@
60 #define STRHASH_H
61
62 #ifndef ___P
63-#if PROTOTYPES
64 #define ___P(protos) protos
65-#else /* no PROTOTYPES */
66-#define ___P(protos) ()
67-#endif /* no PROTOTYPES */
68 #endif
69
70 typedef struct stringhash_st *StringHashPtr;
71Index: enscript-1.6.6/compat/xalloc.h
72===================================================================
73--- enscript-1.6.6.orig/compat/xalloc.h
74+++ enscript-1.6.6/compat/xalloc.h
75@@ -28,11 +28,7 @@
76 #define XALLOC_H
77
78 #ifndef ___P
79-#if PROTOTYPES
80 #define ___P(protos) protos
81-#else /* no PROTOTYPES */
82-#define ___P(protos) ()
83-#endif /* no PROTOTYPES */
84 #endif
85
86 void *xmalloc ___P ((size_t size));
87Index: enscript-1.6.6/src/gsint.h
88===================================================================
89--- enscript-1.6.6.orig/src/gsint.h
90+++ enscript-1.6.6/src/gsint.h
91@@ -39,11 +39,7 @@
92 #include <sys/stat.h>
93
94 #ifndef ___P
95-#if PROTOTYPES
96 #define ___P(protos) protos
97-#else /* no PROTOTYPES */
98-#define ___P(protos) ()
99-#endif /* no PROTOTYPES */
100 #endif
101
102 #if STDC_HEADERS
103Index: enscript-1.6.6/states/defs.h
104===================================================================
105--- enscript-1.6.6.orig/states/defs.h
106+++ enscript-1.6.6/states/defs.h
107@@ -37,11 +37,7 @@
108 #include <ctype.h>
109
110 #ifndef ___P
111-#if PROTOTYPES
112 #define ___P(protos) protos
113-#else /* no PROTOTYPES */
114-#define ___P(protos) ()
115-#endif /* no PROTOTYPES */
116 #endif
117
118 #if STDC_HEADERS