summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyside/files/pyside-cmake-namespace.patch')
-rw-r--r--dev-python/pyside/files/pyside-cmake-namespace.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/pyside/files/pyside-cmake-namespace.patch b/dev-python/pyside/files/pyside-cmake-namespace.patch
new file mode 100644
index 000000000000..92f6de0a43a8
--- /dev/null
+++ b/dev-python/pyside/files/pyside-cmake-namespace.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/Macros/PySideModules.cmake b/cmake/Macros/PySideModules.cmake
+index 639a0ab..1686df8 100644
+--- a/cmake/Macros/PySideModules.cmake
++++ b/cmake/Macros/PySideModules.cmake
+@@ -58,7 +58,7 @@ macro(check_qt_class module class global_sources)
+ endif ()
+ string(TOLOWER ${class} _class)
+ string(TOUPPER ${module} _module)
+- if (${namespace})
++ if (_namespace)
+ set(_cppfile ${CMAKE_CURRENT_BINARY_DIR}/PySide/${module}/${_namespace}_${_class}_wrapper.cpp)
+ else ()
+ set(_cppfile ${CMAKE_CURRENT_BINARY_DIR}/PySide/${module}/${_class}_wrapper.cpp)