From ebb1f06afdaddc59825847948e1237fdc4421678 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 23 May 2024 20:40:12 +0200 Subject: [PATCH] app-text/kbibtex: Fix build w/ ICU-75 Signed-off-by: Andreas Sturmlechner --- app-text/kbibtex/files/kbibtex-0.10.0-cxx17.patch | 11 +++++++++++ app-text/kbibtex/kbibtex-0.10.0.ebuild | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 app-text/kbibtex/files/kbibtex-0.10.0-cxx17.patch diff --git a/app-text/kbibtex/files/kbibtex-0.10.0-cxx17.patch b/app-text/kbibtex/files/kbibtex-0.10.0-cxx17.patch new file mode 100644 index 0000000000000..33fb8ebb45427 --- /dev/null +++ b/app-text/kbibtex/files/kbibtex-0.10.0-cxx17.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -10,7 +10,7 @@ + LANGUAGES CXX + ) + +-set(CMAKE_CXX_STANDARD 11) ++set(CMAKE_CXX_STANDARD 17) + set(QT_MIN_VERSION 5.9.0) + # Somewhat arbitrary chosen version number ... + set(KF5_MIN_VERSION 5.51) diff --git a/app-text/kbibtex/kbibtex-0.10.0.ebuild b/app-text/kbibtex/kbibtex-0.10.0.ebuild index 11a10b600ce58..aa8b9929c2d59 100644 --- a/app-text/kbibtex/kbibtex-0.10.0.ebuild +++ b/app-text/kbibtex/kbibtex-0.10.0.ebuild @@ -60,6 +60,8 @@ DEPEND="${COMMON_DEPEND} >=dev-qt/qtconcurrent-${QTMIN}:5 " +PATCHES=( "${FILESDIR}"/${P}-cxx17.patch ) + src_configure() { local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=ON