200-no_libfl.patch 7.1 KB

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