From owner-svn-ports-head@freebsd.org Fri Dec 13 09:41:04 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 61A171C8A30; Fri, 13 Dec 2019 09:41:04 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Z5Jc1wgjz3KQw; Fri, 13 Dec 2019 09:41:04 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3D4B2A40F; Fri, 13 Dec 2019 09:41:04 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBD9f4Nm011648; Fri, 13 Dec 2019 09:41:04 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBD9f4GC011647; Fri, 13 Dec 2019 09:41:04 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201912130941.xBD9f4GC011647@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Fri, 13 Dec 2019 09:41:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520008 - head/graphics/opencv/files X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: head/graphics/opencv/files X-SVN-Commit-Revision: 520008 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2019 09:41:04 -0000 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);