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: jperkin
Date: Wed Jul 6 14:19:51 UTC 2016
Modified Files:
pkgsrc/lang/ocaml: distinfo
Added Files:
pkgsrc/lang/ocaml/patches: patch-otherlibs_bigarray_mmap__unix.c
Log Message:
Fix _XOPEN_SOURCE failure on SunOS.
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 pkgsrc/lang/ocaml/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/ocaml/patches/patch-otherlibs_bigarray_mmap__unix.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.94 pkgsrc/lang/ocaml/distinfo:1.95
--- pkgsrc/lang/ocaml/distinfo:1.94 Thu May 5 08:12:01 2016
+++ pkgsrc/lang/ocaml/distinfo Wed Jul 6 14:19:51 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.94 2016/05/05 08:12:01 jaapb Exp $
+$NetBSD: distinfo,v 1.95 2016/07/06 14:19:51 jperkin Exp $
SHA1 (ocaml-4.03.0.tar.gz) = 28773fd89507dbc400a366b886425436569e70d8
RMD160 (ocaml-4.03.0.tar.gz) = 774934e72746cd8b94ac732abdd47d7f06344fda
@@ -21,6 +21,7 @@ SHA1 (patch-ocamldoc_Makefile) = ba4e2c7
SHA1 (patch-ocamldoc_odoc__messages.ml) = 77f650a5f34f40b9648a8d5091e9aa31efb5734b
SHA1 (patch-otherlibs_Makefile) = 839485e6576dcee53420a1bb75f49f7168b12427
SHA1 (patch-otherlibs_Makefile.shared) = 86cd1c0e47f918b0231fdc341f27e742a8ae74b5
+SHA1 (patch-otherlibs_bigarray_mmap__unix.c) = 0cc724cf172b9e389a0ec05a7a25ab1f45ede037
SHA1 (patch-otherlibs_dynlink_Makefile) = f892254a5e5a01462ecbf68e45f9bfe5783158d3
SHA1 (patch-otherlibs_systhreads_Makefile) = d731864c613383b36846cae4961b7a221bd6160e
SHA1 (patch-otherlibs_threads_Makefile) = 47331a06a93eac68403fa2114495782430087f1e
Added files:
Index: pkgsrc/lang/ocaml/patches/patch-otherlibs_bigarray_mmap__unix.c
diff -u /dev/null pkgsrc/lang/ocaml/patches/patch-otherlibs_bigarray_mmap__unix.c:1.1
--- /dev/null Wed Jul 6 14:19:51 2016
+++ pkgsrc/lang/ocaml/patches/patch-otherlibs_bigarray_mmap__unix.c Wed Jul 6 14:19:51 2016
@@ -0,0 +1,16 @@
+$NetBSD: patch-otherlibs_bigarray_mmap__unix.c,v 1.1 2016/07/06 14:19:51 jperkin Exp $
+
+Avoid incompatible _XOPEN_SOURCE definition on SunOS.
+
+--- otherlibs/bigarray/mmap_unix.c.orig 2016-04-25 13:36:01.000000000 +0000
++++ otherlibs/bigarray/mmap_unix.c
+@@ -15,7 +15,9 @@
+
+ /* Needed (under Linux at least) to get pwrite's prototype in unistd.h.
+ Must be defined before the first system .h is included. */
++#ifndef __sun
+ #define _XOPEN_SOURCE 500
++#endif
+
+ #include <stddef.h>
+ #include <string.h>
Home |
Main Index |
Thread Index |
Old Index