diff options
author | fanquake <fanquake@gmail.com> | 2020-08-17 20:55:20 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-08-25 14:37:35 +0800 |
commit | 865cb23a485d88be603c1d6bf8c32ef7a5edeaa2 (patch) | |
tree | 166e8d6a6ccd97f57d3257971fbf47d0b101d31e /depends/patches/fontconfig/gperf_header_regen.patch | |
parent | 335bd7f8bc415d6419763e17b013f94e5f0e5689 (diff) |
build: use patch rather than sed in fontconfig package
Diffstat (limited to 'depends/patches/fontconfig/gperf_header_regen.patch')
-rw-r--r-- | depends/patches/fontconfig/gperf_header_regen.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/depends/patches/fontconfig/gperf_header_regen.patch b/depends/patches/fontconfig/gperf_header_regen.patch new file mode 100644 index 0000000000..7401b83d84 --- /dev/null +++ b/depends/patches/fontconfig/gperf_header_regen.patch @@ -0,0 +1,24 @@ +commit 7b6eb33ecd88768b28c67ce5d2d68a7eed5936b6 +Author: fanquake <fanquake@gmail.com> +Date: Tue Aug 25 14:34:53 2020 +0800 + + Remove rule that causes inadvertant header regeneration + + Otherwise the makefile will needlessly attempt to re-generate the + headers with gperf. This can be dropped once the upstream build is fixed. + + See #10851. + +diff --git a/src/Makefile.in b/src/Makefile.in +index f4626ad..4ae1b00 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -903,7 +903,7 @@ fcobjshash.gperf: fcobjshash.gperf.h fcobjs.h + ' - > $@.tmp && \ + mv -f $@.tmp $@ || ( $(RM) $@.tmp && false ) + +-fcobjshash.h: fcobjshash.gperf ++fcobjshash.h: + $(AM_V_GEN) $(GPERF) -m 100 $< > $@.tmp && \ + mv -f $@.tmp $@ || ( $(RM) $@.tmp && false ) + |