vapier      15/05/24 02:45:01

  Added:                mod_perl-2.0.4-inline.patch
  Log:
  Use inline patch from Fedora to fix build w/gcc-5 #550244.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.1                  www-apache/mod_perl/files/mod_perl-2.0.4-inline.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_perl/files/mod_perl-2.0.4-inline.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_perl/files/mod_perl-2.0.4-inline.patch?rev=1.1&content-type=text/plain

Index: mod_perl-2.0.4-inline.patch
===================================================================
https://bugs.gentoo.org/550244

taken from Fedora:
http://pkgs.fedoraproject.org/cgit/mod_perl.git/tree/mod_perl-2.0.4-inline.patch?h=f22

fixes building with gcc-5:
apache2: Syntax error on line 148 of /etc/apache2/httpd.conf:
Syntax error on line 2 of /etc/apache2/modules.d/75_mod_perl.conf:
Cannot load modules/mod_perl.so into server:
/usr/lib64/apache2/modules/mod_perl.so: undefined symbol: modperl_handler_name

--- mod_perl-2.0.4/src/modules/perl/modperl_common_util.h.inline
+++ mod_perl-2.0.4/src/modules/perl/modperl_common_util.h
@@ -22,7 +22,7 @@
 #ifdef MP_DEBUG
 #define MP_INLINE
 #else
-#define MP_INLINE APR_INLINE
+#define MP_INLINE
 #endif
 
 #ifdef CYGWIN




Reply via email to