shiboken: add support for Python 3.5
Development upstream is stalled, but this is a trivial patch.
This commit is contained in:
12
pkgs/development/python-modules/pyside/shiboken_py35.patch
Normal file
12
pkgs/development/python-modules/pyside/shiboken_py35.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/cmake/Modules/FindPython3Libs.cmake b/cmake/Modules/FindPython3Libs.cmake
|
||||
--- a/cmake/Modules/FindPython3Libs.cmake
|
||||
+++ b/cmake/Modules/FindPython3Libs.cmake
|
||||
@@ -27,7 +27,7 @@ INCLUDE(CMakeFindFrameworks)
|
||||
# Search for the python framework on Apple.
|
||||
# CMAKE_FIND_FRAMEWORKS(Python)
|
||||
|
||||
-FOREACH(_CURRENT_VERSION 3.4 3.3 3.2 3.1 3.0)
|
||||
+FOREACH(_CURRENT_VERSION 3.5 3.4 3.3 3.2 3.1 3.0)
|
||||
IF(_CURRENT_VERSION GREATER 3.1)
|
||||
SET(_32FLAGS "m" "u" "mu" "dm" "du" "dmu" "")
|
||||
ELSE()
|
||||
Reference in New Issue
Block a user