<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/572b3fa745672b114ee00c2d4a4a4e9b3817bbe5">https://github.com/macports/macports-ports/commit/572b3fa745672b114ee00c2d4a4a4e9b3817bbe5</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 572b3fa7456 gconfmm: Fix build with glib 2.67.3 and later
</span>572b3fa7456 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 572b3fa745672b114ee00c2d4a4a4e9b3817bbe5
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Mon May 13 18:06:27 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> gconfmm: Fix build with glib 2.67.3 and later
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/69964
</span>---
gnome/gconfmm/Portfile | 5 ++-
...confmm26-2.28.3-no-extern-c-glib-includes.patch | 47 ++++++++++++++++++++++
2 files changed, 50 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gconfmm/Portfile b/gnome/gconfmm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 66ca169bc3a..2902a705c14 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gconfmm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gconfmm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,7 +19,7 @@ long_description \
</span> maintainers nomaintainer
categories gnome
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://www.gtkmm.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://gitlab.gnome.org/Archive/${name}
</span> master_sites gnome:sources/${name}/${branch}/
use_xz yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,7 +29,8 @@ depends_build path:bin/pkg-config:pkgconfig \
</span> depends_lib port:glibmm \
port:gconf
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-configure.ac.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gconfmm26-2.28.3-no-extern-c-glib-includes.patch
</span>
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gconfmm/files/gconfmm26-2.28.3-no-extern-c-glib-includes.patch b/gnome/gconfmm/files/gconfmm26-2.28.3-no-extern-c-glib-includes.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..061a69fa295
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gconfmm/files/gconfmm26-2.28.3-no-extern-c-glib-includes.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,47 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: templates must have C++ linkage
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.gnome.org/GNOME/glib/-/issues/2331
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://src.fedoraproject.org/rpms/gconfmm26/blob/4e74a371eef957bbd581cc0501ef110bb7861794/f/gconfmm26-2.28.3-no-extern-c-glib-includes.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gconf/gconfmm/callback.h 2011-10-18 11:33:49.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gconf/gconfmm/callback.h 2021-02-13 09:21:06.167235506 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,10 +22,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef GCONFMM_CALLBACK_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define GCONFMM_CALLBACK_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-extern "C"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <gconf/gconf-client.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <glibmm/object.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <gconfmm/entry.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff -Naur gconf/gconfmm/schema.h gconf/gconfmm/schema.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gconf/gconfmm/schema.h 2011-10-21 04:51:27.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gconf/gconfmm/schema.h 2021-02-13 09:21:24.616354041 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -31,10 +31,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <gconfmm/value.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-extern "C" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // TODO: do not include this.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <gconf/gconf-schema.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace Gnome
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff -Naur gconf/src/schema.hg gconf/src/schema.hg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gconf/src/schema.hg 2011-10-18 11:33:49.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gconf/src/schema.hg 2021-02-13 09:21:58.002568546 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -24,10 +24,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _DEFS(gconfmm,gconf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-extern "C" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // TODO: do not include this.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <gconf/gconf-schema.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace Gnome
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span></pre><pre style='margin:0'>
</pre>