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:   [Bug 215594] www/apache24: [PATCH] Fix build with mpm_itk
Message-ID:  <bug-215594-16115@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: araujo@FreeBSD.org
             Flags: maintainer-feedback?(apache@FreeBSD.org)
          Keywords: patch
          Assignee: apache@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.

help

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