diff options
author | maya <maya@pkgsrc.org> | 2019-10-01 09:52:51 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2019-10-01 09:52:51 +0000 |
commit | 438a9d3e2e18261905b8b49fc5f560ac8bc43dc9 (patch) | |
tree | fb65c22cb45a7c18fd16df091fa7fedb4618a354 /lang | |
parent | ca0133713c21a5d7a92f79a6214d225186c58e50 (diff) | |
download | pkgsrc-438a9d3e2e18261905b8b49fc5f560ac8bc43dc9.tar.gz |
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 (limited to 'lang')
-rw-r--r-- | lang/ocaml/distinfo | 4 | ||||
-rw-r--r-- | lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/ocaml/distinfo b/lang/ocaml/distinfo index 14808cb22fb..6ecf059e7fe 100644 --- a/lang/ocaml/distinfo +++ b/lang/ocaml/distinfo @@ -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_Makefile) = 7f0a90ca7849447b93ae4b3fcbc58901de1e996f 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 --git a/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c b/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c index dbdf5bb48c9..8bc38685b5c 100644 --- a/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c +++ b/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c @@ -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 @@ Make the POSIX sigwait visible on SmartOS #define CAML_INTERNALS +/* Needed for sigwait */ -+#define _XOPEN_SOURCE 500 ++#define _POSIX_PTHREAD_SEMANTICS + #include "caml/alloc.h" #include "caml/backtrace.h" |