diff options
| -rw-r--r-- | www/suphp/Makefile | 1 | ||||
| -rw-r--r-- | www/suphp/files/patch-src_SmartPtr.hpp | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/www/suphp/Makefile b/www/suphp/Makefile index d847bcbba6e0..fe763236a84e 100644 --- a/www/suphp/Makefile +++ b/www/suphp/Makefile @@ -21,6 +21,7 @@ USE_AUTOTOOLS= aclocal:env automake:env autoconf:env libtool:env # Maintainer has not tested suPHP 0.6.x on Apache 1.3. USE_APACHE= 20+ CFLAGS+= -I${LOCALBASE}/include +USE_CSTD= gnu89 USE_PHP= yes WANT_PHP_CGI= yes diff --git a/www/suphp/files/patch-src_SmartPtr.hpp b/www/suphp/files/patch-src_SmartPtr.hpp new file mode 100644 index 000000000000..ce0bae544f89 --- /dev/null +++ b/www/suphp/files/patch-src_SmartPtr.hpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_SmartPtr.hpp,v 1.1 2011/09/21 12:54:16 adam Exp $ + +Fix C++ syntax + +--- src/SmartPtr.hpp.orig 2011-09-21 12:48:02.000000000 +0000 ++++ src/SmartPtr.hpp +@@ -150,7 +150,7 @@ namespace suPHP { + template<class T> + const SmartPtr<T>& suPHP::SmartPtr<T>::operator=( + const SmartPtr<T>& ref) { +- this.reset(ref.ptr); ++ this->reset(ref.ptr); + return *this; + } + |
