mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
a11690bf62
9cbc1c279247800d79c5f6f95c0c2d8f387aac0a depends: make fontconfig build under clang-16 (fanquake) Pull request description: Use the same workaround we've applied to qrencode, and other packages. Fontconfig not building is currently a blocker for fuzz/sanitizer infra upgrades (#27298). For now, this is also more straightforward than bumping the package, which introduces more complexity/usage of gperf. Closes: #27299. ACKs for top commit: hebasto: ACK 9cbc1c279247800d79c5f6f95c0c2d8f387aac0a Tree-SHA512: 387ea1a73e3429f166ef5278305a56cb3c69b6e3fc8a21a66521738e313e3fe783f042759b396cd88e28c10918a4427fb836a8dfecc5a846723b6f6c6a7ade51
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
package=fontconfig
|
|
$(package)_version=2.12.1
|
|
$(package)_download_path=https://www.freedesktop.org/software/fontconfig/release/
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
$(package)_sha256_hash=b449a3e10c47e1d1c7a6ec6e2016cca73d3bd68fbbd4f0ae5cc6b573f7d6c7f3
|
|
$(package)_dependencies=freetype expat
|
|
$(package)_patches=remove_char_width_usage.patch gperf_header_regen.patch
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-docs --disable-static --disable-libxml2 --disable-iconv
|
|
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
|
|
$(package)_cflags += -Wno-implicit-function-declaration
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
patch -p1 < $($(package)_patch_dir)/remove_char_width_usage.patch && \
|
|
patch -p1 < $($(package)_patch_dir)/gperf_header_regen.patch
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm -rf var lib/*.la
|
|
endef
|