aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-02-18 08:24:35 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-02-18 08:24:35 +0000
commit9cc9e887ce94cf773a44ff31049ba23cc0b6ce11 (patch)
tree9d150b62f551c52bc38811043cecb72112edab8f /devel
parent7c75097c046cc7089fdc59a758ed82ccabbdf2b4 (diff)
downloadports-9cc9e887ce94cf773a44ff31049ba23cc0b6ce11.tar.gz
ports-9cc9e887ce94cf773a44ff31049ba23cc0b6ce11.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx b/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx
new file mode 100644
index 000000000000..ffbc726d9bf2
--- /dev/null
+++ b/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx
@@ -0,0 +1,16 @@
+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()