Fix prism54 firmware indentation and malformed comments
[openwrt.git] / package / linux-atm / patches / 200-no_libfl.patch
1 Index: linux-atm-2.4.1/src/qgen/Makefile.am
2 ===================================================================
3 --- linux-atm-2.4.1.orig/src/qgen/Makefile.am 2007-10-20 19:19:10.354218533 +0200
4 +++ linux-atm-2.4.1/src/qgen/Makefile.am 2007-10-20 19:19:16.814586679 +0200
5 @@ -3,7 +3,7 @@
6
7 qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \
8 qgen.h second.c third.c
9 -qgen_LDADD = -lfl
10 +qgen_LDADD =
11
12 q_dump_SOURCES = common.c
13 q_dump_LDADD = qd.dump.standalone.o
14 Index: linux-atm-2.4.1/src/qgen/Makefile.in
15 ===================================================================
16 --- linux-atm-2.4.1.orig/src/qgen/Makefile.in 2007-10-20 19:19:11.898306522 +0200
17 +++ linux-atm-2.4.1/src/qgen/Makefile.in 2007-10-20 19:19:16.814586679 +0200
18 @@ -90,7 +90,7 @@
19
20 qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c qgen.h second.c third.c
21
22 -qgen_LDADD = -lfl
23 +qgen_LDADD =
24
25 q_dump_SOURCES = common.c
26 q_dump_LDADD = qd.dump.standalone.o
27 Index: linux-atm-2.4.1/src/qgen/ql_l.c
28 ===================================================================
29 --- linux-atm-2.4.1.orig/src/qgen/ql_l.c 2007-10-20 19:19:11.906306980 +0200
30 +++ linux-atm-2.4.1/src/qgen/ql_l.c 2007-10-20 19:19:16.842588278 +0200
31 @@ -501,6 +501,11 @@
32 #include "qgen.h"
33 #include "ql_y.h"
34
35 +int yywrap(void)
36 +{
37 + return 1;
38 +}
39 +
40
41 typedef struct _tree {
42 struct _tree *left,*right;
43 Index: linux-atm-2.4.1/src/sigd/cfg_l.c
44 ===================================================================
45 --- linux-atm-2.4.1.orig/src/sigd/cfg_l.c 2007-10-20 19:19:10.378219897 +0200
46 +++ linux-atm-2.4.1/src/sigd/cfg_l.c 2007-10-20 19:19:16.854588969 +0200
47 @@ -11,6 +11,10 @@
48 #include <stdio.h>
49 #include <unistd.h>
50
51 +int yywrap(void)
52 +{
53 + return 1;
54 +}
55
56 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
57 #ifdef c_plusplus
58 Index: linux-atm-2.4.1/src/sigd/Makefile.am
59 ===================================================================
60 --- linux-atm-2.4.1.orig/src/sigd/Makefile.am 2007-10-20 19:19:10.386220355 +0200
61 +++ linux-atm-2.4.1/src/sigd/Makefile.am 2007-10-20 19:19:16.882590565 +0200
62 @@ -8,7 +8,7 @@
63 $(top_builddir)/src/qgen/qd.dump.o \
64 $(top_builddir)/src/lib/libatm.la \
65 $(top_builddir)/src/saal/libsaal.a
66 -atmsigd_LDADD = $(atmsigd_XTRAS) -lfl
67 +atmsigd_LDADD = $(atmsigd_XTRAS)
68 atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
69
70 CLEANFILES = mess.c
71 Index: linux-atm-2.4.1/src/sigd/Makefile.in
72 ===================================================================
73 --- linux-atm-2.4.1.orig/src/sigd/Makefile.in 2007-10-20 19:19:12.018313361 +0200
74 +++ linux-atm-2.4.1/src/sigd/Makefile.in 2007-10-20 19:19:16.886590795 +0200
75 @@ -92,7 +92,7 @@
76
77 atmsigd_XTRAS = mess.o $(top_builddir)/src/qgen/q.out.o $(top_builddir)/src/qgen/qd.dump.o $(top_builddir)/src/lib/libatm.la $(top_builddir)/src/saal/libsaal.a
78
79 -atmsigd_LDADD = $(atmsigd_XTRAS) -lfl
80 +atmsigd_LDADD = $(atmsigd_XTRAS)
81 atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
82
83 CLEANFILES = mess.c
84 Index: linux-atm-2.4.1/src/switch/debug/debug.c
85 ===================================================================
86 --- linux-atm-2.4.1.orig/src/switch/debug/debug.c 2007-10-20 19:19:12.414335932 +0200
87 +++ linux-atm-2.4.1/src/switch/debug/debug.c 2007-10-20 19:19:16.894591246 +0200
88 @@ -20,6 +20,11 @@
89
90 #define PRV(call) ((FAB *) (call)->fab)
91
92 +int yywrap(void)
93 +{
94 + return 1;
95 +}
96 +
97
98 typedef struct _fab {
99 CALL *next; /* relay.c may not keep track of calls, but WE are */
100 Index: linux-atm-2.4.1/src/switch/debug/Makefile.am
101 ===================================================================
102 --- linux-atm-2.4.1.orig/src/switch/debug/Makefile.am 2007-10-20 19:19:10.406221495 +0200
103 +++ linux-atm-2.4.1/src/switch/debug/Makefile.am 2007-10-20 19:19:16.906591931 +0200
104 @@ -5,7 +5,7 @@
105 sw_debug_SOURCES = debug.c
106 sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \
107 $(top_builddir)/src/lib/libatm.la
108 -sw_debug_LDADD = $(sw_debug_XTRAS) -lfl
109 +sw_debug_LDADD = $(sw_debug_XTRAS)
110
111 sw_debug_DEPENDENCIES = $(sw_debug_XTRAS)
112
113 Index: linux-atm-2.4.1/src/switch/debug/Makefile.in
114 ===================================================================
115 --- linux-atm-2.4.1.orig/src/switch/debug/Makefile.in 2007-10-20 19:19:12.378333877 +0200
116 +++ linux-atm-2.4.1/src/switch/debug/Makefile.in 2007-10-20 19:19:16.918592613 +0200
117 @@ -92,7 +92,7 @@
118 sw_debug_SOURCES = debug.c
119 sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a $(top_builddir)/src/lib/libatm.la
120
121 -sw_debug_LDADD = $(sw_debug_XTRAS) -lfl
122 +sw_debug_LDADD = $(sw_debug_XTRAS)
123
124 sw_debug_DEPENDENCIES = $(sw_debug_XTRAS)
125
126 Index: linux-atm-2.4.1/src/switch/tcp/Makefile.am
127 ===================================================================
128 --- linux-atm-2.4.1.orig/src/switch/tcp/Makefile.am 2007-10-20 19:19:10.422222406 +0200
129 +++ linux-atm-2.4.1/src/switch/tcp/Makefile.am 2007-10-20 19:19:16.922592837 +0200
130 @@ -5,7 +5,7 @@
131 sw_tcp_SOURCES = tcpsw.c
132 sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \
133 $(top_builddir)/src/lib/libatm.la
134 -sw_tcp_LDADD = $(sw_tcp_XTRAS) -lfl
135 +sw_tcp_LDADD = $(sw_tcp_XTRAS)
136 sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
137
138 EXTRA_DIST = mkfiles README
139 Index: linux-atm-2.4.1/src/switch/tcp/Makefile.in
140 ===================================================================
141 --- linux-atm-2.4.1.orig/src/switch/tcp/Makefile.in 2007-10-20 19:19:12.422336385 +0200
142 +++ linux-atm-2.4.1/src/switch/tcp/Makefile.in 2007-10-20 19:19:16.926593064 +0200
143 @@ -92,7 +92,7 @@
144 sw_tcp_SOURCES = tcpsw.c
145 sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a $(top_builddir)/src/lib/libatm.la
146
147 -sw_tcp_LDADD = $(sw_tcp_XTRAS) -lfl
148 +sw_tcp_LDADD = $(sw_tcp_XTRAS)
149 sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
150
151 EXTRA_DIST = mkfiles README
152 Index: linux-atm-2.4.1/src/switch/tcp/tcpsw.c
153 ===================================================================
154 --- linux-atm-2.4.1.orig/src/switch/tcp/tcpsw.c 2007-10-20 19:19:12.426336614 +0200
155 +++ linux-atm-2.4.1/src/switch/tcp/tcpsw.c 2007-10-20 19:19:16.954594660 +0200
156 @@ -35,6 +35,10 @@
157 #define MAX_PACKET (ATM_MAX_AAL5_PDU+sizeof(struct atmtcp_hdr))
158 #define BUFFER_SIZE (MAX_PACKET*2)
159
160 +int yywrap(void)
161 +{
162 + return 1;
163 +}
164
165 typedef struct _table {
166 struct _link *out; /* output port */
167 Index: linux-atm-2.4.1/src/test/ispl_l.c
168 ===================================================================
169 --- linux-atm-2.4.1.orig/src/test/ispl_l.c 2007-10-20 19:19:10.442223546 +0200
170 +++ linux-atm-2.4.1/src/test/ispl_l.c 2007-10-20 19:19:16.962595124 +0200
171 @@ -11,6 +11,11 @@
172 #include <stdio.h>
173 #include <unistd.h>
174
175 +int yywrap(void)
176 +{
177 + return 1;
178 +}
179 +
180
181 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
182 #ifdef c_plusplus
183 Index: linux-atm-2.4.1/src/test/Makefile.am
184 ===================================================================
185 --- linux-atm-2.4.1.orig/src/test/Makefile.am 2007-10-20 19:19:11.858304242 +0200
186 +++ linux-atm-2.4.1/src/test/Makefile.am 2007-10-20 19:19:16.962595124 +0200
187 @@ -15,7 +15,7 @@
188 bw_SOURCES = bw.c
189 isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l
190 isp_XTRAS = $(LDADD)
191 -isp_LDADD = $(isp_XTRAS) -lfl
192 +isp_LDADD = $(isp_XTRAS)
193 isp_DEPENDENCIES = $(isp_XTRAS) errnos.inc
194 window_SOURCES = window.c
195
196 Index: linux-atm-2.4.1/src/test/Makefile.in
197 ===================================================================
198 --- linux-atm-2.4.1.orig/src/test/Makefile.in 2007-10-20 19:19:11.826302420 +0200
199 +++ linux-atm-2.4.1/src/test/Makefile.in 2007-10-20 19:19:16.962595124 +0200
200 @@ -102,7 +102,7 @@
201 bw_SOURCES = bw.c
202 isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l
203 isp_XTRAS = $(LDADD)
204 -isp_LDADD = $(isp_XTRAS) -lfl
205 +isp_LDADD = $(isp_XTRAS)
206 isp_DEPENDENCIES = $(isp_XTRAS) errnos.inc
207 window_SOURCES = window.c
208
This page took 0.058133 seconds and 5 git commands to generate.