From b32c1c7cc6a0ab07881a9d99d9d794068f70d5f2 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 8 Jun 2012 20:17:35 +0200 Subject: [PATCH] Disable -ansi in Makefile.linux --- miniupnpd/Changelog.txt | 6 +++++- miniupnpd/Makefile.linux | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/miniupnpd/Changelog.txt b/miniupnpd/Changelog.txt index 72e88b4..b7c048d 100644 --- a/miniupnpd/Changelog.txt +++ b/miniupnpd/Changelog.txt @@ -1,4 +1,8 @@ -$Id: Changelog.txt,v 1.288 2012/05/31 09:32:39 nanard Exp $ +$Id: Changelog.txt,v 1.289 2012/06/08 18:16:30 nanard Exp $ + +2012/06/08: + Disable -ansi CFLAGS in Makefile.linux because recent iptables headers + make use of typeof keywork which is a GCC extension. 2012/05/31: Improvements in autodetecting firewall under (Free)BSD diff --git a/miniupnpd/Makefile.linux b/miniupnpd/Makefile.linux index 9d0fd3c..a999763 100644 --- a/miniupnpd/Makefile.linux +++ b/miniupnpd/Makefile.linux @@ -1,4 +1,4 @@ -# $Id: Makefile.linux,v 1.71 2012/05/23 08:46:14 nanard Exp $ +# $Id: Makefile.linux,v 1.72 2012/06/08 18:16:30 nanard Exp $ # MiniUPnP project # (c) 2006-2012 Thomas Bernard # http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ @@ -28,7 +28,7 @@ CFLAGS += -D_GNU_SOURCE CFLAGS += -Wall CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement #CFLAGS += -Wno-missing-field-initializers -CFLAGS += -ansi +#CFLAGS += -ansi # iptables headers does use typeof which is a gcc extension CC ?= gcc RM = rm -f INSTALL = install