From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 9 09:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ADC7E6B6 for ; Fri, 9 May 2014 09:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B0B0C3C for ; Fri, 9 May 2014 09:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s499A0hF040004 for ; Fri, 9 May 2014 09:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s499A03c040003; Fri, 9 May 2014 09:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 9 May 2014 09:10:00 GMT Resent-Message-Id: <201405090910.s499A03c040003@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jaap Boender Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96F3340D for ; Fri, 9 May 2014 09:02:20 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A6DFBE4 for ; Fri, 9 May 2014 09:02:20 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4992JAD004184 for ; Fri, 9 May 2014 09:02:19 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4992JCO004176; Fri, 9 May 2014 09:02:19 GMT (envelope-from nobody) Message-Id: <201405090902.s4992JCO004176@cgiserv.freebsd.org> Date: Fri, 9 May 2014 09:02:19 GMT From: Jaap Boender To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/189498: [maintainer-update] [patch] Build fix for devel/ocaml-lwt X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 09:10:00 -0000 >Number: 189498 >Category: ports >Synopsis: [maintainer-update] [patch] Build fix for devel/ocaml-lwt >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri May 09 09:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jaap Boender >Release: 10.0-STABLE >Organization: >Environment: FreeBSD purcell.mdx.ac.uk 10.0-STABLE FreeBSD 10.0-STABLE #15 r264497: Tue Apr 15 12:43:19 BST 2014 root@purcell.mdx.ac.uk:/usr/obj/usr/src/sys/PURCELL amd64 >Description: The devel/ocaml-lwt port needs some changing to compile with ocaml 4.01. This has already been done upstream; this is a backport of the fix - upstream hasn't released a new version yet. >How-To-Repeat: install devel/ocaml-lwt with ocaml 4.01 >Fix: patch included. Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 352088) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= lwt PORTVERSION= 2.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://ocsigen.org/download/ PKGNAMEPREFIX= ocaml- Index: files/patch-src_unix_lwt_unix.ml =================================================================== --- files/patch-src_unix_lwt_unix.ml (revision 0) +++ files/patch-src_unix_lwt_unix.ml (working copy) @@ -0,0 +1,12 @@ +--- src/unix/lwt_unix.ml.orig 2014-05-07 13:01:03.000000000 +0100 ++++ src/unix/lwt_unix.ml 2014-05-07 13:01:36.000000000 +0100 +@@ -596,6 +596,9 @@ + #if ocaml_version >= (3, 13) + | O_SHARE_DELETE + #endif ++#if ocaml_version >= (4, 01) ++ | O_CLOEXEC ++#endif + + #if windows + Index: files/patch-src_unix_lwt_unix.mli =================================================================== --- files/patch-src_unix_lwt_unix.mli (revision 0) +++ files/patch-src_unix_lwt_unix.mli (working copy) @@ -0,0 +1,12 @@ +--- src/unix/lwt_unix.mli.orig 2014-05-07 13:01:48.000000000 +0100 ++++ src/unix/lwt_unix.mli 2014-05-07 13:02:09.000000000 +0100 +@@ -315,6 +315,9 @@ + #if ocaml_version >= (3, 13) + | O_SHARE_DELETE + #endif ++#if ocaml_version >= (4, 01) ++ | O_CLOEXEC ++#endif + + val openfile : string -> open_flag list -> file_perm -> file_descr Lwt.t + (** Wrapper for [Unix.openfile]. *) >Release-Note: >Audit-Trail: >Unformatted: