Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 9299E7A3D6 for ; Wed, 6 Jul 2016 14:19:52 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 3FB3B84C86; Wed, 6 Jul 2016 14:19:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C525484CE5 for ; Wed, 6 Jul 2016 14:19:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Xm-gxBpbwGi3 for ; Wed, 6 Jul 2016 14:19:51 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 5298384C86 for ; Wed, 6 Jul 2016 14:19:51 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4D6EBFBB5; Wed, 6 Jul 2016 14:19:51 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_146781479156540" MIME-Version: 1.0 Date: Wed, 6 Jul 2016 14:19:51 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/lang/ocaml To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20160706141951.4D6EBFBB5@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_146781479156540 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_146781479156540 Content-Disposition: inline Content-Length: 2008 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 + #include --_----------=_146781479156540--