<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/f28ddf82c41410a1375d5221acc5c46beedfbf01">https://github.com/macports/macports-ports/commit/f28ddf82c41410a1375d5221acc5c46beedfbf01</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 f28ddf82c41 gtk3-devel: add new quartz-related patches for 3.24.37 See: https://trac.macports.org/ticket/66487 See: https://trac.macports.org/ticket/66899
</span>f28ddf82c41 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f28ddf82c41410a1375d5221acc5c46beedfbf01
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Wed Apr 26 18:08:18 2023 -0400

<span style='display:block; white-space:pre;color:#404040;'>    gtk3-devel: add new quartz-related patches for 3.24.37
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/66487
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/66899
</span>---
 gnome/gtk3-devel/Portfile                          |  3 +++
 .../files/patch-quartz-calayer-contentsformat.diff | 15 ++++++++++++++
 .../gtk3-devel/files/patch-quartz-nseventtype.diff | 24 ++++++++++++++++++++++
 3 files changed, 42 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3-devel/Portfile b/gnome/gtk3-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c2e47479700..28d0566740a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk3-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,6 +67,9 @@ legacysupport.newest_darwin_requires_legacy 10
</span> # Upstream disables X11 for macOS; disable that behavior
 patchfiles-append   patch-meson.build-x11-enabled.diff
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-quartz-calayer-contentsformat.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-quartz-nseventtype.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # gtk3 +quartz uses instancetype which is not available
 # before approximately Xcode 4.6 (#49391)
 # if building +x11 blacklist comilers that do not support C11
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3-devel/files/patch-quartz-calayer-contentsformat.diff b/gnome/gtk3-devel/files/patch-quartz-calayer-contentsformat.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..09434a3a294
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3-devel/files/patch-quartz-calayer-contentsformat.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#==================================================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# macOS: Fix QuartzCore linking and compiling with 10.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4298
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#==================================================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gdk/quartz/GdkQuartzView.c.orig        2023-03-02 19:31:52.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gdk/quartz/GdkQuartzView.c     2023-04-26 17:23:32.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -320,7 +320,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   if(gdk_quartz_osx_version() >= GDK_OSX_BIGSUR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     CALayer* layer = self.layer;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     layer.contentsFormat = kCAContentsFormatRGBA8Uint;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3-devel/files/patch-quartz-nseventtype.diff b/gnome/gtk3-devel/files/patch-quartz-nseventtype.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..754e64655ab
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3-devel/files/patch-quartz-nseventtype.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gdk/quartz/gdkdisplaylinksource.c.orig 2023-04-26 17:34:57.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gdk/quartz/gdkdisplaylinksource.c      2023-04-26 17:36:06.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -26,6 +26,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "gdkinternal-quartz.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "gdkdisplaylinksource.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MIN_REQUIRED < 101200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define GDK_QUARTZ_APPLICATION_DEFINED NSApplicationDefined
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define GDK_QUARTZ_APPLICATION_DEFINED NSEventTypeApplicationDefined
</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;'>+ static gint64 host_to_frame_clock_time (gint64 host_time);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static gboolean
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -126,7 +132,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        * the select thread which would then send this message as
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        * well. Lots of extra work.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-      event = [NSEvent otherEventWithType: NSEventTypeApplicationDefined
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++      event = [NSEvent otherEventWithType: GDK_QUARTZ_APPLICATION_DEFINED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                  location: NSZeroPoint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                             modifierFlags: 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                 timestamp: 0
</span></pre><pre style='margin:0'>

</pre>