<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/e90e6c44318fb393d51c4f83d305af076859d993">https://github.com/macports/macports-ports/commit/e90e6c44318fb393d51c4f83d305af076859d993</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 e90e6c44318 gimp2-devel: fix builds for 10.8 and earlier
</span>e90e6c44318 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e90e6c44318fb393d51c4f83d305af076859d993
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat May 6 16:37:45 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> gimp2-devel: fix builds for 10.8 and earlier
</span>---
graphics/gimp2-devel/Portfile | 10 ++++-----
.../files/patch-updatecheck-nsurlsession.diff | 25 ++++++++++++++++++++++
2 files changed, 30 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/gimp2-devel/Portfile b/graphics/gimp2-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3904c244cca..78ae0ed105c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/gimp2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/gimp2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -98,11 +98,11 @@ compiler.blacklist-append *gcc-3.* *gcc-4.* {clang < 700}
</span> configure.cflags-append \
-Wno-deprecated-declarations
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-etc-gimprc.in.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-mach-task-info.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-quartz-32bit.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MYPAINT_BRUSHES_DIR.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-etc-gimprc.in.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-mach-task-info.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-quartz-32bit.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append MYPAINT_BRUSHES_DIR.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-updatecheck-nsurlsession.diff
</span>
platform darwin {
if {${os.major} < 11} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/gimp2-devel/files/patch-updatecheck-nsurlsession.diff b/graphics/gimp2-devel/files/patch-updatecheck-nsurlsession.diff
</span>new file mode 100755
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..46c7ca9a43c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/gimp2-devel/files/patch-updatecheck-nsurlsession.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- app/gimp-update.c.orig 2023-05-06 15:29:29.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ app/gimp-update.c 2023-05-06 15:30:24.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -519,7 +519,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gimp_update_check (GimpCoreConfig *config)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef PLATFORM_OSX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(PLATFORM_OSX) && defined(MAC_OS_X_VERSION_10_9)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const gchar *gimp_versions;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gimp_versions = gimp_get_version_url ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -569,13 +569,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_idle_add ((GSourceFunc) gimp_check_updates_process_idle, (gpointer) update_results);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }] resume];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- GFile *gimp_versions;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- gimp_versions = g_file_new_for_uri (gimp_get_version_url ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- g_file_load_contents_async (gimp_versions, NULL, gimp_check_updates_callback, config);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- g_object_unref (gimp_versions);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* PLATFORM_OSX */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>