From burelle@lri.fr  Mon Dec  5 07:42:25 2005
Return-Path: <burelle@lri.fr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 328EE16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Dec 2005 07:42:25 +0000 (GMT)
	(envelope-from burelle@lri.fr)
Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E5B5643D8A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Dec 2005 07:42:06 +0000 (GMT)
	(envelope-from burelle@lri.fr)
Received: from melkor.kh405.net (plb95-2-82-236-78-224.fbx.proxad.net [82.236.78.224])
	by smtp4-g19.free.fr (Postfix) with ESMTP id 510924A962;
	Mon,  5 Dec 2005 08:41:49 +0100 (CET)
Received: from melkor.kh405.net (localhost [127.0.0.1])
	by melkor.kh405.net (Postfix) with ESMTP id 17AE7683E;
	Mon,  5 Dec 2005 08:41:40 +0100 (CET)
Message-Id: <1133768500.0@melkor.kh405.net>
Date: Mon, 5 Dec 2005 08:41:40 +0100
From: "Marwan Burelle" <burelle@lri.fr>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Cc: burelle@lri.fr
Subject: [maintainer-update] devel/ocaml-ulex : fix a bug with OCaml 3.09
X-Send-Pr-Version: gtk-send-pr 0.4.6 
X-GNATS-Notify: marwan.burelle@lri.fr

>Number:         89963
>Category:       ports
>Synopsis:       [maintainer-update] devel/ocaml-ulex : fix a bug with OCaml 3.09
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 05 07:50:02 GMT 2005
>Closed-Date:    Mon Dec 05 17:03:33 GMT 2005
>Last-Modified:  Mon Dec 05 17:03:33 GMT 2005
>Originator:     Marwan Burelle
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
http://www.cduce.org 
>Environment:


System: FreeBSD 6.0-RELEASE #0: Fri Nov 18 19:48:43 CET 2005
    root@melkor.kh405.net:/usr/obj/usr/src/sys/Ker_Melkor



>Description:


Some error in a script prevent ocaml-ulex building with OCaml 3.09.


>How-To-Repeat:





>Fix:


--- patch-ocaml-ulex begins here ---
diff -ruN ocaml-ulex.orig/Makefile ocaml-ulex/Makefile
--- ocaml-ulex.orig/Makefile	Mon Dec  5 08:38:58 2005
+++ ocaml-ulex/Makefile	Mon Dec  5 08:34:11 2005
@@ -8,7 +8,7 @@
 
 PORTNAME=	ulex
 PORTVERSION=	0.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	http://www.cduce.org/download/
 PKGNAMEPREFIX=	ocaml-
diff -ruN ocaml-ulex.orig/distinfo ocaml-ulex/distinfo
--- ocaml-ulex.orig/distinfo	Mon Dec  5 08:38:58 2005
+++ ocaml-ulex/distinfo	Mon Dec  5 08:37:33 2005
@@ -1,2 +1,3 @@
 MD5 (ulex-0.7.tar.gz) = cb70dcb25b1f8119abde0bf2b29c1492
+SHA256 (ulex-0.7.tar.gz) = 63997e25277ca4edd827502bbb09b14ae852299b59bea0f8286519d4c51c02fa
 SIZE (ulex-0.7.tar.gz) = 17444
diff -ruN ocaml-ulex.orig/files/patch-pa_ulex::mk_pa_ulex ocaml-ulex/files/patch-pa_ulex::mk_pa_ulex
--- ocaml-ulex.orig/files/patch-pa_ulex::mk_pa_ulex	Thu Jan  1 01:00:00 1970
+++ ocaml-ulex/files/patch-pa_ulex::mk_pa_ulex	Mon Dec  5 08:31:39 2005
@@ -0,0 +1,9 @@
+--- mk_pa_ulex.ml.orig	Mon Dec  5 08:30:22 2005
++++ mk_pa_ulex.ml	Mon Dec  5 08:30:33 2005
+@@ -1,5 +1,5 @@
+ let s = float_of_string (String.sub (Sys.ocaml_version) 0 4) in
+-if (s <= 3.09) then (
++if (s < 3.09) then (
+   print_endline "Old camlp4 (loc)";
+   Sys.command "sed s/_loc/loc/ < pa_ulex.ml.src > pa_ulex.ml"
+ )
diff -ruN ocaml-ulex.orig/pkg-descr ocaml-ulex/pkg-descr
--- ocaml-ulex.orig/pkg-descr	Mon Dec  5 08:38:58 2005
+++ ocaml-ulex/pkg-descr	Mon Dec  5 08:34:42 2005
@@ -1 +1 @@
-Ulex: A OCaml lexer generator for Unicode.
+Ulex: An OCaml lexer generator for Unicode.
--- patch-ocaml-ulex ends here ---



>Release-Note:
>Audit-Trail:
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Mon Dec 5 07:54:17 GMT 2005 
Class-Changed-Why:  
Fix category (submitter is not maintainer) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89963 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Dec 5 07:54:26 GMT 2005 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89963 

From: Marwan Burelle <burelle@lri.fr>
To: bug-followup@FreeBSD.org
Cc: marwan.burelle@lri.fr
Subject: Re: ports/89963: [maintainer-update] devel/ocaml-ulex : fix a bug with OCaml 3.09
Date: Mon, 5 Dec 2005 08:58:25 +0100

 --eJnRUKwClWJh1Khz
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Mon, Dec 05, 2005 at 07:54:21AM +0000, Edwin Groothuis wrote:
 > Maintainer of devel/ocaml-ulex,
 >=20
 > Please note that PR ports/89963 has just been submitted.
 >=20
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 
 I agree (the PR comes from me.)
 
   Marwan Burelle.
 
 --=20
 Marwan Burelle,
 http://www.lri.fr/~burelle
 ( burelle@lri.fr | Marwan.Burelle@ens.fr )
 http://www.cduce.org
 --eJnRUKwClWJh1Khz
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (FreeBSD)
 
 iD8DBQFDk/MhI+2UvUKfgvgRAkt2AJ9IU4ftB4lSacUqtN3zGfeDl9fUDgCgoHdC
 0m2KUDMQd5tTopbYCU2WHeU=
 =RXTa
 -----END PGP SIGNATURE-----
 
 --eJnRUKwClWJh1Khz--
State-Changed-From-To: feedback->open 
State-Changed-By: garga 
State-Changed-When: Mon Dec 5 09:53:47 GMT 2005 
State-Changed-Why:  
Submitter is really the maintainer, so, reopen, fix class and take it. 


Class-Changed-From-To: change-request->maintainer-update 
Class-Changed-By: garga 
Class-Changed-When: Mon Dec 5 09:53:47 GMT 2005 
Class-Changed-Why:  
Submitter is really the maintainer, so, reopen, fix class and take it. 


Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: garga 
Responsible-Changed-When: Mon Dec 5 09:53:47 GMT 2005 
Responsible-Changed-Why:  
Submitter is really the maintainer, so, reopen, fix class and take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89963 
State-Changed-From-To: open->closed 
State-Changed-By: garga 
State-Changed-When: Mon Dec 5 17:03:32 GMT 2005 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89963 
>Unformatted:
