<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6f4c0e53260d315cc40fa442fba23a31ed4433ec">https://github.com/macports/macports-ports/commit/6f4c0e53260d315cc40fa442fba23a31ed4433ec</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 6f4c0e5  py-onnx: Fix build against protobuf 3.11.x
</span>6f4c0e5 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 6f4c0e53260d315cc40fa442fba23a31ed4433ec
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Fri Feb 21 10:06:36 2020 +0000

<span style='display:block; white-space:pre;color:#404040;'>    py-onnx: Fix build against protobuf 3.11.x
</span>---
 python/py-onnx/Portfile                                  |  6 +++++-
 python/py-onnx/files/patch-dllexport-not-recognised.diff | 11 +++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-onnx/Portfile b/python/py-onnx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1a787dc..a965902 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-onnx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-onnx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup           github 1.0
</span> PortGroup           python 1.0
 
 github.setup        onnx onnx 1.6.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> name                py-${github.project}
 categories-append   science
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,6 +41,10 @@ compiler.cxx_standard 2011
</span> 
 if {${name} ne ${subport}} {
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://github.com/onnx/onnx/issues/2481
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://github.com/onnx/onnx/pull/2482
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append patch-dllexport-not-recognised.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     depends_build-append \
         port:cctools \
         path:bin/cmake:cmake \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-onnx/files/patch-dllexport-not-recognised.diff b/python/py-onnx/files/patch-dllexport-not-recognised.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..a99c052
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-onnx/files/patch-dllexport-not-recognised.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig    2020-02-21 09:55:57.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2020-02-21 09:56:52.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -226,7 +226,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         ${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     if(BUILD_ONNX_PYTHON)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+       list(APPEND PROTOC_ARGS --python_out
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-                  ${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++                  ${CMAKE_CURRENT_BINARY_DIR})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+       if(ONNX_GEN_PB_TYPE_STUBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         # Haven't figured out how to generate mypy stubs on Windows yet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         if(NOT WIN32)
</span></pre><pre style='margin:0'>

</pre>