aboutsummaryrefslogtreecommitdiffstats
path: root/packages/chillispot
diff options
context:
space:
mode:
authorMartin Dietze <di@fh-wedel.de>2006-09-08 13:06:05 +0000
committerMartin Dietze <di@fh-wedel.de>2006-09-08 13:06:05 +0000
commit005ccbff6b2c8c9e36abb1802166befd8cc256e5 (patch)
tree685185aef95fa19019469519fd43850389503d12 /packages/chillispot
parent21d5affb846356fd486b06656835164f0b29324e (diff)
downloadopenembedded-005ccbff6b2c8c9e36abb1802166befd8cc256e5.tar.gz
chillispot: patch to fix compilation errors
* remove the -ansi switch from the CFLAGS since some files are unix-style sources and do not compile in ansi mode
Diffstat (limited to 'packages/chillispot')
-rw-r--r--packages/chillispot/chillispot-0.98/.mtn2git_empty0
-rw-r--r--packages/chillispot/chillispot-0.98/no-ansi.patch10
-rw-r--r--packages/chillispot/chillispot-1.0RC3/.mtn2git_empty0
-rw-r--r--packages/chillispot/chillispot-1.0RC3/no-ansi.patch11
4 files changed, 21 insertions, 0 deletions
diff --git a/packages/chillispot/chillispot-0.98/.mtn2git_empty b/packages/chillispot/chillispot-0.98/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/chillispot/chillispot-0.98/.mtn2git_empty
diff --git a/packages/chillispot/chillispot-0.98/no-ansi.patch b/packages/chillispot/chillispot-0.98/no-ansi.patch
new file mode 100644
index 0000000000..3a58433d87
--- /dev/null
+++ b/packages/chillispot/chillispot-0.98/no-ansi.patch
@@ -0,0 +1,10 @@
+--- chillispot-0.98/src/Makefile.am.org 2006-02-01 11:04:39.086469680 +0100
++++ chillispot-0.98/src/Makefile.am 2006-02-01 11:04:46.451350048 +0100
+@@ -1,6 +1,6 @@
+ sbin_PROGRAMS = chilli
+
+-AM_CFLAGS = -D_GNU_SOURCE -fno-builtin -ansi -DSBINDIR='"$(sbindir)"'
++AM_CFLAGS = -D_GNU_SOURCE -fno-builtin -DSBINDIR='"$(sbindir)"'
+
+ chilli_SOURCES = chilli.c defs.h tun.c tun.h cmdline.c cmdline.h ippool.c ippool.h radius.h radius.c md5.c md5.h redir.h redir.c dhcp.c dhcp.h syserr.c syserr.h iphash.c iphash.h
+
diff --git a/packages/chillispot/chillispot-1.0RC3/.mtn2git_empty b/packages/chillispot/chillispot-1.0RC3/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/chillispot/chillispot-1.0RC3/.mtn2git_empty
diff --git a/packages/chillispot/chillispot-1.0RC3/no-ansi.patch b/packages/chillispot/chillispot-1.0RC3/no-ansi.patch
new file mode 100644
index 0000000000..3a3ffab9a2
--- /dev/null
+++ b/packages/chillispot/chillispot-1.0RC3/no-ansi.patch
@@ -0,0 +1,11 @@
+--- chillispot-1.0RC3/src/Makefile.am.org 2006-02-01 10:43:45.628024328 +0100
++++ chillispot-1.0RC3/src/Makefile.am 2006-02-01 10:43:50.922219488 +0100
+@@ -1,7 +1,7 @@
+ sbin_PROGRAMS = chilli
+
+ # add -pg to enable gprof
+-AM_CFLAGS = -D_GNU_SOURCE -fno-builtin -ansi -DSBINDIR='"$(sbindir)"'
++AM_CFLAGS = -D_GNU_SOURCE -fno-builtin -DSBINDIR='"$(sbindir)"'
+
+ chilli_SOURCES = chilli.c defs.h tun.c tun.h cmdline.c cmdline.h ippool.c ippool.h radius.h radius.c md5.c md5.h redir.h redir.c dhcp.c dhcp.h syserr.c syserr.h iphash.c iphash.h lookup.c lookup.h
+