From 6c0e2f8c36766b289d44a59f524dc71134b24370 Mon Sep 17 00:00:00 2001 From: Ghabry Date: Sat, 4 Jan 2025 23:09:59 +0100 Subject: [PATCH] Vita: Fix undefined reference to funlockfile in fmtlib --- vita/2_build_toolchain.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vita/2_build_toolchain.sh b/vita/2_build_toolchain.sh index 4bb800dc..7341df73 100755 --- a/vita/2_build_toolchain.sh +++ b/vita/2_build_toolchain.sh @@ -30,6 +30,12 @@ if [ ! -f .patches-applied ]; then patch -Np1 < $SCRIPT_DIR/../shared/extra/lhasa.patch ) + # Fix fmt + (cd $FMT_DIR + # Fix undefined reference to funlockfile + perl -pi -e 's/define FMT_USE_FALLBACK_FILE 0/define FMT_USE_FALLBACK_FILE 1/' include/fmt/format-inl.h + ) + # Fix icu build patch -Np0 < $SCRIPT_DIR/icu-vita.patch