Skip to content

Commit 713f246

Browse files
committed
fontconfig: silence FcInit warnings written to stderr
1 parent 03fc1ce commit 713f246

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/posix.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ $CURL https://gitlab.freedesktop.org/fontconfig/fontconfig/-/archive/${VERSION_F
279279
cd ${DEPS}/fontconfig
280280
# Disable install of gettext files
281281
sed -i'.bak' "/subdir('its')/d" meson.build
282+
# Silence FcInit warnings
283+
sed -i'.bak' "/using without calling FcInit/d" src/fcobjs.c
282284
meson setup _build --default-library=static --buildtype=release --strip --prefix=${TARGET} ${MESON} \
283285
-Dcache-build=disabled -Ddoc=disabled -Dnls=disabled -Dtests=disabled -Dtools=disabled
284286
meson install -C _build --tag devel

0 commit comments

Comments
 (0)