<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/32025cb45a4c5fe303acc9e9817630f993338e11">https://github.com/macports/macports-ports/commit/32025cb45a4c5fe303acc9e9817630f993338e11</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 32025cb45a4 libavif: add missing patch
</span>32025cb45a4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 32025cb45a4c5fe303acc9e9817630f993338e11
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Fri Feb 28 10:10:27 2025 -0500
<span style='display:block; white-space:pre;color:#404040;'> libavif: add missing patch
</span>---
multimedia/libavif/files/patch-libargparse.diff | 38 +++++++++++++++++++++++++
1 file changed, 38 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libavif/files/patch-libargparse.diff b/multimedia/libavif/files/patch-libargparse.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..fc5fa681e76
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libavif/files/patch-libargparse.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#==================================================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# From: Maryla
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Date: Fri, 28 Feb 2025 13:49:37 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Subject: [PATCH] libargparse: use a git patch file instead of sed command
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This should work better cross platform.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#==================================================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmake/Modules/LocalLibargparse.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmake/Modules/LocalLibargparse.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -24,10 +24,7 @@ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GIT_REPOSITORY "https://github.com/kmurray/libargparse.git"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GIT_TAG ${AVIF_LIBARGPARSE_GIT_TAG}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # TODO(vrabaud) remove once CMake 3.13 is not supported anymore.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PATCH_COMMAND
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sed -i.bak -e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "s:install.*:include(GNUInstallDirs)\\\\ninstall(TARGETS libargparse RUNTIME DESTINATION \\\\$\\\\{CMAKE_INSTALL_BINDIR\\\\} LIBRARY DESTINATION \\\\$\\\\{CMAKE_INSTALL_LIBDIR\\\\} ARCHIVE DESTINATION \\\\$\\\\{CMAKE_INSTALL_LIBDIR\\\\}):"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PATCH_COMMAND git apply --ignore-whitespace "${AVIF_SOURCE_DIR}/ext/libargparse.patch"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ UPDATE_COMMAND ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ avif_fetchcontent_populate_cmake(libargparse)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ext/libargparse.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++diff --git a/CMakeLists.txt b/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++index 8ca16ae..605a062 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++--- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+++++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++@@ -21,7 +21,8 @@ add_library(libargparse STATIC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set_target_properties(libargparse PROPERTIES PREFIX "") #Avoid extra 'lib' prefix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set_target_properties(libargparse PROPERTIES PUBLIC_HEADER "${LIB_HEADERS}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ target_include_directories(libargparse PUBLIC ${LIB_INCLUDE_DIRS})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++-install(TARGETS libargparse)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+++include(GNUInstallDirs)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+++install(TARGETS libargparse RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #Create the test executable
</span></pre><pre style='margin:0'>
</pre>