[Pkg-ocaml-maint-commits] r2596 - in
trunk/packages/ocaml/trunk/debian: . patches
Julien Cristau
jcristau-guest at costa.debian.org
Thu Mar 9 16:49:28 UTC 2006
Author: jcristau-guest
Date: 2006-03-09 16:49:22 +0000 (Thu, 09 Mar 2006)
New Revision: 2596
Added:
trunk/packages/ocaml/trunk/debian/patches/pr_o.dpatch
Modified:
trunk/packages/ocaml/trunk/debian/changelog
trunk/packages/ocaml/trunk/debian/patches/00list
Log:
Add patch from upstream to fix handling of `new' in camlp4 (Closes: #355651).
Modified: trunk/packages/ocaml/trunk/debian/changelog
===================================================================
--- trunk/packages/ocaml/trunk/debian/changelog 2006-03-07 05:04:49 UTC (rev 2595)
+++ trunk/packages/ocaml/trunk/debian/changelog 2006-03-09 16:49:22 UTC (rev 2596)
@@ -2,8 +2,10 @@
* Remove dh_gencontrol line for ocaml-source from the binary-arch target
(ocaml-source is built in binary-indep).
+ * Add patch from upstream to fix handling of `new' in camlp4 (Closes:
+ #355651).
- -- Julien Cristau <julien.cristau at ens-lyon.org> Thu, 9 Feb 2006 20:25:12 +0100
+ -- Julien Cristau <julien.cristau at ens-lyon.org> Thu, 9 Mar 2006 17:39:56 +0100
ocaml (3.09.1-3) unstable; urgency=low
Modified: trunk/packages/ocaml/trunk/debian/patches/00list
===================================================================
--- trunk/packages/ocaml/trunk/debian/patches/00list 2006-03-07 05:04:49 UTC (rev 2595)
+++ trunk/packages/ocaml/trunk/debian/patches/00list 2006-03-09 16:49:22 UTC (rev 2596)
@@ -5,3 +5,4 @@
kbsd-gnu
alpha_ld_no-relax
call_ld_with_proper_flags
+pr_o
Added: trunk/packages/ocaml/trunk/debian/patches/pr_o.dpatch
===================================================================
--- trunk/packages/ocaml/trunk/debian/patches/pr_o.dpatch 2006-03-07 05:04:49 UTC (rev 2595)
+++ trunk/packages/ocaml/trunk/debian/patches/pr_o.dpatch 2006-03-09 16:49:22 UTC (rev 2596)
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## pr_o.dpatch by Julien Cristau <julien.cristau at ens-lyon.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Upstream fix for camlp4 (PR#3948, debian bug 355651)
+
+ at DPATCH@
+
+Index: camlp4/etc/pr_o.ml
+===================================================================
+RCS file: /net/yquem/devel/caml/repository/csl/camlp4/etc/pr_o.ml,v
+retrieving revision 1.49.2.1
+diff -u -r1.49.2.1 pr_o.ml
+--- camlp4/etc/pr_o.ml 3 Jan 2006 18:12:30 -0000 1.49.2.1
++++ camlp4/etc/pr_o.ml 5 Jan 2006 10:39:28 -0000
+@@ -1408,7 +1408,8 @@
+ <:expr< while $_$ do { $list:_$ } >> | <:expr< ($list: _$) >> |
+ <:expr< let $opt:_$ $list:_$ in $_$ >> |
+ <:expr< let module $_$ = $_$ in $_$ >> |
+- <:expr< new $list:_$ >> |
++ (* Note: `new' is treated differently in pa_o and in pa_r,
++ and should not occur at this level *)
+ <:expr< assert $_$ >> | <:expr< lazy $_$ >> as e ->
+ fun curr next dg k ->
+ [: `S LO "("; `expr e "" [: `HVbox [: `S RO ")"; k :] :] :]
More information about the Pkg-ocaml-maint-commits
mailing list