From 2449d9c9dd69f5d291997560c4d48cbd5c5b0fe9 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 28 Apr 2022 19:54:47 +0200 Subject: [PATCH] package/sdl2_ttf: disable builtin harfbuzz Disable builtin harfbuzz which is enabled by default since bump to version 2.0.18 in commit f4da031a77f200515bcc5b2e0fe665a7b4f2a780 and https://github.com/libsdl-org/SDL_ttf/commit/834ec54127dc9c2a12928f5fe32cf110ec4c7a7f resulting in the following build failure without threads: In file included from external/harfbuzz-2.8.0/src/hb.hh:470, from external/harfbuzz-2.8.0/src/hb-aat-layout.cc:28: external/harfbuzz-2.8.0/src/hb-mutex.hh:53:10: fatal error: pthread.h: No such file or directory 53 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ac8b366558bec61ada84ec15cf27652fde2b63b2 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/sdl2_ttf/sdl2_ttf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sdl2_ttf/sdl2_ttf.mk b/package/sdl2_ttf/sdl2_ttf.mk index 54e76815f1..054e327fac 100644 --- a/package/sdl2_ttf/sdl2_ttf.mk +++ b/package/sdl2_ttf/sdl2_ttf.mk @@ -11,7 +11,7 @@ SDL2_TTF_LICENSE = Zlib SDL2_TTF_LICENSE_FILES = COPYING.txt SDL2_TTF_INSTALL_STAGING = YES SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf -SDL2_TTF_CONF_OPTS = --disable-freetype-builtin +SDL2_TTF_CONF_OPTS = --disable-freetype-builtin --disable-harfbuzz-builtin ifeq ($(BR2_PACKAGE_HARFBUZZ),y) SDL2_TTF_DEPENDENCIES += harfbuzz