Source: libtwin Followup-For: Bug #804273 Hello.
Please disregard previous patch. This one is a safer way to build it by just disabling altivec. That way, it can be assured that there will be no problems due to misuse. Patch attached. Thanks and regards.
diff -Nru libtwin-13.05.03.15.06-g287d16c/debian/changelog libtwin-13.05.03.15.06-g287d16c/debian/changelog --- libtwin-13.05.03.15.06-g287d16c/debian/changelog 2013-05-24 19:56:03.000000000 -0400 +++ libtwin-13.05.03.15.06-g287d16c/debian/changelog 2015-11-12 07:45:30.000000000 -0500 @@ -1,3 +1,11 @@ +libtwin (13.05.03.15.06-g287d16c-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * debian/rules: added conditional for --disable-altivec on ppc64el to fix + ftbfs. Added --with-autoreconf to build with dh-autoreconf + + -- Fernando Seiti Furusato <ferse...@br.ibm.com> Thu, 12 Nov 2015 07:44:43 -0500 + libtwin (13.05.03.15.06-g287d16c-2) unstable; urgency=low * debian/rules: Add conditional for --disable-linux-touchscreen. Fixes diff -Nru libtwin-13.05.03.15.06-g287d16c/debian/rules libtwin-13.05.03.15.06-g287d16c/debian/rules --- libtwin-13.05.03.15.06-g287d16c/debian/rules 2013-05-24 18:41:21.000000000 -0400 +++ libtwin-13.05.03.15.06-g287d16c/debian/rules 2015-11-12 07:43:39.000000000 -0500 @@ -22,6 +22,10 @@ --disable-linux-joystick --disable-linux-touchscreen endif +ifeq ($(DEB_HOST_ARCH_CPU), ppc64el) + extra_configure += --disable-altivec +endif + extra_CFLAGS = ifneq (,$(filter powerpc ppc64, $(DEB_HOST_ARCH_CPU))) @@ -32,7 +36,7 @@ export LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -lX11 -lpng12 -ljpeg -lz %: - dh $@ + dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- --enable-x11 $(extra_configure)