<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/83b2f0e576bdba9510b9330934046f28f5e83206">https://github.com/macports/macports-ports/commit/83b2f0e576bdba9510b9330934046f28f5e83206</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 83b2f0e576b shared-mime-info: update to 2.4
</span>83b2f0e576b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 83b2f0e576bdba9510b9330934046f28f5e83206
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Tue Apr 23 15:36:00 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> shared-mime-info: update to 2.4
</span>---
devel/shared-mime-info/Portfile | 8 ++++----
.../files/patch-fdatasync-to-fsync.diff | 20 ++++++++++----------
devel/shared-mime-info/files/update-mime-database | 2 +-
3 files changed, 15 insertions(+), 15 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 36878a3fccf..27c2c5d46e1 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;'>@@ -22,12 +22,12 @@ platform darwin {
</span> }
if { ${ver_latest} } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 2.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.4
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 13e0fef9299f820466ac83cbfb91814fb7b556ae \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 96ac085d82e2e654e40e34c13d97b74f6657357ee6b443d922695adcf548961c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 6643480
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 e51249bfe1fe3cb936eaa346f1643affb9808b89 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 32dc32ae39ff1c1bf8434dd3b36770b48538a1772bc0298509d034f057005992 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 7096347
</span> } else {
version 2.2
revision 9
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/shared-mime-info/files/patch-fdatasync-to-fsync.diff b/devel/shared-mime-info/files/patch-fdatasync-to-fsync.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 8e2d00eda07..e0df37e9142 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/shared-mime-info/files/patch-fdatasync-to-fsync.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/shared-mime-info/files/patch-fdatasync-to-fsync.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,20 +1,20 @@
</span> #==================================================================================================
# Patch to replace use of fdatasync(), with fsync()
#
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Author: Christopher Nielsen (GitHub: @mascguy)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Author: Christopher Nielsen @ MacPorts
</span> # Date: 2023-10-08
#==================================================================================================
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- meson.build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ meson.build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -50,7 +50,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- meson.build.orig 2023-11-12 03:52:33.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson.build 2024-04-23 14:57:28.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -49,7 +49,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ###############################################################################
</span> # Dependencies
<span style='display:block; white-space:pre;background:#ffe0e0;'>- check_functions = [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- 'fdatasync',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ 'fsync',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach function : check_functions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- config.set('HAVE_'+function.to_upper(), cc.has_function(function))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-config.set('HAVE_FDATASYNC', cc.has_function('fdatasync', prefix: '#include <unistd.h>'))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++config.set('HAVE_FDATASYNC', cc.has_function('fsync', prefix: '#include <unistd.h>'))
</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 get_option('build-translations')
</span> --- src/update-mime-database.cpp
+++ src/update-mime-database.cpp
@@ -934,7 +934,7 @@
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/shared-mime-info/files/update-mime-database b/devel/shared-mime-info/files/update-mime-database
</span><span style='display:block; white-space:pre;color:#808080;'>index d6b042f67c3..979a46b42f6 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/shared-mime-info/files/update-mime-database
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/shared-mime-info/files/update-mime-database
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> #==============================================================================
# Stub script, which initiates update via touch
#
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Author: Christopher Nielsen (GitHub: @mascguy)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Author: Christopher Nielsen @ MacPorts
</span> #
# Usage:
# update-mime-database <mime_path>
</pre><pre style='margin:0'>
</pre>