diff --git a/apache-perl/apache-perl.patch b/apache-perl/apache-perl.patch new file mode 100644 index 0000000000..9a3d47eb93 --- /dev/null +++ b/apache-perl/apache-perl.patch @@ -0,0 +1,13 @@ +Index: src/modules/perl/modperl_perl_includes.h +--- src/modules/perl/modperl_perl_includes.h.orig 2011-02-08 03:00:10.000000000 +0100 ++++ src/modules/perl/modperl_perl_includes.h 2015-06-06 10:26:27.135329036 +0200 +@@ -78,9 +78,6 @@ + + /* avoiding -Wall warning */ + +-#undef dNOOP +-#define dNOOP extern int __attribute__ ((unused)) Perl___notused +- + #ifndef G_METHOD + # define G_METHOD 64 + #endif diff --git a/apache-perl/apache-perl.spec b/apache-perl/apache-perl.spec index 34a86584dc..43d206b801 100644 --- a/apache-perl/apache-perl.spec +++ b/apache-perl/apache-perl.spec @@ -32,12 +32,13 @@ Class: BASE Group: Web License: Artistic/GPL Version: 2.0.8 -Release: 20130520 +Release: 20150606 # list of sources Source0: http://www.cpan.org/authors/id/P/PH/PHRED/mod_perl-%{version}.tar.gz Source1: apache-perl.pl Source2: apache-perl.conf +Patch0: apache-perl.patch # build information BuildPreReq: OpenPKG, openpkg >= 20100101, perl-openpkg @@ -69,6 +70,7 @@ PreReq: apache, perl %prep %setup -q -n mod_perl-%{version} + %patch -p0 %build # configure toolkit