summaryrefslogtreecommitdiff
path: root/textproc/opensp/files/patch-include_Ptr.h
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2018-02-03 13:36:44 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2018-02-03 13:36:44 +0000
commitee08fc60e5738bfa9d02876d8374492f5ca168ea (patch)
treea762f4094545ebc68c8b8a8ffbcf3c35109aebb4 /textproc/opensp/files/patch-include_Ptr.h
parentUpdate entry of w3m vulnerabilities. (diff)
- Fix opensp build with clang 6
- While here convert to USES=localbase PR: 225307 Submitted by: me Approved by: Maintainer timeout
Notes
Notes: svn path=/head/; revision=460812
Diffstat (limited to 'textproc/opensp/files/patch-include_Ptr.h')
-rw-r--r--textproc/opensp/files/patch-include_Ptr.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/opensp/files/patch-include_Ptr.h b/textproc/opensp/files/patch-include_Ptr.h
new file mode 100644
index 000000000000..a0756656525b
--- /dev/null
+++ b/textproc/opensp/files/patch-include_Ptr.h
@@ -0,0 +1,13 @@
+--- include/Ptr.h.orig 2005-07-21 14:04:39 UTC
++++ include/Ptr.h
+@@ -69,8 +69,8 @@ class ConstPtr : private Ptr<T> { (public)
+ const T *operator->() const { return Ptr<T>::pointer(); }
+ const T &operator*() const { return *Ptr<T>::pointer(); }
+ void swap(ConstPtr<T> &p) { Ptr<T>::swap(p); }
+- Ptr<T>::isNull;
+- Ptr<T>::clear;
++ using Ptr<T>::isNull;
++ using Ptr<T>::clear;
+ Boolean operator==(const Ptr<T> &p) const { return Ptr<T>::operator==(p); }
+ Boolean operator!=(const Ptr<T> &p) const { return Ptr<T>::operator!=(p); }
+ Boolean operator==(const ConstPtr<T> &p) const {