summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kde/patch')
-rw-r--r--source/kde/kde/patch/extra-cmake-modules.patch1
-rw-r--r--source/kde/kde/patch/extra-cmake-modules/extra-cmake-modules.max.python.version.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/source/kde/kde/patch/extra-cmake-modules.patch b/source/kde/kde/patch/extra-cmake-modules.patch
new file mode 100644
index 000000000..889c5b7cd
--- /dev/null
+++ b/source/kde/kde/patch/extra-cmake-modules.patch
@@ -0,0 +1 @@
+cat $CWD/patch/extra-cmake-modules/extra-cmake-modules.max.python.version.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
diff --git a/source/kde/kde/patch/extra-cmake-modules/extra-cmake-modules.max.python.version.patch b/source/kde/kde/patch/extra-cmake-modules/extra-cmake-modules.max.python.version.patch
new file mode 100644
index 000000000..4c720158e
--- /dev/null
+++ b/source/kde/kde/patch/extra-cmake-modules/extra-cmake-modules.max.python.version.patch
@@ -0,0 +1,11 @@
+--- ./find-modules/FindPythonModuleGeneration.cmake.orig 2021-08-31 23:23:13.000000000 -0500
++++ ./find-modules/FindPythonModuleGeneration.cmake 2021-10-09 00:28:33.070346128 -0500
+@@ -162,7 +162,7 @@
+
+ if (NOT GPB_PYTHON3_LIBRARY)
+ set(_PYTHON3_MIN_VERSION 4)
+- set(_PYTHON3_MAX_VERSION 10)
++ set(_PYTHON3_MAX_VERSION 11)
+
+ _find_python(3 ${_PYTHON3_MAX_VERSION}) # Canary check
+