summaryrefslogtreecommitdiff
path: root/packages/chillispot/chillispot-1.0RC3/no-ansi.patch
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/chillispot-1.0RC3/no-ansi.patch
parent21d5affb846356fd486b06656835164f0b29324e (diff)
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/chillispot-1.0RC3/no-ansi.patch')
-rw-r--r--packages/chillispot/chillispot-1.0RC3/no-ansi.patch11
1 files changed, 11 insertions, 0 deletions
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
+