<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a6439dff9be9d015e092c8b385fad3cac51ef0b4">https://github.com/macports/macports-ports/commit/a6439dff9be9d015e092c8b385fad3cac51ef0b4</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 a6439dff9be shared-mime-info: use previous release, for 10.5 and earlier
</span>a6439dff9be is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a6439dff9be9d015e092c8b385fad3cac51ef0b4
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sun Oct 8 10:13:32 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> shared-mime-info: use previous release, for 10.5 and earlier
</span>---
devel/shared-mime-info/Portfile | 69 +++++++++++++++++++++++++++++------------
1 file changed, 50 insertions(+), 19 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/shared-mime-info/Portfile b/devel/shared-mime-info/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b0954271b03..b31d3c86f73 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/shared-mime-info/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/shared-mime-info/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,21 +2,45 @@
</span>
PortSystem 1.0
PortGroup gitlab 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup legacysupport 1.1
</span> PortGroup meson 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Needed for std::filesystem
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-legacysupport.newest_darwin_requires_legacy 18
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-legacysupport.use_mp_libcxx yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name shared-mime-info
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-gitlab.instance https://gitlab.freedesktop.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gitlab.setup xdg shared-mime-info 2.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set ver_latest yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Version 2.2 is last version not requiring std::filesystem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fallback to it, for 10.5 and earlier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 10 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ver_latest no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${ver_latest} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup legacysupport 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Needed for std::filesystem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ legacysupport.newest_darwin_requires_legacy 18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ legacysupport.use_mp_libcxx yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 13e0fef9299f820466ac83cbfb91814fb7b556ae \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 13e0fef9299f820466ac83cbfb91814fb7b556ae \
</span> sha256 96ac085d82e2e654e40e34c13d97b74f6657357ee6b443d922695adcf548961c \
size 6643480
<span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 9
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 c8efc1e91c23b82c37d9f78f6d9b1ffbf7be8a11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 418c480019d9865f67f922dfb88de00e9f38bf971205d55cdffab50432919e61 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 6428871
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+gitlab.instance https://gitlab.freedesktop.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+gitlab.setup xdg ${name} ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin linux
</span> categories devel
license GPL-2+
maintainers {mascguy @mascguy} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,8 +69,11 @@ post-extract {
</span> ${worksrcpath}/${startupitem_file}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Replace use of fdatasync(), with fsync()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-fdatasync-to-fsync.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${ver_latest} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Replace use of fdatasync(), with fsync()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-fdatasync-to-fsync.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
depends_build-append \
port:gettext \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,21 +93,25 @@ if {${os.platform} eq "darwin"} {
</span> path:libexec/coreutils/libstdbuf.so:coreutils
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild-tools=true \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dwarning_level=0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dupdate-mimedb=false
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if { [string match *clang* ${configure.compiler}] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${ver_latest} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string match *clang* ${configure.compiler}] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append \
</span> -Wno-reserved-user-defined-literal \
-Wno-error=unknown-warning-option \
-Wno-unknown-warning-option
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span> -Dbuild-tests=false \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -Dbuild-tools=true \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -Dbuild-translations=true \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -Dwarning_level=0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -Dupdate-mimedb=false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild-translations=true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# add an entry for Objective C++
# (https://bugs.freedesktop.org/show_bug.cgi?id=98823)
</pre><pre style='margin:0'>
</pre>