summaryrefslogtreecommitdiff
path: root/devel/qross/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/qross/files')
-rw-r--r--devel/qross/files/CMakeLists.txt9
-rw-r--r--devel/qross/files/patch-bindings__python__qrosspython__CMakeLists.txt28
-rw-r--r--devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx16
3 files changed, 0 insertions, 53 deletions
diff --git a/devel/qross/files/CMakeLists.txt b/devel/qross/files/CMakeLists.txt
deleted file mode 100644
index 3bd62cb90abd..000000000000
--- a/devel/qross/files/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-CMAKE_MINIMUM_REQUIRED (VERSION 2.8)
-
-OPTION (ENABLE_PYTHON "Python bindings" ON)
-
-ADD_SUBDIRECTORY (qross)
-
-IF (ENABLE_PYTHON)
- ADD_SUBDIRECTORY (bindings/python/qrosspython)
-ENDIF (ENABLE_PYTHON)
diff --git a/devel/qross/files/patch-bindings__python__qrosspython__CMakeLists.txt b/devel/qross/files/patch-bindings__python__qrosspython__CMakeLists.txt
deleted file mode 100644
index 186762f1dc1c..000000000000
--- a/devel/qross/files/patch-bindings__python__qrosspython__CMakeLists.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9053d214840639c3deabb7902a00a37356fdf32e Mon Sep 17 00:00:00 2001
-From: 0xd34df00d <0xd34df00d@gmail.com>
-Date: Fri, 4 Jul 2014 00:54:01 +0400
-Subject: [PATCH] CMake 3.x compatibility in Python bindings.
-
----
- src/bindings/python/qrosspython/CMakeLists.txt | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/src/bindings/python/qrosspython/CMakeLists.txt b/src/bindings/python/qrosspython/CMakeLists.txt
-index 5bd5b73..e0a0e68 100644
---- bindings/python/qrosspython/CMakeLists.txt
-+++ bindings/python/qrosspython/CMakeLists.txt
-@@ -5,8 +5,12 @@ find_package(Qt4 REQUIRED)
- set(QT_USE_QTTEST TRUE)
- include(${QT_USE_FILE})
-
--set (PythonLibs_FIND_VERSION 2.7)
--find_package(PythonLibs REQUIRED)
-+if (${CMAKE_MAJOR_VERSION} EQUAL 2)
-+ set (PythonLibs_FIND_VERSION 2.7)
-+ find_package(PythonLibs REQUIRED)
-+else ()
-+ find_package(PythonLibs "2.7" REQUIRED)
-+endif ()
-
- include_directories(
- ${PYTHON_INCLUDE_PATH}
diff --git a/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx b/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx
deleted file mode 100644
index ffbc726d9bf2..000000000000
--- a/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx
+++ /dev/null
@@ -1,16 +0,0 @@
-In file included from bindings/python/qrosspython/cxx/cxxsupport.cxx:38:
-bindings/python/qrosspython/cxx/Objects.hxx:1081:15:
- error: cannot initialize a member subobject of type 'int' with an rvalue of type 'nullptr_t'
- , offset( NULL )
-
---- bindings/python/qrosspython/cxx/Objects.hxx.orig 2018-02-18 08:21:27 UTC
-+++ bindings/python/qrosspython/cxx/Objects.hxx
-@@ -1078,7 +1078,7 @@ namespace Py
- // TMM: added this seqref ctor for use with STL algorithms
- seqref (Object& obj)
- : s(dynamic_cast< SeqBase<T>&>(obj))
-- , offset( NULL )
-+ , offset( 0 )
- , the_item(s.getItem(offset))
- {}
- ~seqref()