We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e857bb + 3498a8d commit e222618Copy full SHA for e222618
depends/packages/fontconfig.mk
@@ -13,7 +13,13 @@ define $(package)_config_cmds
13
$($(package)_autoconf)
14
endef
15
16
+# 2.12.1 uses CHAR_WIDTH which is reserved and clashes with some glibc versions, but newer versions of fontconfig
17
+# have broken makefiles which needlessly attempt to re-generate headers with gperf.
18
+# Instead, change all uses of CHAR_WIDTH, and disable the rule that forces header re-generation.
19
+# This can be removed once the upstream build is fixed.
20
define $(package)_build_cmds
21
+ sed -i 's/CHAR_WIDTH/CHARWIDTH/g' fontconfig/fontconfig.h src/fcobjshash.gperf src/fcobjs.h src/fcobjshash.h && \
22
+ sed -i 's/fcobjshash.h: fcobjshash.gperf/fcobjshash.h:/' src/Makefile && \
23
$(MAKE)
24
25
0 commit comments