Source: libav
Version: 10.2-1
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

Currently libav doesn't build on ppc64el because it uses altivec and it is still
failing on ppc64el, causing the package to FTBFS.

I am attaching a patch to disable altivec on ppc64el at the moment. Ubuntu is
also using the same patch.

Thank you,
Breno
Index: libav-10.2/debian/confflags
===================================================================
--- libav-10.2.orig/debian/confflags
+++ libav-10.2/debian/confflags
@@ -14,6 +14,14 @@ ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_
     CROSS :=  $(DEB_HOST_GNU_TYPE)-
 endif
 
+ifneq (,$(filter $(DEB_HOST_ARCH),ppc64el))
+    nooptflags += --disable-altivec
+endif
+
+ifneq (,$(filter $(DEB_HOST_ARCH),ppc64el))
+    confflags  += --disable-altivec
+endif
+
 # list of flavors we want to build
 FLAVORS :=
 
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to