ccextractor: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:18 +02:00
parent 8bc3694e71
commit b0486a3410

View file

@ -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=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
pre_configure() {
sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac