Bug#745547: pixman: Disable vmx for ppc64el architecture
Package: pixman
Version: 0.32.4
Severity: wishlist
Dear Maintainer,
In order to be able to compile pixman on the ppc64el archictecture, the option
disable-vmx needs to be disabled at this initial moment. So, this patch adds the
--disable-vmx option during the configure process.
Thanks
Breno Leitao
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -uNpr pixman-0.32.4/debian/changelog pixman-0.32.4.new/debian/changelog
--- pixman-0.32.4/debian/changelog 2014-04-22 18:08:27.000000000 +0000
+++ pixman-0.32.4.new/debian/changelog 2014-04-22 18:11:51.000000000 +0000
@@ -1,3 +1,10 @@
+pixman (0.32.4-1.1) sid; urgency=medium
+
+ * Non-maintainer upload.
+ * Disable vmx on the ppc64el architecture to enable the package to be built.
+
+ -- Breno Leitao <brenohl@br.ibm.com> Tue, 22 Apr 2014 18:11:10 +0000
+
pixman (0.32.4-1) sid; urgency=low
* New upstream release.
diff -uNpr pixman-0.32.4/debian/rules pixman-0.32.4.new/debian/rules
--- pixman-0.32.4/debian/rules 2014-04-22 17:58:17.000000000 +0000
+++ pixman-0.32.4.new/debian/rules 2014-04-22 17:58:40.000000000 +0000
@@ -4,12 +4,19 @@ PACKAGE = libpixman-1-0
SHLIBS = 0.25.2
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+DISABLE_VMX_ARCHS = ppc64el
+
+ifeq (,$(filter $(DEB_BUILD_ARCH), $(disable_vmx_archs)))
+ VMX_OPTION = --disable-vmx
+endif
# Disable Gtk+ autodetection:
override_dh_auto_configure:
# also avoid loongson2f optimizations on mipsel, see 0.26.0-3
# changelog entry:
- LS_CFLAGS=" " dh_auto_configure -- --disable-gtk \
+ LS_CFLAGS=" " dh_auto_configure -- --disable-gtk $(VMX_OPTION) \
--disable-silent-rules \
--disable-arm-iwmmxt \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
Reply to: