Add www-apache/mod_perl from ::gentoo.
[mjo-overlay.git] / www-apache / mod_perl / files / mod_perl-2.0.4-inline.patch
1 https://bugs.gentoo.org/550244
2
3 taken from Fedora:
4 http://pkgs.fedoraproject.org/cgit/mod_perl.git/tree/mod_perl-2.0.4-inline.patch?h=f22
5
6 fixes building with gcc-5:
7 apache2: Syntax error on line 148 of /etc/apache2/httpd.conf:
8 Syntax error on line 2 of /etc/apache2/modules.d/75_mod_perl.conf:
9 Cannot load modules/mod_perl.so into server:
10 /usr/lib64/apache2/modules/mod_perl.so: undefined symbol: modperl_handler_name
11
12 --- mod_perl-2.0.4/src/modules/perl/modperl_common_util.h.inline
13 +++ mod_perl-2.0.4/src/modules/perl/modperl_common_util.h
14 @@ -22,7 +22,7 @@
15 #ifdef MP_DEBUG
16 #define MP_INLINE
17 #else
18 -#define MP_INLINE APR_INLINE
19 +#define MP_INLINE
20 #endif
21
22 #ifdef CYGWIN