diff options
Diffstat (limited to 'packages/linux-atm')
-rw-r--r-- | packages/linux-atm/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/linux-atm/linux-atm-2.4.1/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/linux-atm/linux-atm-2.4.1/gcc-3.4-fix | 54 | ||||
-rw-r--r-- | packages/linux-atm/linux-atm-2.4.1/qgen-cross | 28 |
4 files changed, 82 insertions, 0 deletions
diff --git a/packages/linux-atm/.mtn2git_empty b/packages/linux-atm/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/linux-atm/.mtn2git_empty diff --git a/packages/linux-atm/linux-atm-2.4.1/.mtn2git_empty b/packages/linux-atm/linux-atm-2.4.1/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/linux-atm/linux-atm-2.4.1/.mtn2git_empty diff --git a/packages/linux-atm/linux-atm-2.4.1/gcc-3.4-fix b/packages/linux-atm/linux-atm-2.4.1/gcc-3.4-fix index e69de29bb2..dcd1b9e8b5 100644 --- a/packages/linux-atm/linux-atm-2.4.1/gcc-3.4-fix +++ b/packages/linux-atm/linux-atm-2.4.1/gcc-3.4-fix @@ -0,0 +1,54 @@ +patches to make code compile on gcc 3.4+ + + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- linux-atm-2.4.1/src/lib/sapequal.c~gcc-3.4-fix ++++ linux-atm-2.4.1/src/lib/sapequal.c +@@ -64,7 +64,6 @@ + CHECK(l2.itu.mode,1); + CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); + break; +- default: + } + switch (a.l3_proto) { + case ATM_L3_X25: +@@ -82,7 +81,7 @@ + case ATM_L3_USER: + if (a.l3.user != b.l3.user) return 0; + break; +- default: ++ + } + return 1; + } +--- linux-atm-2.4.1/src/sigd/proto.c~gcc-3.4-fix ++++ linux-atm-2.4.1/src/sigd/proto.c +@@ -258,7 +258,6 @@ + q_write(&dsc,QF_timer,buf,3); + break; + } +- default: + } + va_end(ap); + if ((size = q_close(&dsc)) >= 0) to_signaling(sock->sig,q_buffer,size); +@@ -287,7 +286,6 @@ + q_write(&dsc,QF_ie_id6,&ie,1); + } + break; +- default: + } + va_end(ap); + } +--- linux-atm-2.4.1/src/maint/enitune.c~gcc-3.4-fix ++++ linux-atm-2.4.1/src/maint/enitune.c +@@ -43,7 +43,6 @@ + mult.rx = strtol(optarg,&end,0); + if (*end || mult.rx <= 100) usage(name); + break; +- default: + } + if (argc != optind+1) usage(name); + sioc.number = strtol(argv[optind],&end,0); diff --git a/packages/linux-atm/linux-atm-2.4.1/qgen-cross b/packages/linux-atm/linux-atm-2.4.1/qgen-cross index e69de29bb2..f81ab8e843 100644 --- a/packages/linux-atm/linux-atm-2.4.1/qgen-cross +++ b/packages/linux-atm/linux-atm-2.4.1/qgen-cross @@ -0,0 +1,28 @@ +fix qgen makefile so we can build q.out.o and q.dump.o seperatly to the tools that need to be compiled for build architecture + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- linux-atm-2.4.1/src/qgen/Makefile.am~qgen-cross ++++ linux-atm-2.4.1/src/qgen/Makefile.am +@@ -1,4 +1,5 @@ + noinst_PROGRAMS = qgen q.dump # q40.out.o ++noinst_LIBRARIES = libqdump.a + check_PROGRAMS = q.test + + qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \ +@@ -7,10 +8,9 @@ + + q_dump_SOURCES = common.c + q_dump_LDADD = qd.dump.standalone.o +-# FIXME: paulsch: We don't really depend on qd.dump.o or q.out.o here, but this +-# trick will get it built with only a minor glitch in the dependency checking +-# for q.dump. +-q_dump_DEPENDENCIES = $(q_dump_LDADD) qd.dump.o q.out.o ++q_dump_DEPENDENCIES = $(q_dump_LDADD) ++libqdump_a_SOURCES = ++libqdump_a_DEPENDENCIES = qd.dump.o q.out.o + EXTRA_q_dump_SOURCES = op.h uni.h qlib.c qlib.h + + q_test_SOURCES = qtest.c uni.h |