pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ocaml



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Oct  1 09:52:51 UTC 2019

Modified Files:
        pkgsrc/lang/ocaml: distinfo
        pkgsrc/lang/ocaml/patches: patch-otherlibs_systhreads_st__stubs.c

Log Message:
ocaml: use the narrower scoped _POSIX_PTHREAD_SEMANTICS

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


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 pkgsrc/lang/ocaml/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ocaml/distinfo
diff -u pkgsrc/lang/ocaml/distinfo:1.130 pkgsrc/lang/ocaml/distinfo:1.131
--- pkgsrc/lang/ocaml/distinfo:1.130    Tue Oct  1 09:07:33 2019
+++ pkgsrc/lang/ocaml/distinfo  Tue Oct  1 09:52:51 2019
@@ -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) = 7f0a90c
 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

Index: pkgsrc/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c
diff -u pkgsrc/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c:1.1 pkgsrc/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c:1.2
--- pkgsrc/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c:1.1        Tue Oct  1 09:07:33 2019
+++ pkgsrc/lang/ocaml/patches/patch-otherlibs_systhreads_st__stubs.c    Tue Oct  1 09:52:51 2019
@@ -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 SmartO
  #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