summaryrefslogtreecommitdiff
path: root/www/ap2-suphp
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-09-21 12:54:16 +0000
committeradam <adam@pkgsrc.org>2011-09-21 12:54:16 +0000
commite66b71427e95563872b04abe4e691402a5e5e722 (patch)
treefde61b4a1de57fbf0ff4103daa26c43ea678e489 /www/ap2-suphp
parent32eada317bac7e005257ad7a5dc65151eba6c7e9 (diff)
downloadpkgsrc-e66b71427e95563872b04abe4e691402a5e5e722.tar.gz
Fix building with Clang (C++ syntax error)
Diffstat (limited to 'www/ap2-suphp')
-rw-r--r--www/ap2-suphp/distinfo3
-rw-r--r--www/ap2-suphp/patches/patch-src_SmartPtr.hpp15
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;
+ }
+