Source: directfb
Version: 1.2.10.0-5
Severity: wishlist
Tags: patch
User: debian-...@lists.debian.org
Usertags: port-x32 ftbfs-x32

The directfb source package is failing to build on the unofficial
Debian x32 port:

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=directfb&arch=x32&ver=1.2.10.0-5&stamp=1358796362>:

...
Making all in generic
make[6]: Entering directory
`/build/buildd-directfb_1.2.10.0-5-x32-iL7MWd/directfb-1.2.10.0/directfb-build/src/gfx/generic'
/bin/bash ../../../libtool --tag=CC   --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../../src/gfx/generic -I../../..
-I../../../lib -I../../../include -I../../../../include
-I../../../../lib -I../../../../src  -D_REENTRANT -D_FORTIFY_SOURCE=2
-fomit-frame-pointer -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -ffast-math
-pipe -D_GNU_SOURCE  -Werror-implicit-function-declaration -MT
generic.lo -MD -MP -MF .deps/generic.Tpo -c -o generic.lo
../../../../src/gfx/generic/generic.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I.
-I../../../../src/gfx/generic -I../../.. -I../../../lib
-I../../../include -I../../../../include -I../../../../lib
-I../../../../src -D_REENTRANT -D_FORTIFY_SOURCE=2
-fomit-frame-pointer -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -ffast-math
-pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT
generic.lo -MD -MP -MF .deps/generic.Tpo -c
../../../../src/gfx/generic/generic.c  -fPIC -DPIC -o .libs/generic.o
../../../../src/gfx/generic/generic_mmx.h: Assembler messages:
../../../../src/gfx/generic/generic_mmx.h:188: Error: operand type
mismatch for `add'
make[6]: *** [generic.lo] Error 1
make[6]: Leaving directory
`/build/buildd-directfb_1.2.10.0-5-x32-iL7MWd/directfb-1.2.10.0/directfb-build/src/gfx/generic'
make[5]: *** [all-recursive] Error 1
...

I'm attaching a debdiff for a patch which fixes the build on x32.
(Note that I have no idea whether the resulting library actually works
-- my main concern was libsdl1.2 which Build-Depends on directfb.)
-- 
Daniel Schepler

Attachment: directfb.debdiff
Description: Binary data

Reply via email to