<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f4c3a08f6df92c22d7fdeffcd7602cfb8bfa8715">https://github.com/macports/macports-ports/commit/f4c3a08f6df92c22d7fdeffcd7602cfb8bfa8715</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f4c3a08f6df92c22d7fdeffcd7602cfb8bfa8715
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Mon Jul 29 18:00:11 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> OpenCSG: unbreak for older systems
</span>---
science/OpenCSG/Portfile | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/OpenCSG/Portfile b/science/OpenCSG/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9b5710a9fdb..01c51c575ed 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/OpenCSG/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/OpenCSG/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,7 +1,14 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
name OpenCSG
version 1.4.2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,6 +39,9 @@ post-patch {
</span> reinplace "s@\\.\\./glew/include@@" ${worksrcpath}/src/src.pro
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# glew.h: error: cstdint: No such file or directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.optflags -O3
configure.args -r -o Makefile opencsg.pro
build.target sub-src-all
</pre><pre style='margin:0'>
</pre>