200-no_libfl.patch 7.5 KB

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