pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ucommon Fix access to protected members.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf2e774874e3
branches:  trunk
changeset: 356153:cf2e774874e3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Dec 19 13:33:43 2016 +0000

description:
Fix access to protected members.

diffstat:

 devel/ucommon/distinfo                           |   3 ++-
 devel/ucommon/patches/patch-inc_ucommon_thread.h |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r face34a09a8d -r cf2e774874e3 devel/ucommon/distinfo
--- a/devel/ucommon/distinfo    Mon Dec 19 12:47:29 2016 +0000
+++ b/devel/ucommon/distinfo    Mon Dec 19 13:33:43 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 03:29:37 agc Exp $
+$NetBSD: distinfo,v 1.12 2016/12/19 13:33:43 joerg Exp $
 
 SHA1 (ucommon-6.3.1.tar.gz) = 82db4fda4b11589b0b02a2afb07a4f675edacfb9
 RMD160 (ucommon-6.3.1.tar.gz) = b58ac6dcd7b5e88fdc2e38703cddc9afd17175bf
@@ -7,4 +7,5 @@
 SHA1 (patch-commoncpp_tcp.cpp) = 312c1b4ee234852dcecb0ba2fbdf8813e7ca1704
 SHA1 (patch-commoncpp_udp.cpp) = 34607048d74a0c0142334179e43f481aa4affab7
 SHA1 (patch-configure) = 13335dcb186aa37a12e8dafcf64c077ccc543819
+SHA1 (patch-inc_ucommon_thread.h) = 7e90ba09c05e2d1e41525eb078add93746bf8a2d
 SHA1 (patch-utils_keywait.cpp) = 003bc190393f0b1c3e052605136ef9cf50bddc40
diff -r face34a09a8d -r cf2e774874e3 devel/ucommon/patches/patch-inc_ucommon_thread.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ucommon/patches/patch-inc_ucommon_thread.h  Mon Dec 19 13:33:43 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-inc_ucommon_thread.h,v 1.1 2016/12/19 13:33:43 joerg Exp $
+
+Friendship is not inherited.
+
+--- inc/ucommon/thread.h.orig  2016-12-18 09:48:45.932481633 +0000
++++ inc/ucommon/thread.h
+@@ -1252,6 +1252,8 @@ class __EXPORT SharedPointer : protected
+ {
+ private:
+     friend class shared_release;
++    template<class T> friend class shared_instance;
++
+     SharedObject *pointer;
+ 
+ protected:



Home | Main Index | Thread Index | Old Index