fontconfig: Fix for HFS+ 1s date resolution issue
HFS+ (still common on macOS machines) only has a date resolution of 1 second. This change makes sure that `fcobjshash.h` gets a newer timestamp than `fcobjshash.gperf`.
This commit is contained in:
parent
040bde9052
commit
6ad745209f
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ stdenv.mkDerivation rec {
|
|||
# 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/*
|
||||
sleep 2
|
||||
touch src/fcobjshash.h
|
||||
'';
|
||||
|
||||
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
|
||||
|
|
Loading…
Reference in a new issue