svn commit: r462205 - head/devel/qross/files

Tobias C. Berner tcberner at FreeBSD.org
Sun Feb 18 08:24:36 UTC 2018


Author: tcberner
Date: Sun Feb 18 08:24:35 2018
New Revision: 462205
URL: https://svnweb.freebsd.org/changeset/ports/462205

Log:
  devel/qross, fix build with clang6

Added:
  head/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx   (contents, props changed)

Added: head/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx	Sun Feb 18 08:24:35 2018	(r462205)
@@ -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()


More information about the svn-ports-all mailing list