<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/fb2e768a990260b7f04b447ead2596c96f3bbd97">https://github.com/macports/macports-ports/commit/fb2e768a990260b7f04b447ead2596c96f3bbd97</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit fb2e768a990260b7f04b447ead2596c96f3bbd97
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat May 6 14:23:05 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> gtk3: fix quartz builds for 10.7 and earlier
</span>---
gnome/gtk3/Portfile | 1 +
gnome/gtk3/files/patch-quartz-meson-appleframeworks.diff | 11 +++++++++++
2 files changed, 12 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3/Portfile b/gnome/gtk3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cc475d3dc7e..a91764f37d7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,6 +69,7 @@ patchfiles-append patch-meson.build-x11-enabled.diff
</span>
patchfiles-append patch-quartz-calayer-contentsformat.diff
patchfiles-append patch-quartz-nseventtype.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-quartz-meson-appleframeworks.diff
</span>
# gtk3 +quartz uses instancetype which is not available
# before approximately Xcode 4.6 (#49391)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3/files/patch-quartz-meson-appleframeworks.diff b/gnome/gtk3/files/patch-quartz-meson-appleframeworks.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..095e5ee85b9
</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/files/patch-quartz-meson-appleframeworks.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gdk/quartz/meson.build.orig 2023-05-06 13:50:37.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gdk/quartz/meson.build 2023-05-06 13:51:48.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -45,7 +45,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install_headers(gdk_quartz_public_headers, subdir: 'gtk-3.0/gdk/quartz')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install_headers('gdkquartz.h', subdir: 'gtk-3.0/gdk')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-core_graphics_dep = dependency('appleframeworks', modules : 'CoreGraphics', required : true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++core_graphics_dep = dependency('appleframeworks', modules : 'CoreGraphics', required : false)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ appkit_dep = dependency('appleframeworks', modules : 'AppKit', required : true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cocoa_dep = dependency('appleframeworks', modules : 'Cocoa', required : true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ carbon_dep = dependency('appleframeworks', modules : 'Carbon', required : true)
</span></pre><pre style='margin:0'>
</pre>