summaryrefslogtreecommitdiff
path: root/dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch
diff options
context:
space:
mode:
authorJohannes Huber <johu@gmx.de>2011-07-11 07:47:34 +0200
committerJohannes Huber <johu@gmx.de>2011-07-11 17:08:49 +0200
commit1010127c1205112376c2e788ddd46310a03667b5 (patch)
tree5c5f38f90006dcc5950f1d9e36dd33bef2b5b06e /dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch
parent10ed259b620254d4bc662f5c3f4d66e09518f4e6 (diff)
downloadkde-1010127c1205112376c2e788ddd46310a03667b5.tar.gz
kde-1010127c1205112376c2e788ddd46310a03667b5.tar.bz2
kde-1010127c1205112376c2e788ddd46310a03667b5.zip
[dev-util/cmake] Bump 2.8.5
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch')
-rw-r--r--dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch b/dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch
new file mode 100644
index 00000000000..90a34aad0e8
--- /dev/null
+++ b/dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch
@@ -0,0 +1,11 @@
+diff -urN cmake-2.8.4.old/Modules/FindPythonInterp.cmake cmake-2.8.4/Modules/FindPythonInterp.cmake
+--- cmake-2.8.4.old/Modules/FindPythonInterp.cmake 2011-02-20 19:32:16.545655003 +0100
++++ cmake-2.8.4/Modules/FindPythonInterp.cmake 2011-02-20 20:22:37.597936743 +0100
+@@ -26,6 +26,7 @@
+ ${Python_ADDITIONAL_VERSIONS}
+ 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
+
++set(_Python_VERSIONS "")
+ # Run first with the Python version in the executable
+ foreach(_CURRENT_VERSION ${_Python_VERSIONS})
+ set(_Python_NAMES python${_CURRENT_VERSION})