maintainer-feedback requested: [Bug 215594] www/apache24: [PATCH] Fix build with mpm_itk

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 27 01:07:08 UTC 2016


Marcelo Araujo <araujo at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to apache at FreeBSD.org:
Bug 215594: www/apache24: [PATCH] Fix build with mpm_itk
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215594



--- Description ---
Created attachment 178305
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178305&action=edit
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_VERSION'
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 error.

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


More information about the freebsd-apache mailing list