<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/f1b59dc8bca5bfa9865de1aa509433a2c42a92d9">https://github.com/macports/macports-ports/commit/f1b59dc8bca5bfa9865de1aa509433a2c42a92d9</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 f1b59dc8bca gimp2: fix builds for 10.7 and earlier
</span>f1b59dc8bca is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f1b59dc8bca5bfa9865de1aa509433a2c42a92d9
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat May 6 15:51:57 2023 -0400

<span style='display:block; white-space:pre;color:#404040;'>    gimp2: fix builds for 10.7 and earlier
</span>---
 graphics/gimp2/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/Portfile b/graphics/gimp2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3caa86e66c7..8fec150a27b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/gimp2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/gimp2/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/files/patch-updatecheck-nsurlsession.diff b/graphics/gimp2/files/patch-updatecheck-nsurlsession.diff
</span>new file mode 100755
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a76b72f39a0
</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/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_8)
</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>