From bebeb4ecfa48b6f78e35481639a4632a77e04642 Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 12 Feb 2019 19:34:36 +0100 Subject: [PATCH] ccextractor: fix ppc64 build This bundles libpng source but without the vsx asm, so building fails on ppc64. Manually disable vsx asm usage. [ci skip] --- srcpkgs/ccextractor/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template index 4b7459348a..9fa61217b4 100644 --- a/srcpkgs/ccextractor/template +++ b/srcpkgs/ccextractor/template @@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/" changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT" distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz" checksum=10c3d88fba531aa6f5f6937e8eccc4df2ac96abaa4d77cb4a1b1349a8b94346f -CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract" +CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0" pre_configure() { sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac