pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/sablevm Fix pthread use.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2fc230b710bc
branches:  trunk
changeset: 358556:2fc230b710bc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 14 21:27:40 2017 +0000

description:
Fix pthread use.

diffstat:

 lang/sablevm/distinfo                                 |   3 ++-
 lang/sablevm/patches/patch-src_libsablevm_lib__init.c |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 0879eed5c672 -r 2fc230b710bc lang/sablevm/distinfo
--- a/lang/sablevm/distinfo     Tue Feb 14 21:27:04 2017 +0000
+++ b/lang/sablevm/distinfo     Tue Feb 14 21:27:40 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.9 2015/11/03 22:50:44 agc Exp $
+$NetBSD: distinfo,v 1.10 2017/02/14 21:27:40 joerg Exp $
 
 SHA1 (sablevm-1.13.tar.gz) = 153b403ca8a9d3a96c2a48ac0e25a4e5e7f05cfd
 RMD160 (sablevm-1.13.tar.gz) = b7ea39bf5437d4bd986ce0e3a016f2b6e0e7e173
 SHA512 (sablevm-1.13.tar.gz) = 7c31bb084ef7e47284284cbe6d56ad2020bba8e844b7a6bbb24a053ecc1870c7a3b0043ec0aaed71d04156008e4ee2ce5437ad525cab30e267cc944f9e84135d
 Size (sablevm-1.13.tar.gz) = 1336864 bytes
 SHA1 (patch-aa) = 87604aeeff2d5fe6463146d8f5687c38001c93cd
+SHA1 (patch-src_libsablevm_lib__init.c) = 5922f35661079abf1181f536eb6ac5958899a9b7
diff -r 0879eed5c672 -r 2fc230b710bc lang/sablevm/patches/patch-src_libsablevm_lib__init.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sablevm/patches/patch-src_libsablevm_lib__init.c     Tue Feb 14 21:27:40 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_libsablevm_lib__init.c,v 1.1 2017/02/14 21:27:40 joerg Exp $
+
+--- src/libsablevm/lib_init.c.orig     2017-01-10 10:03:21.519460366 +0000
++++ src/libsablevm/lib_init.c
+@@ -6,7 +6,7 @@
+  * modification of this source file.                               *
+  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+ 
+-static pthread_once_t _svmv_init_once = { PTHREAD_ONCE_INIT };        /* internal_init should only be called once! */
++static pthread_once_t _svmv_init_once = PTHREAD_ONCE_INIT;    /* internal_init should only be called once! */
+ static int _svmv_init_result = JNI_ERR;       /* JNI_OK when internal_init succeeds */
+ 
+ /*



Home | Main Index | Thread Index | Old Index