From owner-svn-ports-head@freebsd.org Wed Jan 22 05:45:08 2020 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 CDBFF22D71E; Wed, 22 Jan 2020 05:45:08 +0000 (UTC) (envelope-from sunpoet@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 482Z9w59Vmz4Z6n; Wed, 22 Jan 2020 05:45:08 +0000 (UTC) (envelope-from sunpoet@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 ACE8B20BDD; Wed, 22 Jan 2020 05:45:08 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00M5j8Gv017728; Wed, 22 Jan 2020 05:45:08 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00M5j8XV017727; Wed, 22 Jan 2020 05:45:08 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202001220545.00M5j8XV017727@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 22 Jan 2020 05:45:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r523787 - head/math/py-onnx/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/math/py-onnx/files X-SVN-Commit-Revision: 523787 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: Wed, 22 Jan 2020 05:45:08 -0000 Author: sunpoet Date: Wed Jan 22 05:45:08 2020 New Revision: 523787 URL: https://svnweb.freebsd.org/changeset/ports/523787 Log: Fix build with protobuf 3.11.2 Obtained from: https://github.com/onnx/onnx/pull/2482/commits/7bcb1302352c9953bfc396c3ec2114b382c65614 Added: head/math/py-onnx/files/patch-CMakeLists.txt (contents, props changed) Added: head/math/py-onnx/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-onnx/files/patch-CMakeLists.txt Wed Jan 22 05:45:08 2020 (r523787) @@ -0,0 +1,13 @@ +Obtained from: https://github.com/onnx/onnx/pull/2482/commits/7bcb1302352c9953bfc396c3ec2114b382c65614 + +--- CMakeLists.txt.orig 2019-09-25 20:37:27 UTC ++++ CMakeLists.txt +@@ -226,7 +226,7 @@ function(RELATIVE_PROTOBUF_GENERATE_CPP NAME SRCS HDRS + ${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR}) + if(BUILD_ONNX_PYTHON) + list(APPEND PROTOC_ARGS --python_out +- ${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR}) ++ ${CMAKE_CURRENT_BINARY_DIR}) + if(ONNX_GEN_PB_TYPE_STUBS) + # Haven't figured out how to generate mypy stubs on Windows yet + if(NOT WIN32)