fontconfig: fixup fragile build after ab5fe171a

Sometimes it might fail due to timestamps suggesting some files needed
regenerating and failing to find gperf.  Now it should be OK, I hope.
This commit is contained in:
Vladimír Čunát 2017-02-15 21:06:27 +01:00
parent be1c04e225
commit 7832806e20
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -34,9 +34,10 @@ stdenv.mkDerivation rec {
sha256 = "0x2a4qx51j3gqcp1kp4lisdzmhrkw1zw0r851d82ksgjlc0vkbaz";
})
];
# additionally required for the glibc-2.25 patch
# additionally required for the glibc-2.25 patch; avoid requiring gperf
postPatch = ''
sed s/CHAR_WIDTH/CHARWIDTH/g -i src/fcobjshash.{h,gperf}
touch src/*
'';
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config