svn commit: r523787 - head/math/py-onnx/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Jan 22 05:45:08 UTC 2020


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)


More information about the svn-ports-head mailing list