add scdp package (thanks to Florian Fainelli)
[openwrt.git] / openwrt / package / linux-atm / patches / 200-no_libfl.patch
1 diff -ruN linux-atm-2.4.1/src/qgen/Makefile.am linux-atm-2.4.1.new/src/qgen/Makefile.am
2 --- linux-atm-2.4.1/src/qgen/Makefile.am 2001-09-03 20:41:05.000000000 +0200
3 +++ linux-atm-2.4.1.new/src/qgen/Makefile.am 2005-07-26 14:49:05.000000000 +0200
4 @@ -3,7 +3,7 @@
5
6 qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \
7 qgen.h second.c third.c
8 -qgen_LDADD = -lfl
9 +qgen_LDADD =
10
11 q_dump_SOURCES = common.c
12 q_dump_LDADD = qd.dump.standalone.o
13 diff -ruN linux-atm-2.4.1/src/qgen/Makefile.in linux-atm-2.4.1.new/src/qgen/Makefile.in
14 --- linux-atm-2.4.1/src/qgen/Makefile.in 2003-04-30 16:44:01.000000000 +0200
15 +++ linux-atm-2.4.1.new/src/qgen/Makefile.in 2005-07-26 14:49:13.000000000 +0200
16 @@ -91,7 +91,7 @@
17 qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \
18 qgen.h second.c third.c
19
20 -qgen_LDADD = -lfl
21 +qgen_LDADD =
22
23 q_dump_SOURCES = common.c
24 q_dump_LDADD = qd.dump.standalone.o
25 diff -ruN linux-atm-2.4.1/src/qgen/ql_l.c linux-atm-2.4.1.new/src/qgen/ql_l.c
26 --- linux-atm-2.4.1/src/qgen/ql_l.c 2003-04-24 21:46:49.000000000 +0200
27 +++ linux-atm-2.4.1.new/src/qgen/ql_l.c 2005-07-26 20:45:40.000000000 +0200
28 @@ -11,6 +11,11 @@
29 #include <stdio.h>
30 #include <unistd.h>
31
32 +int yywrap(void)
33 +{
34 + return 1;
35 +}
36 +
37
38 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
39 #ifdef c_plusplus
40 diff -ruN linux-atm-2.4.1/src/sigd/cfg_l.c linux-atm-2.4.1.new/src/sigd/cfg_l.c
41 --- linux-atm-2.4.1/src/sigd/cfg_l.c 2003-04-24 21:47:21.000000000 +0200
42 +++ linux-atm-2.4.1.new/src/sigd/cfg_l.c 2005-07-26 22:04:13.000000000 +0200
43 @@ -11,6 +11,10 @@
44 #include <stdio.h>
45 #include <unistd.h>
46
47 +int yywrap(void)
48 +{
49 + return 1;
50 +}
51
52 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
53 #ifdef c_plusplus
54 diff -ruN linux-atm-2.4.1/src/sigd/Makefile.am linux-atm-2.4.1.new/src/sigd/Makefile.am
55 --- linux-atm-2.4.1/src/sigd/Makefile.am 2001-10-04 23:17:26.000000000 +0200
56 +++ linux-atm-2.4.1.new/src/sigd/Makefile.am 2005-07-26 14:49:44.000000000 +0200
57 @@ -8,7 +8,7 @@
58 $(top_builddir)/src/qgen/qd.dump.o \
59 $(top_builddir)/src/lib/libatm.la \
60 $(top_builddir)/src/saal/libsaal.a
61 -atmsigd_LDADD = $(atmsigd_XTRAS) -lfl
62 +atmsigd_LDADD = $(atmsigd_XTRAS)
63 atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
64
65 CLEANFILES = mess.c
66 diff -ruN linux-atm-2.4.1/src/sigd/Makefile.in linux-atm-2.4.1.new/src/sigd/Makefile.in
67 --- linux-atm-2.4.1/src/sigd/Makefile.in 2003-04-30 16:44:03.000000000 +0200
68 +++ linux-atm-2.4.1.new/src/sigd/Makefile.in 2005-07-26 14:49:48.000000000 +0200
69 @@ -97,7 +97,7 @@
70 $(top_builddir)/src/lib/libatm.la \
71 $(top_builddir)/src/saal/libsaal.a
72
73 -atmsigd_LDADD = $(atmsigd_XTRAS) -lfl
74 +atmsigd_LDADD = $(atmsigd_XTRAS)
75 atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
76
77 CLEANFILES = mess.c
78 diff -ruN linux-atm-2.4.1/src/switch/debug/debug.c linux-atm-2.4.1.new/src/switch/debug/debug.c
79 --- linux-atm-2.4.1/src/switch/debug/debug.c 2001-09-03 20:41:06.000000000 +0200
80 +++ linux-atm-2.4.1.new/src/switch/debug/debug.c 2005-07-26 22:06:53.000000000 +0200
81 @@ -20,6 +20,11 @@
82
83 #define PRV(call) ((FAB *) (call)->fab)
84
85 +int yywrap(void)
86 +{
87 + return 1;
88 +}
89 +
90
91 typedef struct _fab {
92 CALL *next; /* relay.c may not keep track of calls, but WE are */
93 diff -ruN linux-atm-2.4.1/src/switch/debug/Makefile.am linux-atm-2.4.1.new/src/switch/debug/Makefile.am
94 --- linux-atm-2.4.1/src/switch/debug/Makefile.am 2001-10-04 23:17:26.000000000 +0200
95 +++ linux-atm-2.4.1.new/src/switch/debug/Makefile.am 2005-07-26 14:50:03.000000000 +0200
96 @@ -5,7 +5,7 @@
97 sw_debug_SOURCES = debug.c
98 sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \
99 $(top_builddir)/src/lib/libatm.la
100 -sw_debug_LDADD = $(sw_debug_XTRAS) -lfl
101 +sw_debug_LDADD = $(sw_debug_XTRAS)
102
103 sw_debug_DEPENDENCIES = $(sw_debug_XTRAS)
104
105 diff -ruN linux-atm-2.4.1/src/switch/debug/Makefile.in linux-atm-2.4.1.new/src/switch/debug/Makefile.in
106 --- linux-atm-2.4.1/src/switch/debug/Makefile.in 2003-04-30 16:44:13.000000000 +0200
107 +++ linux-atm-2.4.1.new/src/switch/debug/Makefile.in 2005-07-26 14:50:08.000000000 +0200
108 @@ -93,7 +93,7 @@
109 sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \
110 $(top_builddir)/src/lib/libatm.la
111
112 -sw_debug_LDADD = $(sw_debug_XTRAS) -lfl
113 +sw_debug_LDADD = $(sw_debug_XTRAS)
114
115 sw_debug_DEPENDENCIES = $(sw_debug_XTRAS)
116
117 diff -ruN linux-atm-2.4.1/src/switch/tcp/Makefile.am linux-atm-2.4.1.new/src/switch/tcp/Makefile.am
118 --- linux-atm-2.4.1/src/switch/tcp/Makefile.am 2001-10-04 23:17:27.000000000 +0200
119 +++ linux-atm-2.4.1.new/src/switch/tcp/Makefile.am 2005-07-26 14:50:16.000000000 +0200
120 @@ -5,7 +5,7 @@
121 sw_tcp_SOURCES = tcpsw.c
122 sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \
123 $(top_builddir)/src/lib/libatm.la
124 -sw_tcp_LDADD = $(sw_tcp_XTRAS) -lfl
125 +sw_tcp_LDADD = $(sw_tcp_XTRAS)
126 sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
127
128 EXTRA_DIST = mkfiles README
129 diff -ruN linux-atm-2.4.1/src/switch/tcp/Makefile.in linux-atm-2.4.1.new/src/switch/tcp/Makefile.in
130 --- linux-atm-2.4.1/src/switch/tcp/Makefile.in 2003-04-30 16:44:14.000000000 +0200
131 +++ linux-atm-2.4.1.new/src/switch/tcp/Makefile.in 2005-07-26 14:50:19.000000000 +0200
132 @@ -93,7 +93,7 @@
133 sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \
134 $(top_builddir)/src/lib/libatm.la
135
136 -sw_tcp_LDADD = $(sw_tcp_XTRAS) -lfl
137 +sw_tcp_LDADD = $(sw_tcp_XTRAS)
138 sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
139
140 EXTRA_DIST = mkfiles README
141 diff -ruN linux-atm-2.4.1/src/switch/tcp/tcpsw.c linux-atm-2.4.1.new/src/switch/tcp/tcpsw.c
142 --- linux-atm-2.4.1/src/switch/tcp/tcpsw.c 2001-09-03 20:41:06.000000000 +0200
143 +++ linux-atm-2.4.1.new/src/switch/tcp/tcpsw.c 2005-07-26 22:08:25.000000000 +0200
144 @@ -35,6 +35,10 @@
145 #define MAX_PACKET (ATM_MAX_AAL5_PDU+sizeof(struct atmtcp_hdr))
146 #define BUFFER_SIZE (MAX_PACKET*2)
147
148 +int yywrap(void)
149 +{
150 + return 1;
151 +}
152
153 typedef struct _table {
154 struct _link *out; /* output port */
155 diff -ruN linux-atm-2.4.1/src/test/ispl_l.c linux-atm-2.4.1.new/src/test/ispl_l.c
156 --- linux-atm-2.4.1/src/test/ispl_l.c 2003-04-24 21:46:39.000000000 +0200
157 +++ linux-atm-2.4.1.new/src/test/ispl_l.c 2005-07-26 20:45:19.000000000 +0200
158 @@ -11,6 +11,11 @@
159 #include <stdio.h>
160 #include <unistd.h>
161
162 +int yywrap(void)
163 +{
164 + return 1;
165 +}
166 +
167
168 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
169 #ifdef c_plusplus
170 diff -ruN linux-atm-2.4.1/src/test/Makefile.am linux-atm-2.4.1.new/src/test/Makefile.am
171 --- linux-atm-2.4.1/src/test/Makefile.am 2001-10-04 23:17:27.000000000 +0200
172 +++ linux-atm-2.4.1.new/src/test/Makefile.am 2005-07-26 14:49:27.000000000 +0200
173 @@ -15,7 +15,7 @@
174 bw_SOURCES = bw.c
175 isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l
176 isp_XTRAS = $(LDADD)
177 -isp_LDADD = $(isp_XTRAS) -lfl
178 +isp_LDADD = $(isp_XTRAS)
179 isp_DEPENDENCIES = $(isp_XTRAS) errnos.inc
180 window_SOURCES = window.c
181
182 diff -ruN linux-atm-2.4.1/src/test/Makefile.in linux-atm-2.4.1.new/src/test/Makefile.in
183 --- linux-atm-2.4.1/src/test/Makefile.in 2003-04-30 16:43:59.000000000 +0200
184 +++ linux-atm-2.4.1.new/src/test/Makefile.in 2005-07-26 14:49:32.000000000 +0200
185 @@ -102,7 +102,7 @@
186 bw_SOURCES = bw.c
187 isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l
188 isp_XTRAS = $(LDADD)
189 -isp_LDADD = $(isp_XTRAS) -lfl
190 +isp_LDADD = $(isp_XTRAS)
191 isp_DEPENDENCIES = $(isp_XTRAS) errnos.inc
192 window_SOURCES = window.c
193
This page took 0.05161 seconds and 5 git commands to generate.