[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215594

            Bug ID: 215594
           Summary: www/apache24: [PATCH] Fix build with mpm_itk
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: apache at FreeBSD.org
          Reporter: araujo at FreeBSD.org
             Flags: maintainer-feedback?(apache at FreeBSD.org)
          Keywords: patch
          Assignee: apache at FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-apache mailing list