From ee08fc60e5738bfa9d02876d8374492f5ca168ea Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Sat, 3 Feb 2018 13:36:44 +0000 Subject: - Fix opensp build with clang 6 - While here convert to USES=localbase PR: 225307 Submitted by: me Approved by: Maintainer timeout --- textproc/opensp/files/patch-include_Ptr.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 textproc/opensp/files/patch-include_Ptr.h (limited to 'textproc/opensp/files/patch-include_Ptr.h') 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 { (public) + const T *operator->() const { return Ptr::pointer(); } + const T &operator*() const { return *Ptr::pointer(); } + void swap(ConstPtr &p) { Ptr::swap(p); } +- Ptr::isNull; +- Ptr::clear; ++ using Ptr::isNull; ++ using Ptr::clear; + Boolean operator==(const Ptr &p) const { return Ptr::operator==(p); } + Boolean operator!=(const Ptr &p) const { return Ptr::operator!=(p); } + Boolean operator==(const ConstPtr &p) const { -- cgit v1.2.3