<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4e6ce1c56be4bdd283598ac3fdc1ac96c79cd38e">https://github.com/macports/macports-ports/commit/4e6ce1c56be4bdd283598ac3fdc1ac96c79cd38e</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 4e6ce1c freecad: we do need the patch, with non-standard line feeds
</span>4e6ce1c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4e6ce1c56be4bdd283598ac3fdc1ac96c79cd38e
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Mon Oct 28 20:59:24 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> freecad: we do need the patch, with non-standard line feeds
</span>---
cad/freecad/Portfile | 3 ++-
cad/freecad/files/patch-src-Main-MainPy.cpp.diff | 29 ++++++++++++------------
2 files changed, 17 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cad/freecad/Portfile b/cad/freecad/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 68d0310..dfd6bc2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cad/freecad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cad/freecad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,7 +52,8 @@ depends_lib-append port:boost \
</span>
depends_run port:qt4-mac-sqlite3-plugin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles cMake-FindCoin3D.cmake.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles cMake-FindCoin3D.cmake.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-src-Main-MainPy.cpp.diff
</span>
# disable FreeCAD FEM module, as it requires hdf5 1.8.x
patchfiles-append patch-CMakeLists.txt.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cad/freecad/files/patch-src-Main-MainPy.cpp.diff b/cad/freecad/files/patch-src-Main-MainPy.cpp.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 1a5bb12..bb357f3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cad/freecad/files/patch-src-Main-MainPy.cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cad/freecad/files/patch-src-Main-MainPy.cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +1,15 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/Main/MainPy.cpp.orig 2019-05-11 06:02:55.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/Main/MainPy.cpp 2019-06-16 16:46:14.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -143,7 +143,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // backwards since the FreeCAD path was likely appended just before
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // we were imported.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for (i = PyList_Size(pySysPath) - 1; i >= 0 ; --i) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if PY_MAJOR_VERSION >= 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const char *basePath;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ char *basePath;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PyObject *pyPath = PyList_GetItem(pySysPath, i);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- long sz = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Main/MainPy.cpp.orig 2019-10-22 11:53:35.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Main/MainPy.cpp 2019-10-28 20:57:04.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -143,8 +143,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // backwards since the FreeCAD path was likely appended just before
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // we were imported.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (i = PyList_Size(pySysPath) - 1; i >= 0 ; --i) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if PY_MAJOR_VERSION >= 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const char *basePath;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PyObject *pyPath = PyList_GetItem(pySysPath, i);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *basePath;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif PyObject *pyPath = PyList_GetItem(pySysPath, i);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long sz = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if PY_MAJOR_VERSION >= 3
</span></pre><pre style='margin:0'>
</pre>