<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/99790cb2e861fc6c36c4a57253a7f2cffdb0cf79">https://github.com/macports/macports-ports/commit/99790cb2e861fc6c36c4a57253a7f2cffdb0cf79</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 99790cb2e86 glib2-devel: add patches for 10.6
</span>99790cb2e86 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 99790cb2e861fc6c36c4a57253a7f2cffdb0cf79
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat Aug 6 10:33:00 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    glib2-devel: add patches for 10.6
</span>---
 devel/glib2-devel/Portfile                         |  5 ++++
 .../files/patch-gio_gcredentialsprivate.h.diff     | 27 ++++++++++++++++++++++
 devel/glib2-devel/files/patch-gio_gsocket.h.diff   | 18 +++++++++++++++
 3 files changed, 50 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/glib2-devel/Portfile b/devel/glib2-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9aa7b6b4b26..2772b163def 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/glib2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/glib2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,6 +52,11 @@ patchfiles                  libintl.patch \
</span> # Patch for use of F_DUPFD_CLOEXEC. Fixed in previous and later versions, and exclusive to 2.68.x
 patchfiles-append           patch-tests-dupfd.diff
 
<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;'>+    patchfiles-append       patch-gio_gcredentialsprivate.h.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            patch-gio_gsocket.h.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append        port:gettext \
                             bin:xmllint:libxml2 \
                             port:pkgconfig
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/glib2-devel/files/patch-gio_gcredentialsprivate.h.diff b/devel/glib2-devel/files/patch-gio_gcredentialsprivate.h.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..dda7593d093
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/glib2-devel/files/patch-gio_gcredentialsprivate.h.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gio/gcredentialsprivate.h.orig 2022-03-17 23:01:31.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gio/gcredentialsprivate.h      2022-04-04 06:56:04.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -135,7 +135,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define G_CREDENTIALS_USE_NETBSD_UNPCBID 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define G_CREDENTIALS_NATIVE_TYPE G_CREDENTIALS_TYPE_NETBSD_UNPCBID
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define G_CREDENTIALS_NATIVE_SIZE (sizeof (struct unpcbid))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* #undef G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define G_CREDENTIALS_SOCKET_GET_CREDENTIALS_SUPPORTED 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define G_CREDENTIALS_SPOOFING_SUPPORTED 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define G_CREDENTIALS_HAS_PID 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -160,6 +160,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/ucred.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef SOL_LOCAL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define SOL_LOCAL 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef LOCAL_PEERCRED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define LOCAL_PEERCRED          0x001           /* retrieve peer credentails */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef LOCAL_PEERPID
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define LOCAL_PEERPID           0x002           /* retrieve peer pid */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define G_CREDENTIALS_SUPPORTED 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define G_CREDENTIALS_USE_APPLE_XUCRED 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define G_CREDENTIALS_NATIVE_TYPE G_CREDENTIALS_TYPE_APPLE_XUCRED
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/glib2-devel/files/patch-gio_gsocket.h.diff b/devel/glib2-devel/files/patch-gio_gsocket.h.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..69f80fd7bb0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/glib2-devel/files/patch-gio_gsocket.h.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gio/gsocket.h.orig     2022-03-17 23:01:31.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gio/gsocket.h  2022-04-04 06:55:30.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43,6 +43,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define G_SOCKET_GET_CLASS(inst)                            (G_TYPE_INSTANCE_GET_CLASS ((inst),                      \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                                              G_TYPE_SOCKET, GSocketClass))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef LOCAL_PEERCRED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define LOCAL_PEERCRED          0x001           /* retrieve peer credentails */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef LOCAL_PEERPID
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define LOCAL_PEERPID           0x002           /* retrieve peer pid */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef struct _GSocketPrivate                              GSocketPrivate;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef struct _GSocketClass                                GSocketClass;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span></pre><pre style='margin:0'>

</pre>