From 005ccbff6b2c8c9e36abb1802166befd8cc256e5 Mon Sep 17 00:00:00 2001 From: Martin Dietze Date: Fri, 8 Sep 2006 13:06:05 +0000 Subject: 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 --- packages/chillispot/chillispot-1.0RC3/no-ansi.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/chillispot/chillispot-1.0RC3/no-ansi.patch (limited to 'packages/chillispot/chillispot-1.0RC3/no-ansi.patch') 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 + -- cgit v1.2.3