summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-12-17 23:30:12 +0000
committerjoerg <joerg@pkgsrc.org>2016-12-17 23:30:12 +0000
commit7a655a9d336af0696ce33f2e5b36fefe05a7a29c (patch)
tree4da5074752aa3ac91a96d0bae6c9673cf1e086e5
parentde50281ff35d9c2fdc640a5d570cc161d2b48d6b (diff)
downloadpkgsrc-7a655a9d336af0696ce33f2e5b36fefe05a7a29c.tar.gz
Friendship is not inherited, so list the class explicitly.
-rw-r--r--lang/qore/distinfo3
-rw-r--r--lang/qore/patches/patch-include_qore_ReferenceNode.h14
2 files changed, 16 insertions, 1 deletions
diff --git a/lang/qore/distinfo b/lang/qore/distinfo
index 1e651626548..e47e18d2ded 100644
--- a/lang/qore/distinfo
+++ b/lang/qore/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2016/12/09 19:00:18 nros Exp $
+$NetBSD: distinfo,v 1.7 2016/12/17 23:30:12 joerg Exp $
SHA1 (qore-0.8.12.4.tar.bz2) = 6c39c36a146c0c53a28024681d5b535d40788d1c
RMD160 (qore-0.8.12.4.tar.bz2) = 05b9590e2cac53e24acd44417c4fc16bc27e7254
SHA512 (qore-0.8.12.4.tar.bz2) = cfd730ce710e70e874813fbc7fe16a763a6b78f58de384ac00bca81022549e09f16d562dfbe221a03f800e0cc86035efd9dc900f6bdf385132feceaada726529
Size (qore-0.8.12.4.tar.bz2) = 22136459 bytes
+SHA1 (patch-include_qore_ReferenceNode.h) = df2dbac13ed9bc5dff4949bc654817e4c5335dd2
diff --git a/lang/qore/patches/patch-include_qore_ReferenceNode.h b/lang/qore/patches/patch-include_qore_ReferenceNode.h
new file mode 100644
index 00000000000..c8f8b1a0d18
--- /dev/null
+++ b/lang/qore/patches/patch-include_qore_ReferenceNode.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-include_qore_ReferenceNode.h,v 1.1 2016/12/17 23:30:12 joerg Exp $
+
+Friend relationship is not inherited, so be explicit where it is needed.
+
+--- include/qore/ReferenceNode.h.orig 2016-12-17 21:43:24.075336551 +0000
++++ include/qore/ReferenceNode.h
+@@ -45,6 +45,7 @@
+ class ReferenceNode : public AbstractQoreNode {
+ friend class RuntimeReferenceHelper;
+ friend class lvalue_ref;
++ template <class T> friend class LValueRefHelper;
+
+ private:
+ //! private implementation