pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ocaml ocaml: use the narrower scoped _POSIX_PTHRE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be3dadf7b47d
branches:  trunk
changeset: 340263:be3dadf7b47d
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Oct 01 09:52:51 2019 +0000

description:
ocaml: use the narrower scoped _POSIX_PTHREAD_SEMANTICS

The wider _XOPEN_SOURCE might cause issues with older versions of smartos
and newer C standards.

diffstat:

 lang/ocaml/distinfo                                       |  4 ++--
 lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5db1e0c6f0a2 -r be3dadf7b47d lang/ocaml/distinfo
--- a/lang/ocaml/distinfo       Tue Oct 01 09:07:33 2019 +0000
+++ b/lang/ocaml/distinfo       Tue Oct 01 09:52:51 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.130 2019/10/01 09:07:33 maya Exp $
+$NetBSD: distinfo,v 1.131 2019/10/01 09:52:51 maya Exp $
 
 SHA1 (ocaml-4.08.1.tar.gz) = f89ae7513ee4f064c7db92066f9dd4ac085634e2
 RMD160 (ocaml-4.08.1.tar.gz) = a8c0b80d9b6ff52c9a5725eec3ce64adffd81ca6
@@ -21,7 +21,7 @@
 SHA1 (patch-ocamldoc_odoc__messages.ml) = 77f650a5f34f40b9648a8d5091e9aa31efb5734b
 SHA1 (patch-otherlibs_Makefile.otherlibs.common) = 2eb71de7bd659c763fb7efdf10af1812e135c904
 SHA1 (patch-otherlibs_systhreads_Makefile) = d6f7818487c156b101b6a78f0dc2824d57453e50
-SHA1 (patch-otherlibs_systhreads_st__stubs.c) = 36320714e92f2a3ad52135e4b7c66ffd286717f0
+SHA1 (patch-otherlibs_systhreads_st__stubs.c) = 99fd5e74e1e885b5288419a3499463d252b1b5f4
 SHA1 (patch-otherlibs_threads_Makefile) = 3ccc89021d808967bc958d295515ceca1c39c81d
 SHA1 (patch-runtime_Makefile) = 37b8e9b8d121b9066ccd38ce18a31f8d25369152
 SHA1 (patch-tools_Makefile) = e891408b43672b164a28f213713b7b211227a4af
diff -r 5db1e0c6f0a2 -r be3dadf7b47d lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c
--- a/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c Tue Oct 01 09:07:33 2019 +0000
+++ b/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c Tue Oct 01 09:52:51 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-otherlibs_systhreads_st__stubs.c,v 1.1 2019/10/01 09:07:33 maya Exp $
+$NetBSD: patch-otherlibs_systhreads_st__stubs.c,v 1.2 2019/10/01 09:52:51 maya Exp $
 
 Make the POSIX sigwait visible on SmartOS
 
@@ -9,7 +9,7 @@
  #define CAML_INTERNALS
  
 +/* Needed for sigwait */
-+#define _XOPEN_SOURCE 500
++#define _POSIX_PTHREAD_SEMANTICS
 +
  #include "caml/alloc.h"
  #include "caml/backtrace.h"



Home | Main Index | Thread Index | Old Index