<pre style='margin:0'>
ra1nb0w (ra1nb0w) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/988da34948a987d408cc5718df7357eb65d1c0e1">https://github.com/macports/macports-ports/commit/988da34948a987d408cc5718df7357eb65d1c0e1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 988da34948a987d408cc5718df7357eb65d1c0e1
</span>Author: Davide Gerhard <ra1nb0w@macports.org>
AuthorDate: Tue Dec 13 10:55:00 2022 +0100
<span style='display:block; white-space:pre;color:#404040;'> CSXCAD: update commit to 633597648
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/66456
</span>---
textproc/CSXCAD/Portfile | 14 ++++++--------
textproc/CSXCAD/files/clocale_fix.patch | 24 ++++++++++++++++++++++++
textproc/CSXCAD/files/cmake-boost.patch | 17 -----------------
3 files changed, 30 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/CSXCAD/Portfile b/textproc/CSXCAD/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b697591e6b5..548a1e81824 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/CSXCAD/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/CSXCAD/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,11 +5,11 @@ PortGroup github 1.0
</span> PortGroup cmake 1.1
PortGroup boost 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup thliebig CSXCAD c79d6b757a104310955ca7c17d178a6caaf251b8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20221205-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 d15de11eed8d646e1838d305a5708b73c63fe25c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 8d7125a90c393cf0fdf21fdb34356a40d735de543cb0e3427c35308c8485c56f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 169644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup thliebig CSXCAD 633597648c0e29e394bf90dc122928a7134a5a3a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2022121-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8726e8e9b2eb383642e522dbaa3d509e4a909f8b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 92a3c117ee6563fe94200af9e53ec3d9d9e3c9da03868a0513207f811d68efe1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 169672
</span> revision 0
platforms darwin macosx
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,13 +21,11 @@ description ${name} is a C++ library to describe geometrical objects and
</span> physical or non-physical properties
long_description {*}${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-boost.version 1.71
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compiler.cxx_standard 2011
# remove when upstream
patchfiles-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- cmake-boost.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clocale_fix.patch
</span>
depends_build-append \
port:pkgconfig
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/CSXCAD/files/clocale_fix.patch b/textproc/CSXCAD/files/clocale_fix.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..92df93b020f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/CSXCAD/files/clocale_fix.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/CSFunctionParser.cpp src/CSFunctionParser.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index edfcf44..7f3eb9a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/CSFunctionParser.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/CSFunctionParser.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -18,6 +18,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "CSFunctionParser.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <math.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <iostream>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <clocale>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ double bessel_first_kind_0(const double* p)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/ParameterObjects.cpp src/ParameterObjects.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ada5007..fd112c3 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/ParameterObjects.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/ParameterObjects.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21,6 +21,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "tinyxml.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "CSFunctionParser.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "CSUseful.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <clocale>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bool ReadTerm(ParameterScalar &PS, TiXmlElement &elem, const char* attr, double val)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/CSXCAD/files/cmake-boost.patch b/textproc/CSXCAD/files/cmake-boost.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 5cf7b1c44e6..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/CSXCAD/files/cmake-boost.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,17 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git CMakeLists.txt CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index f71f10e..17ed530 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -125,7 +125,11 @@ find_package(Boost 1.46 COMPONENTS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- serialization
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- chrono
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- REQUIRED
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+if(Boost_FOUND)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ include_directories(${Boost_INCLUDE_DIRS})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # vtk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- find_package(VTK REQUIRED COMPONENTS vtkIOGeometry vtkIOPLY NO_MODULE)
</span></pre><pre style='margin:0'>
</pre>