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