diff options
author | adam <adam@pkgsrc.org> | 2011-09-21 12:54:16 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-09-21 12:54:16 +0000 |
commit | 276b49296d000d219224697f4fba9c69e6ba920e (patch) | |
tree | fde61b4a1de57fbf0ff4103daa26c43ea678e489 /www/ap2-suphp | |
parent | c2669132774333ad0f6e2171727551138a336cad (diff) | |
download | pkgsrc-276b49296d000d219224697f4fba9c69e6ba920e.tar.gz |
Fix building with Clang (C++ syntax error)
Diffstat (limited to 'www/ap2-suphp')
-rw-r--r-- | www/ap2-suphp/distinfo | 3 | ||||
-rw-r--r-- | www/ap2-suphp/patches/patch-src_SmartPtr.hpp | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/www/ap2-suphp/distinfo b/www/ap2-suphp/distinfo index 5dd60354794..16e9c7f5db0 100644 --- a/www/ap2-suphp/distinfo +++ b/www/ap2-suphp/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2011/04/11 19:57:54 gls Exp $ +$NetBSD: distinfo,v 1.6 2011/09/21 12:54:16 adam Exp $ SHA1 (suphp-0.7.1.tar.gz) = 9eb82b62b5f71c01d7d8b2510c685141b78e54f5 RMD160 (suphp-0.7.1.tar.gz) = e5e7e71494af322c3ab33d6a35fbcf96334c098c Size (suphp-0.7.1.tar.gz) = 386521 bytes +SHA1 (patch-src_SmartPtr.hpp) = 91c20832b140d6fa49ddb2a6fa9b616ff7fc565d diff --git a/www/ap2-suphp/patches/patch-src_SmartPtr.hpp b/www/ap2-suphp/patches/patch-src_SmartPtr.hpp new file mode 100644 index 00000000000..ce0bae544f8 --- /dev/null +++ b/www/ap2-suphp/patches/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; + } + |