Date: Wed, 22 Jan 2020 05:45:08 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r523787 - head/math/py-onnx/files Message-ID: <202001220545.00M5j8XV017727@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001220545.00M5j8XV017727>