[Pkg-ocaml-maint-commits] r2347 - in trunk/packages/ocaml/trunk/debian: . patches

Julien Cristau jcristau-guest at costa.debian.org
Tue Jan 3 16:08:27 UTC 2006


Author: jcristau-guest
Date: 2006-01-03 16:08:27 +0000 (Tue, 03 Jan 2006)
New Revision: 2347

Added:
   trunk/packages/ocaml/trunk/debian/patches/sparc_needs_double_align.dpatch
Modified:
   trunk/packages/ocaml/trunk/debian/changelog
Log:
Patch configure to correctly detect sparc machines, and thus align doubles
on double-word boundaries (closes: #338437).


Modified: trunk/packages/ocaml/trunk/debian/changelog
===================================================================
--- trunk/packages/ocaml/trunk/debian/changelog	2006-01-03 13:31:39 UTC (rev 2346)
+++ trunk/packages/ocaml/trunk/debian/changelog	2006-01-03 16:08:27 UTC (rev 2347)
@@ -1,11 +1,16 @@
 ocaml (3.09.0-5) UNRELEASED; urgency=low
 
+  [ Samuel Mimram ]
   * NOT RELEASED YET
   * Removing possibly leftover /usr/lib/ocaml/ld.conf, closes: #300846.
   * Added a watch file.
 
- -- Samuel Mimram <smimram at debian.org>  Tue, 27 Dec 2005 13:40:07 +0100
+  [ Julien Cristau ]
+  * Patch configure to correctly detect sparc machines, and thus align doubles
+    on double-word boundaries (closes: #338437).
 
+ -- Julien Cristau <julien.cristau at ens-lyon.org>  Tue,  3 Jan 2006 17:04:52 +0100
+
 ocaml (3.09.0-4) unstable; urgency=low
 
   [ Julien Cristau ]

Added: trunk/packages/ocaml/trunk/debian/patches/sparc_needs_double_align.dpatch
===================================================================
--- trunk/packages/ocaml/trunk/debian/patches/sparc_needs_double_align.dpatch	2006-01-03 13:31:39 UTC (rev 2346)
+++ trunk/packages/ocaml/trunk/debian/patches/sparc_needs_double_align.dpatch	2006-01-03 16:08:27 UTC (rev 2347)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## sparc_needs_double_align.dpatch
+##
+## DP: correctly detect sparc64 which needs to align doubles on double-word
+## DP: boundaries (bug#344615, upstream 3944)
+
+ at DPATCH@
+
+--- ocaml-3.09.0.orig/configure	8 Nov 2005 14:00:23 -0000	1.229
++++ ocaml-3.09.0/configure	3 Jan 2006 15:52:10 -0000
+@@ -400,7 +400,7 @@
+ # Determine alignment constraints
+ 
+ case "$host" in
+-  sparc-*-*|hppa*-*-*)
++  sparc*-*-*|hppa*-*-*)
+     # On Sparc V9 with certain versions of gcc, determination of double
+     # alignment is not reliable (PR#1521), hence force it.
+     # Same goes for hppa.




More information about the Pkg-ocaml-maint-commits mailing list