On 2018/01/07 18:56, Chris Bennett wrote: > I did find this problem with using clang. > > https://marc.info/?l=apache-modperl&m=143930336811571&w=2 > http://clang.llvm.org/compatibility.html#inline > > Not sure if useful > > Chris Bennett >
It is, thanks. Please give this a spin. Index: Makefile =================================================================== RCS file: /cvs/ports/www/ap2-mod_perl/Makefile,v retrieving revision 1.39 diff -u -p -r1.39 Makefile --- Makefile 12 Oct 2016 11:05:05 -0000 1.39 +++ Makefile 7 Jan 2018 22:20:45 -0000 @@ -3,7 +3,7 @@ COMMENT= module that embeds a Perl interpreter into Apache2 DISTNAME= mod_perl-2.0.9 -REVISION= 2 +REVISION= 3 PKGNAME= ap2-${DISTNAME:S/-rc/rc/} CATEGORIES= www net Index: patches/patch-src_modules_perl_modperl_common_util_h =================================================================== RCS file: patches/patch-src_modules_perl_modperl_common_util_h diff -N patches/patch-src_modules_perl_modperl_common_util_h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_modules_perl_modperl_common_util_h 7 Jan 2018 22:20:45 -0000 @@ -0,0 +1,16 @@ +$OpenBSD$ + +https://marc.info/?l=apache-modperl&m=143930336811571&w=2 + +Index: src/modules/perl/modperl_common_util.h +--- src/modules/perl/modperl_common_util.h.orig ++++ src/modules/perl/modperl_common_util.h +@@ -19,7 +19,7 @@ + #ifndef MODPERL_COMMON_UTIL_H + #define MODPERL_COMMON_UTIL_H + +-#ifdef MP_DEBUG ++#if defined(MP_DEBUG) || defined(__clang__) + #define MP_INLINE + #else + #define MP_INLINE APR_INLINE