<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c0fa06612b96d2ac7c6a2a0bfd6b5d2b57ec17ce">https://github.com/macports/macports-ports/commit/c0fa06612b96d2ac7c6a2a0bfd6b5d2b57ec17ce</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 c0fa06612b9 libgit2-devel: update to 1.8.1
</span>c0fa06612b9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c0fa06612b96d2ac7c6a2a0bfd6b5d2b57ec17ce
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Thu May 16 11:51:21 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> libgit2-devel: update to 1.8.1
</span>---
devel/libgit2-devel/Portfile | 13 ++++-------
.../0001-process.c-fix-environ-for-macOS.patch | 27 ----------------------
2 files changed, 5 insertions(+), 35 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgit2-devel/Portfile b/devel/libgit2-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7a9df66d355..0cd03e236a9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgit2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgit2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,7 +11,7 @@ conflicts libgit2
</span> set my_name libgit2
# don't forget to update py-pygit2 and libgit2-glib as well
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup libgit2 libgit2 1.8.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup libgit2 libgit2 1.8.1 v
</span> github.tarball_from archive
revision 0
epoch 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,12 +30,12 @@ homepage https://libgit2.org/
</span>
dist_subdir ${my_name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 872cd96e8d0ffa730a8016a2a0ea4c71595da39b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9e1d6a880d59026b675456fbb1593c724c68d73c34c0d214d6eb848e9bbd8ae4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 7590126
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 d0cbd3059b71033316eea712b68377c77e9b43a8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8c1eaf0cf07cba0e9021920bfba9502140220786ed5d8a8ec6c7ad9174522f8e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 7608949
</span>
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/pkg-config:pkgconfig
</span>
depends_lib-append \
port:curl \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,9 +49,6 @@ depends_lib-append \
</span> # See: https://trac.macports.org/ticket/65585
patchfiles-append patch-tests-no-error.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/libgit2/libgit2/pull/6792
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append 0001-process.c-fix-environ-for-macOS.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-patch {
# Upstream compiles with C standard set to 90, which isn't sufficient for
# legacy-support. So patch all CMake files, and raise that to C 99.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgit2-devel/files/0001-process.c-fix-environ-for-macOS.patch b/devel/libgit2-devel/files/0001-process.c-fix-environ-for-macOS.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 22361cad259..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgit2-devel/files/0001-process.c-fix-environ-for-macOS.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,27 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 4b043541ab480aaa083707c134c23d17be5baafc Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: Sergey Fedorov <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Mon, 8 Apr 2024 03:46:17 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] process.c: fix environ for macOS
</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;'>- src/util/unix/process.c | 7 ++++++-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 6 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/util/unix/process.c src/util/unix/process.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 15092cb21..68c0384a4 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/util/unix/process.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/util/unix/process.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -15,7 +15,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include "process.h"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include "strlist.h"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--extern char **environ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <crt_externs.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #define environ (*_NSGetEnviron())
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ extern char **environ;
</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;'>- struct git_process {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char **args;
</span></pre><pre style='margin:0'>
</pre>