Source: dmagnetic
Version: 0.25-1
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/fetch.php?pkg=dmagnetic&arch=i386&ver=0.25-1&stamp=1595804868&raw=0

...
Initializing the 68K version 0 VM
check-high_ansi OK
*** dMagnetic 0.25
*** Use at your own risk
*** (C)opyright 2020 by det...@dettus.net
*****************************************

Using .ini file: dMagnetic.ini
Warning! -mag given, but not -gfx. Deducing filename
Initializing the 68K version 0 VM
check-sixel failed
make[1]: *** [checks.mk:104: check-sixel] Error 1


If exact floating points are required, the following fixes it:

--- debian/rules.old    2020-07-30 09:01:53.400678013 +0300
+++ debian/rules        2020-07-30 09:02:37.400712152 +0300
@@ -3,6 +3,9 @@
 export DH_VERBOSE = 1
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+ifneq (,$(filter $(DEB_HOST_ARCH), i386))
+  export DEB_CFLAGS_MAINT_APPEND += -ffloat-store
+endif
 export SHA256_CMD=sha256sum
 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 #export DEB_RULES_REQUIRES_ROOT = ""

Reply via email to