diff options
Diffstat (limited to 'source/kde/kde/patch/calligra/upstream_Fix-compile-with-newer-versions-of-poppler.patch')
-rw-r--r-- | source/kde/kde/patch/calligra/upstream_Fix-compile-with-newer-versions-of-poppler.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/kde/kde/patch/calligra/upstream_Fix-compile-with-newer-versions-of-poppler.patch b/source/kde/kde/patch/calligra/upstream_Fix-compile-with-newer-versions-of-poppler.patch new file mode 100644 index 000000000..7074bfcd1 --- /dev/null +++ b/source/kde/kde/patch/calligra/upstream_Fix-compile-with-newer-versions-of-poppler.patch @@ -0,0 +1,22 @@ +From 2f220c6d1418ce7fa509e0dc598a67e66908cbd3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20Usta?= <omerusta@gmail.com> +Date: Fri, 25 Feb 2022 15:52:31 +0000 +Subject: [PATCH] Fix compile with newer versions of poppler + +--- + CMakeLists.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -149,6 +149,10 @@ calligra_set_productset(${PRODUCTSET}) + set(REQUIRED_KF5_VERSION "5.7.0") + set(REQUIRED_QT_VERSION "5.3.0") + ++set(CMAKE_CXX_STANDARD 17) ++set(CMAKE_CXX_STANDARD_REQUIRED ON) ++set(CMAKE_CXX_EXTENSIONS OFF) ++ + find_package(ECM 5.19 REQUIRED NO_MODULE) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) + |