1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 23:39:41 +02:00

package/linux-atm: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20469 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2010-03-26 14:28:56 +00:00
parent cd086b67ea
commit 48531c2e77

View File

@ -1,8 +1,6 @@
Index: linux-atm-2.5.1/src/qgen/Makefile.am --- a/src/qgen/Makefile.am
=================================================================== +++ b/src/qgen/Makefile.am
--- linux-atm-2.5.1.orig/src/qgen/Makefile.am 2010-02-27 01:36:10.156687492 +0100 @@ -2,7 +2,7 @@ noinst_PROGRAMS = qgen
+++ linux-atm-2.5.1/src/qgen/Makefile.am 2010-02-27 01:36:23.388686762 +0100
@@ -2,7 +2,7 @@
qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \ 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 qgen.h second.c third.c
@ -11,11 +9,9 @@ Index: linux-atm-2.5.1/src/qgen/Makefile.am
CC = @CC_FOR_BUILD@ CC = @CC_FOR_BUILD@
CFLAGS = @CFLAGS_FOR_BUILD@ CFLAGS = @CFLAGS_FOR_BUILD@
Index: linux-atm-2.5.1/src/qgen/Makefile.in --- a/src/qgen/Makefile.in
=================================================================== +++ b/src/qgen/Makefile.in
--- linux-atm-2.5.1.orig/src/qgen/Makefile.in 2010-02-27 01:36:10.156687492 +0100 @@ -58,7 +58,7 @@ depcomp = $(SHELL) $(top_srcdir)/depcomp
+++ linux-atm-2.5.1/src/qgen/Makefile.in 2010-02-27 02:06:38.992684137 +0100
@@ -58,7 +58,7 @@
am__depfiles_maybe = depfiles am__depfiles_maybe = depfiles
am__mv = mv -f am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
@ -24,7 +20,7 @@ Index: linux-atm-2.5.1/src/qgen/Makefile.in
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -208,7 +208,7 @@ @@ -208,7 +208,7 @@ top_srcdir = @top_srcdir@
qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \ 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 qgen.h second.c third.c
@ -33,11 +29,9 @@ Index: linux-atm-2.5.1/src/qgen/Makefile.in
#TESTS = $(check_PROGRAMS) #TESTS = $(check_PROGRAMS)
EXTRA_DIST = ql_y.h ql_y.c ql_l.c EXTRA_DIST = ql_y.h ql_y.c ql_l.c
Index: linux-atm-2.5.1/src/sigd/Makefile.am --- a/src/sigd/Makefile.am
=================================================================== +++ b/src/sigd/Makefile.am
--- linux-atm-2.5.1.orig/src/sigd/Makefile.am 2010-02-27 01:36:10.160686786 +0100 @@ -8,7 +8,7 @@ atmsigd_XTRAS = mess.o $(top_builddir)/s
+++ linux-atm-2.5.1/src/sigd/Makefile.am 2010-02-27 01:36:23.392683892 +0100
@@ -8,7 +8,7 @@
$(top_builddir)/src/q2931/qd.dump.o \ $(top_builddir)/src/q2931/qd.dump.o \
$(top_builddir)/src/lib/libatm.la \ $(top_builddir)/src/lib/libatm.la \
$(top_builddir)/src/saal/libsaal.a $(top_builddir)/src/saal/libsaal.a
@ -46,11 +40,9 @@ Index: linux-atm-2.5.1/src/sigd/Makefile.am
atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS) atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
CLEANFILES = mess.c CLEANFILES = mess.c
Index: linux-atm-2.5.1/src/sigd/Makefile.in --- a/src/sigd/Makefile.in
=================================================================== +++ b/src/sigd/Makefile.in
--- linux-atm-2.5.1.orig/src/sigd/Makefile.in 2010-02-27 01:36:10.160686786 +0100 @@ -244,7 +244,7 @@ atmsigd_XTRAS = mess.o $(top_builddir)/s
+++ linux-atm-2.5.1/src/sigd/Makefile.in 2010-02-27 01:36:23.396685195 +0100
@@ -244,7 +244,7 @@
$(top_builddir)/src/lib/libatm.la \ $(top_builddir)/src/lib/libatm.la \
$(top_builddir)/src/saal/libsaal.a $(top_builddir)/src/saal/libsaal.a
@ -59,10 +51,8 @@ Index: linux-atm-2.5.1/src/sigd/Makefile.in
atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS) atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
CLEANFILES = mess.c CLEANFILES = mess.c
sysconf_DATA = atmsigd.conf sysconf_DATA = atmsigd.conf
Index: linux-atm-2.5.1/src/switch/debug/debug.c --- a/src/switch/debug/debug.c
=================================================================== +++ b/src/switch/debug/debug.c
--- linux-atm-2.5.1.orig/src/switch/debug/debug.c 2010-02-27 01:36:10.160686786 +0100
+++ linux-atm-2.5.1/src/switch/debug/debug.c 2010-02-27 01:36:23.396685195 +0100
@@ -20,6 +20,11 @@ @@ -20,6 +20,11 @@
#define PRV(call) ((FAB *) (call)->fab) #define PRV(call) ((FAB *) (call)->fab)
@ -75,11 +65,9 @@ Index: linux-atm-2.5.1/src/switch/debug/debug.c
typedef struct _fab { typedef struct _fab {
CALL *next; /* relay.c may not keep track of calls, but WE are */ CALL *next; /* relay.c may not keep track of calls, but WE are */
Index: linux-atm-2.5.1/src/switch/debug/Makefile.am --- a/src/switch/debug/Makefile.am
=================================================================== +++ b/src/switch/debug/Makefile.am
--- linux-atm-2.5.1.orig/src/switch/debug/Makefile.am 2010-02-27 01:36:10.164686879 +0100 @@ -5,7 +5,7 @@ INCLUDES = -I$(srcdir)/../../q2931
+++ linux-atm-2.5.1/src/switch/debug/Makefile.am 2010-02-27 01:36:23.396685195 +0100
@@ -5,7 +5,7 @@
sw_debug_SOURCES = debug.c sw_debug_SOURCES = debug.c
sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \ sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \
$(top_builddir)/src/lib/libatm.la $(top_builddir)/src/lib/libatm.la
@ -88,11 +76,9 @@ Index: linux-atm-2.5.1/src/switch/debug/Makefile.am
sw_debug_DEPENDENCIES = $(sw_debug_XTRAS) sw_debug_DEPENDENCIES = $(sw_debug_XTRAS)
Index: linux-atm-2.5.1/src/switch/debug/Makefile.in --- a/src/switch/debug/Makefile.in
=================================================================== +++ b/src/switch/debug/Makefile.in
--- linux-atm-2.5.1.orig/src/switch/debug/Makefile.in 2010-02-27 01:36:10.164686879 +0100 @@ -199,7 +199,8 @@ sw_debug_SOURCES = debug.c
+++ linux-atm-2.5.1/src/switch/debug/Makefile.in 2010-02-27 01:36:23.396685195 +0100
@@ -199,7 +199,8 @@
sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \ sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \
$(top_builddir)/src/lib/libatm.la $(top_builddir)/src/lib/libatm.la
@ -102,11 +88,9 @@ Index: linux-atm-2.5.1/src/switch/debug/Makefile.in
sw_debug_DEPENDENCIES = $(sw_debug_XTRAS) sw_debug_DEPENDENCIES = $(sw_debug_XTRAS)
EXTRA_DIST = demo README EXTRA_DIST = demo README
all: all-am all: all-am
Index: linux-atm-2.5.1/src/switch/tcp/Makefile.am --- a/src/switch/tcp/Makefile.am
=================================================================== +++ b/src/switch/tcp/Makefile.am
--- linux-atm-2.5.1.orig/src/switch/tcp/Makefile.am 2010-02-27 01:36:10.201682113 +0100 @@ -5,7 +5,7 @@ INCLUDES = -I$(srcdir)/../../q2931
+++ linux-atm-2.5.1/src/switch/tcp/Makefile.am 2010-02-27 01:36:23.412882977 +0100
@@ -5,7 +5,7 @@
sw_tcp_SOURCES = tcpsw.c sw_tcp_SOURCES = tcpsw.c
sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \ sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \
$(top_builddir)/src/lib/libatm.la $(top_builddir)/src/lib/libatm.la
@ -115,11 +99,9 @@ Index: linux-atm-2.5.1/src/switch/tcp/Makefile.am
sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS) sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
EXTRA_DIST = mkfiles README EXTRA_DIST = mkfiles README
Index: linux-atm-2.5.1/src/switch/tcp/Makefile.in --- a/src/switch/tcp/Makefile.in
=================================================================== +++ b/src/switch/tcp/Makefile.in
--- linux-atm-2.5.1.orig/src/switch/tcp/Makefile.in 2010-02-27 01:36:10.209681349 +0100 @@ -199,7 +199,7 @@ sw_tcp_SOURCES = tcpsw.c
+++ linux-atm-2.5.1/src/switch/tcp/Makefile.in 2010-02-27 01:36:23.417680887 +0100
@@ -199,7 +199,7 @@
sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \ sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \
$(top_builddir)/src/lib/libatm.la $(top_builddir)/src/lib/libatm.la
@ -128,10 +110,8 @@ Index: linux-atm-2.5.1/src/switch/tcp/Makefile.in
sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS) sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
EXTRA_DIST = mkfiles README EXTRA_DIST = mkfiles README
all: all-am all: all-am
Index: linux-atm-2.5.1/src/switch/tcp/tcpsw.c --- a/src/switch/tcp/tcpsw.c
=================================================================== +++ b/src/switch/tcp/tcpsw.c
--- linux-atm-2.5.1.orig/src/switch/tcp/tcpsw.c 2010-02-27 01:36:10.221684444 +0100
+++ linux-atm-2.5.1/src/switch/tcp/tcpsw.c 2010-02-27 01:36:23.428680415 +0100
@@ -35,6 +35,10 @@ @@ -35,6 +35,10 @@
#define MAX_PACKET (ATM_MAX_AAL5_PDU+sizeof(struct atmtcp_hdr)) #define MAX_PACKET (ATM_MAX_AAL5_PDU+sizeof(struct atmtcp_hdr))
#define BUFFER_SIZE (MAX_PACKET*2) #define BUFFER_SIZE (MAX_PACKET*2)
@ -143,11 +123,9 @@ Index: linux-atm-2.5.1/src/switch/tcp/tcpsw.c
typedef struct _table { typedef struct _table {
struct _link *out; /* output port */ struct _link *out; /* output port */
Index: linux-atm-2.5.1/src/test/Makefile.am --- a/src/test/Makefile.am
=================================================================== +++ b/src/test/Makefile.am
--- linux-atm-2.5.1.orig/src/test/Makefile.am 2010-02-27 01:36:10.221684444 +0100 @@ -20,7 +20,7 @@ br_SOURCES = br.c
+++ linux-atm-2.5.1/src/test/Makefile.am 2010-02-27 01:36:23.428680415 +0100
@@ -20,7 +20,7 @@
bw_SOURCES = bw.c bw_SOURCES = bw.c
isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l
isp_XTRAS = $(LDADD) isp_XTRAS = $(LDADD)
@ -156,11 +134,9 @@ Index: linux-atm-2.5.1/src/test/Makefile.am
isp_DEPENDENCIES = $(isp_XTRAS) isp_DEPENDENCIES = $(isp_XTRAS)
window_SOURCES = window.c window_SOURCES = window.c
Index: linux-atm-2.5.1/src/test/Makefile.in --- a/src/test/Makefile.in
=================================================================== +++ b/src/test/Makefile.in
--- linux-atm-2.5.1.orig/src/test/Makefile.in 2010-02-27 01:36:10.225688778 +0100 @@ -282,7 +282,7 @@ br_SOURCES = br.c
+++ linux-atm-2.5.1/src/test/Makefile.in 2010-02-27 01:36:23.432685583 +0100
@@ -282,7 +282,7 @@
bw_SOURCES = bw.c bw_SOURCES = bw.c
isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l
isp_XTRAS = $(LDADD) isp_XTRAS = $(LDADD)
@ -169,15 +145,12 @@ Index: linux-atm-2.5.1/src/test/Makefile.in
isp_DEPENDENCIES = $(isp_XTRAS) isp_DEPENDENCIES = $(isp_XTRAS)
window_SOURCES = window.c window_SOURCES = window.c
CLEANFILES = errnos.inc CLEANFILES = errnos.inc
--- a/src/test/ispl_l.l
Index: linux-atm-2.5.1/src/test/ispl_l.l +++ b/src/test/ispl_l.l
=================================================================== @@ -18,6 +18,11 @@
--- linux-atm-2.5.1/src/test/ispl_l.l-orig 2010-03-15 10:52:39.000000000 -0500
+++ linux-atm-2.5.1/src/test/ispl_l.l 2010-03-15 10:54:45.000000000 -0500
@@ -17,6 +17,11 @@
#include "isp.h"
#include "ispl_y.h" #include "ispl_y.h"
+int yywrap(void) +int yywrap(void)
+{ +{
+ return 1; + return 1;
@ -186,14 +159,12 @@ Index: linux-atm-2.5.1/src/test/ispl_l.l
static int lineno = 1; static int lineno = 1;
%} %}
Index: linux-atm-2.5.1/src/qgen/ql_l.l --- a/src/qgen/ql_l.l
=================================================================== +++ b/src/qgen/ql_l.l
--- linux-atm-2.5.1/src/qgen/ql_l.l.orig 2010-03-15 11:07:01.000000000 -0500 @@ -11,6 +11,11 @@
+++ linux-atm-2.5.1/src/qgen/ql_l.l 2010-03-15 11:06:04.000000000 -0500
@@ -10,6 +10,11 @@
#include "qgen.h"
#include "ql_y.h" #include "ql_y.h"
+int yywrap(void) +int yywrap(void)
+{ +{
+ return 1; + return 1;
@ -202,11 +173,8 @@ Index: linux-atm-2.5.1/src/qgen/ql_l.l
typedef struct _tree { typedef struct _tree {
struct _tree *left,*right; struct _tree *left,*right;
const char str[0]; const char str[0];
--- a/src/sigd/cfg_l.l
Index: linux-atm-2.5.1/src/sigd/cfg_l.l +++ b/src/sigd/cfg_l.l
===================================================================
--- linux-atm-2.5.1/src/sigd/cfg_l.l-orig 2010-03-15 11:12:39.000000000 -0500
+++ linux-atm-2.5.1/src/sigd/cfg_l.l 2010-03-15 11:13:22.000000000 -0500
@@ -16,6 +16,10 @@ @@ -16,6 +16,10 @@
#include "cfg_y.h" #include "cfg_y.h"