From: Julien Cristau Date: Tue, 3 Jan 2006 16:08:27 +0000 (+0000) Subject: Patch configure to correctly detect sparc machines, and thus align doubles X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~679 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cdbeac31a15dbf09b6e237e71a25fbe115387801;p=ocaml.git Patch configure to correctly detect sparc machines, and thus align doubles on double-word boundaries (closes: #338437). --- diff --git a/debian/changelog b/debian/changelog index 2cbf14fb..fa0650c7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,15 @@ 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 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 Tue, 3 Jan 2006 17:04:52 +0100 ocaml (3.09.0-4) unstable; urgency=low diff --git a/debian/patches/sparc_needs_double_align.dpatch b/debian/patches/sparc_needs_double_align.dpatch new file mode 100644 index 00000000..d0899082 --- /dev/null +++ b/debian/patches/sparc_needs_double_align.dpatch @@ -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) + +@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.