From b3a0aeb97cefe4e44dc1762894de67e6d492daf3 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Wed, 27 Mar 2024 09:14:27 +0100 Subject: [PATCH] harfbuzz: Fix pkg-conf output --- harfbuzz/PSPBUILD | 2 +- harfbuzz/fix-cmake.patch | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/harfbuzz/PSPBUILD b/harfbuzz/PSPBUILD index 5592a89..b2984a8 100644 --- a/harfbuzz/PSPBUILD +++ b/harfbuzz/PSPBUILD @@ -14,7 +14,7 @@ source=( ) sha256sums=( "109501eaeb8bde3eadb25fab4164e993fbace29c3d775bcaa1c1e58e2f15f847" - "9248557e549775ce9f3689bf271722bedab9bceba4cbc9ba452c68b652d31616" + "59a2b89ec8e36c281e0e4eba34bdffaaed4e2697866e7fbab97b1629fa7daefc" ) prepare() { diff --git a/harfbuzz/fix-cmake.patch b/harfbuzz/fix-cmake.patch index 7744e0c..ddc7d65 100644 --- a/harfbuzz/fix-cmake.patch +++ b/harfbuzz/fix-cmake.patch @@ -8,7 +8,8 @@ diff -ruN original/CMakeLists.txt new/CMakeLists.txt - list(APPEND THIRD_PARTY_LIBS Threads::Threads) + if (NOT PSP) + list(APPEND THIRD_PARTY_LIBS Threads::Threads) ++ list(APPEND PC_LIBS_PRIV -pthread) + endif() - list(APPEND PC_LIBS_PRIV -pthread) +- list(APPEND PC_LIBS_PRIV -pthread) endif () endif ()