Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2016 01:07:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        apache@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 215594] www/apache24: [PATCH] Fix build with mpm_itk
Message-ID:  <bug-215594-16115-MxiklKR8PA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215594-16115@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215594-16115@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcelo Araujo <araujo@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to apache@FreeBSD.=
org:
Bug 215594: www/apache24: [PATCH] Fix build with mpm_itk
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215594



--- Description ---
Created attachment 178305
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178305&action=
=3Dedit
Fix the -Werror problem.

On FreeBSD I have found an issue, specially when we are building the module
mpm_itk together with the newest apache version 2.4.25 that makes the build
fail with an error.

the previous version:
usr/local/include/apache24/ap_config_auto.h:253:9: warning: 'PACKAGE_VERSIO=
N'
macro redefined [-Wmacro-redefined]
#define PACKAGE_VERSION ""


new version 2.4.25:
In file included from /usr/local/include/apache24/ap_config.h:138:
/usr/local/include/apache24/ap_config_auto.h:257:9: error: 'PACKAGE_VERSION'
macro redefined [-Werror,-Wmacro-redefined]
#define PACKAGE_VERSION ""

As you can see, apache package added on configure.in the option '-Werror', =
the
macro-redefined before was just a warning but now the build fail with an er=
ror.

This patch fix the issue, basically I'm removing the -Werror.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215594-16115-MxiklKR8PA>