diff options
| author | Johannes Huber <johu@gentoo.org> | 2012-01-13 12:54:04 +0100 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2012-01-13 12:54:04 +0100 |
| commit | 082201a2aa5b9ec14b275f1f0b8bf1a5d3f5b80d (patch) | |
| tree | f396559d48d6286397d833cc5e4d2db9cb296d63 /dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch | |
| parent | d1742db94e44817130ab96eed8343e96068e937d (diff) | |
| download | kde-082201a2aa5b9ec14b275f1f0b8bf1a5d3f5b80d.tar.gz kde-082201a2aa5b9ec14b275f1f0b8bf1a5d3f5b80d.tar.bz2 kde-082201a2aa5b9ec14b275f1f0b8bf1a5d3f5b80d.zip | |
[dev-util/cmake] Add missing patch from r4.
(Portage version: 2.2.0_alpha84/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch')
| -rw-r--r-- | dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch b/dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch new file mode 100644 index 00000000000..28d2e4f8790 --- /dev/null +++ b/dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch @@ -0,0 +1,12 @@ +diff -urN cmake-2.8.4.old/Modules/FindPythonLibs.cmake cmake-2.8.4/Modules/FindPythonLibs.cmake +--- cmake-2.8.4.old/Modules/FindPythonLibs.cmake 2011-02-20 19:32:16.363655002 +0100 ++++ cmake-2.8.4/Modules/FindPythonLibs.cmake 2011-02-20 19:33:51.905655001 +0100 +@@ -33,6 +33,8 @@ + ${Python_ADDITIONAL_VERSIONS} + 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5) + ++EXECUTE_PROCESS(COMMAND python -c "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:2]]))" ++ OUTPUT_VARIABLE _Python_VERSIONS) + FOREACH(_CURRENT_VERSION ${_Python_VERSIONS}) + STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION}) + IF(WIN32) |
