Unverified Commit 0aec7a4f authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

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

parents 28f656d0 70e36f90
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
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)
+5 −0
Original line number Diff line number Diff line
@@ -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