From 9a76c13fddb55b0f202e048df62c939e06f39559 Mon Sep 17 00:00:00 2001 From: ormorph Date: Sun, 24 Mar 2024 21:53:58 +0300 Subject: Solving the problem of building tdewebdev packages with ninja Signed-off-by: ormorph (cherry picked from commit 2769940be476aca58d96f626ecab898409ad8b48) --- trinity-base/klinkstatus/files/tdewebdev-ninja.patch | 10 ++++++++++ trinity-base/klinkstatus/klinkstatus-14.1.0.ebuild | 4 ++++ trinity-base/klinkstatus/klinkstatus-14.1.1.ebuild | 4 ++++ 3 files changed, 18 insertions(+) create mode 100644 trinity-base/klinkstatus/files/tdewebdev-ninja.patch (limited to 'trinity-base/klinkstatus') diff --git a/trinity-base/klinkstatus/files/tdewebdev-ninja.patch b/trinity-base/klinkstatus/files/tdewebdev-ninja.patch new file mode 100644 index 00000000..1d2a04ba --- /dev/null +++ b/trinity-base/klinkstatus/files/tdewebdev-ninja.patch @@ -0,0 +1,10 @@ +--- a/ConfigureChecks.cmake 2024-03-24 21:40:09.165729665 +0300 ++++ b/ConfigureChecks.cmake 2024-03-24 21:41:43.299725728 +0300 +@@ -59,6 +59,7 @@ + tde_execute_process( + COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=CXXFLAGS icu-uc + OUTPUT_VARIABLE ICU_CXXFLAGS ++ OUTPUT_STRIP_TRAILING_WHITESPACE + ) + + diff --git a/trinity-base/klinkstatus/klinkstatus-14.1.0.ebuild b/trinity-base/klinkstatus/klinkstatus-14.1.0.ebuild index 2a7b4d26..94e37fe9 100644 --- a/trinity-base/klinkstatus/klinkstatus-14.1.0.ebuild +++ b/trinity-base/klinkstatus/klinkstatus-14.1.0.ebuild @@ -17,6 +17,10 @@ if [[ ${PV} != *9999* ]] ; then KEYWORDS="~amd64 ~arm64 ~x86" fi +PATCHES=( + "${FILESDIR}/tdewebdev-ninja.patch" +) + src_configure() { append-cxxflags "-std=c++11" trinity-meta-2_src_configure diff --git a/trinity-base/klinkstatus/klinkstatus-14.1.1.ebuild b/trinity-base/klinkstatus/klinkstatus-14.1.1.ebuild index 2a7b4d26..94e37fe9 100644 --- a/trinity-base/klinkstatus/klinkstatus-14.1.1.ebuild +++ b/trinity-base/klinkstatus/klinkstatus-14.1.1.ebuild @@ -17,6 +17,10 @@ if [[ ${PV} != *9999* ]] ; then KEYWORDS="~amd64 ~arm64 ~x86" fi +PATCHES=( + "${FILESDIR}/tdewebdev-ninja.patch" +) + src_configure() { append-cxxflags "-std=c++11" trinity-meta-2_src_configure -- cgit v1.2.1