Control: tag 777935 patch On Thu, Feb 12, 2015 at 10:33:04AM +0000, Matthias Klose wrote: > Package: src:libapache2-mod-perl2 > Version: 2.0.9~1624218-2 > Severity: normal > Tags: sid stretch > User: [email protected] > Usertags: ftbfs-gcc-5
> Common build failures are C11 as the default C mode Right, thanks. The source currently relies on GNU89 inline semantics. The attached patch fixes / works around the problem for me with the -fgnu89-inline option. No other issues spotted. I've notified upstream. -- Niko Tyni [email protected]
>From 16a67fea09f12d2f4ed2e80dd83aa88af7e42cc8 Mon Sep 17 00:00:00 2001 From: Niko Tyni <[email protected]> Date: Tue, 16 Jun 2015 21:57:28 +0300 Subject: [PATCH] Build with -fgnu89-inline to fix problems with gcc-5. (Closes: #777935) The default inline semantics have changed in GCC 5 and will need changes in mod_perl source. Force the old semantics for now. The -fgnu89-inline option has been accepted since GCC 4.1.3. See https://gcc.gnu.org/gcc-5/porting_to.html --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index a9e2ed8..5667646 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,7 @@ override_dh_auto_configure: MP_TRACE=0 \ MP_USE_DSO=1 \ MP_USE_STATIC=0 \ - MP_CCOPTS="$(CFLAGS) -Wall" \ + MP_CCOPTS="$(CFLAGS) -Wall -fgnu89-inline" \ MP_APR_CONFIG=/usr/bin/apr-config override_dh_auto_build: -- 2.1.4

