Bug#699849: fix for double-conversion (= 2.0.1-1) on m68k

Thorsten Glaser tg at mirbsd.de
Thu Feb 19 22:20:52 UTC 2015


tags 699849 + patch
severity 699849 important
thanks

Hi,

for the meanwhile (until the upstream fix trickles down into a
released version and into Debian), the attached patch also fixes
this issue.

bye,
//mirabilos
-- 
<dileks> ch: good, you corrected yourself. ppl tend to tweet such news
immediately, sth. like "grml devs seem to be buyable"    <ch> dileks: we
_are_. if you throw enough money in our direction, things will happen
<mika> everyone is buyable, it's just a matter of price   <mrud> and now
comes [mira] and uses this as a signature ;0	   -- they asked for it…
-------------- next part --------------
diff -Nru double-conversion-2.0.1/debian/changelog double-conversion-2.0.1/debian/changelog
--- double-conversion-2.0.1/debian/changelog	2014-01-27 18:17:27.000000000 +0000
+++ double-conversion-2.0.1/debian/changelog	2015-02-19 18:01:38.000000000 +0000
@@ -1,3 +1,9 @@
+double-conversion (2.0.1-1+m68k.1) unreleased; urgency=medium
+
+  * Port to m68k (Closes: #699849)
+
+ -- Thorsten Glaser <tg at mirbsd.de>  Thu, 19 Feb 2015 17:58:19 +0000
+
 double-conversion (2.0.1-1) unstable; urgency=medium
 
   * Imported Upstream version 2.0.1
diff -Nru double-conversion-2.0.1/debian/patches/fix_m68k.diff double-conversion-2.0.1/debian/patches/fix_m68k.diff
--- double-conversion-2.0.1/debian/patches/fix_m68k.diff	1970-01-01 00:00:00.000000000 +0000
+++ double-conversion-2.0.1/debian/patches/fix_m68k.diff	2015-02-19 17:57:53.000000000 +0000
@@ -0,0 +1,12 @@
+--- a/src/utils.h
++++ b/src/utils.h
+@@ -70,6 +70,9 @@
+ #else
+ #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS
+ #endif  // _WIN32
++#elif defined(__m68k__)
++// The MC68881 also uses an 80bit wide floating point stack.
++#undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS
+ #else
+ #error Target architecture was not detected as supported by Double-Conversion.
+ #endif
diff -Nru double-conversion-2.0.1/debian/patches/series double-conversion-2.0.1/debian/patches/series
--- double-conversion-2.0.1/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ double-conversion-2.0.1/debian/patches/series	2015-02-19 17:57:18.000000000 +0000
@@ -0,0 +1 @@
+fix_m68k.diff


More information about the debian-science-maintainers mailing list