* add patch arm_ccheckbound_typo, fix a typing error typo which makes ocaml
authorStefano Zacchiroli <zack@debian.org>
Wed, 25 Jul 2007 15:53:07 +0000 (15:53 +0000)
committerStefano Zacchiroli <zack@debian.org>
Wed, 25 Jul 2007 15:53:07 +0000 (15:53 +0000)
  FTBFS on arm

debian/changelog
debian/patches/00list
debian/patches/arm_ccheckbound_typo.dpatch [new file with mode: 0755]

index fef4010011ac88e7c3615d47d95888445c3170e7..36e87e87ac8acee7f7633c684b9ed95387ed8631 100644 (file)
@@ -1,11 +1,14 @@
-ocaml (3.10.0-5) experimental; urgency=low
-  
-  [ Ralf Treinen ]
+ocaml (3.10.0-5) UNRELEASED; urgency=low
 
+  [ Ralf Treinen ]
   * ocaml-mode.emacsen-install: do not hardcode the emacs flavours for which
     to compile ocaml-mode (closes: Bug#433082)
 
- -- Ralf Treinen <treinen@debian.org>  Wed, 18 Jul 2007 18:31:31 +0200
+  [ Stefano Zacchiroli ]
+  * add patch arm_ccheckbound_typo, fix a typing error typo which makes ocaml
+    FTBFS on arm
+
+ -- Stefano Zacchiroli <zack@debian.org>  Wed, 25 Jul 2007 17:52:23 +0200
 
 ocaml (3.10.0-4) experimental; urgency=low
 
index dffcd3e7a560fe37a291833002c794614247411f..0fd76ca227f5effece2e6f00f5d25861a1567d88 100644 (file)
@@ -8,3 +8,4 @@ no_rpath.dpatch
 stdlib_man_section.dpatch
 install_scripts_config.dpatch
 install_ocamlbuild.dpatch
+arm_ccheckbound_typo.dpatch
diff --git a/debian/patches/arm_ccheckbound_typo.dpatch b/debian/patches/arm_ccheckbound_typo.dpatch
new file mode 100755 (executable)
index 0000000..4111347
--- /dev/null
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## arm_ccheckbound_typo.dpatch by Stefano Zacchiroli <zack@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix typo (which induce typing error and in turn FTBFS) in the usage of
+## DP: the Ccheckbound type constructore in the arm asm compiler
+
+@DPATCH@
+diff -urNad trunk~/asmcomp/arm/selection.ml trunk/asmcomp/arm/selection.ml
+--- trunk~/asmcomp/arm/selection.ml    2001-03-30 14:22:32.000000000 +0200
++++ trunk/asmcomp/arm/selection.ml     2007-07-25 17:51:02.000000000 +0200
+@@ -106,7 +106,7 @@
+       | _ ->
+           (Iextcall("__modsi3", false), args)
+       end
+-  | Ccheckbound ->
++  | Ccheckbound _ ->
+       begin match args with
+         [Cop(Clsr, [arg1; Cconst_int n]); arg2]
+         when n > 0 && n < 32 && not(is_intconst arg2) ->