Browse Source

fix building against Perl 5.22

master
parent
commit
57bec9bfd5
  1. 13
      apache-perl/apache-perl.patch
  2. 4
      apache-perl/apache-perl.spec

13
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

4
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

Loading…
Cancel
Save