From 5d04d85a49ab8adb9e3ed2c371cf19fba571be8b Mon Sep 17 00:00:00 2001 From: fbrosson Date: Tue, 9 Feb 2016 01:02:34 +0100 Subject: [PATCH] =?UTF-8?q?lighttpd:=20also=20patch=20configure=20(std=3Dg?= =?UTF-8?q?nu99=20=E2=86=92=20std=3Dgnu9x)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Workaround an issue about the configure script not being regenerated from configure.ac. Instead of changing the BUILD block of the recipe, adding a tiny patch for the configure script is easy and works fine. --- .../lighttpd/patches/lighttpd-1.4.39.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/www-servers/lighttpd/patches/lighttpd-1.4.39.patch b/www-servers/lighttpd/patches/lighttpd-1.4.39.patch index 0f5db7e4a..7d17f8615 100644 --- a/www-servers/lighttpd/patches/lighttpd-1.4.39.patch +++ b/www-servers/lighttpd/patches/lighttpd-1.4.39.patch @@ -9,3 +9,25 @@ fi AC_ARG_ENABLE(extra-warnings, +--- lighttpd-1.4.39/configure 2016-01-02 11:47:11.000000000 +0000 ++++ lighttpd-1.4.39-haiku/configure +@@ -16726,8 +16726,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -std=gnu99" >&5 +-$as_echo_n "checking if $CC supports -std=gnu99... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -std=gnu9x" >&5 ++$as_echo_n "checking if $CC supports -std=gnu9x... " >&6; } + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -16735,7 +16735,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + ac_try_cflags_saved_cflags="${CFLAGS}" +- CFLAGS="${CFLAGS} -std=gnu99" ++ CFLAGS="${CFLAGS} -std=gnu9x" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +