kbibtex: add temporary patch to allow compilation with icu version 76 (#385778)

This commit is contained in:
Peder Bergebakken Sundt
2025-03-03 03:43:28 +01:00
committed by GitHub
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 901e6979..d4fd549e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ project(
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)
@@ -41,6 +41,11 @@ mkDerivation rec {
hash = "sha256-sSeyQKfNd8U4YZ3IgqOZs8bM13oEQopJevkG8U0JuMQ=";
};
patches = [
# TODO remove when kbibtex updates past 0.10.0
./cpp-17-for-icu.patch
];
nativeBuildInputs = [
extra-cmake-modules
shared-mime-info