media-libs/fontconfig: add workaround/fix for bug #631920
authorFabian Groffen <grobian@gentoo.org>
Thu, 5 Oct 2017 12:52:39 +0000 (14:52 +0200)
committerFabian Groffen <grobian@gentoo.org>
Thu, 5 Oct 2017 12:53:06 +0000 (14:53 +0200)
Package-Manager: Portage-2.3.11-prefix, Repoman-2.3.3

media-libs/fontconfig/fontconfig-2.12.6.ebuild

index 7da223b1f2ceb064015bbf6f1f14f81ccbfa3a98..900c0106073165858cb0275cb56e1a3f8b6d9753 100644 (file)
@@ -43,6 +43,8 @@ pkg_setup() {
 src_prepare() {
        default
        export GPERF=$(type -P true)  # avoid dependency on gperf, #631980
+       sed -i -e 's/FC_GPERF_SIZE_T="unsigned int"/FC_GPERF_SIZE_T=size_t/' \
+               configure.ac  # rest of gperf dependency fix, #631920
        eautoreconf
 }