commit:     e17457c661559f3ad47bd13ed0d245326e3a3703
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 06:55:19 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 06:55:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e17457c6

media-libs/fontconfig: fix build on Darwin

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 media-libs/fontconfig/fontconfig-2.12.6.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/media-libs/fontconfig/fontconfig-2.12.6.ebuild 
b/media-libs/fontconfig/fontconfig-2.12.6.ebuild
index 384c7ad5586..e1a756f344f 100644
--- a/media-libs/fontconfig/fontconfig-2.12.6.ebuild
+++ b/media-libs/fontconfig/fontconfig-2.12.6.ebuild
@@ -43,6 +43,13 @@ pkg_setup() {
 src_prepare() {
        default
        eautoreconf
+
+       # this should be ok for everyone, but for safety I only apply it to
+       # the platform I need this for sure
+       if [[ ${CHOST} == *-darwin* ]] ; then
+               # https://bugs.freedesktop.org/show_bug.cgi?id=101280
+               rm src/fcobjshash.h src/fcobjshash.gperf
+       fi
 }
 
 multilib_src_configure() {

Reply via email to