Date: Fri, 13 Dec 2019 09:41:04 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520008 - head/graphics/opencv/files Message-ID: <201912130941.xBD9f4GC011647@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Fri Dec 13 09:41:03 2019 New Revision: 520008 URL: https://svnweb.freebsd.org/changeset/ports/520008 Log: Fix build with python 3.7 PR: 233770 Added: head/graphics/opencv/files/patch-modules_python_src2_cv2.cpp (contents, props changed) Added: head/graphics/opencv/files/patch-modules_python_src2_cv2.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/opencv/files/patch-modules_python_src2_cv2.cpp Fri Dec 13 09:41:03 2019 (r520008) @@ -0,0 +1,11 @@ +--- modules/python/src2/cv2.cpp.orig 2018-02-23 08:38:33 UTC ++++ modules/python/src2/cv2.cpp +@@ -886,7 +886,7 @@ bool pyopencv_to(PyObject* obj, String& value, const c + (void)name; + if(!obj || obj == Py_None) + return true; +- char* str = PyString_AsString(obj); ++ const char* str = PyString_AsString(obj); + if(!str) + return false; + value = String(str);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912130941.xBD9f4GC011647>