<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/df866b59681b115613d0c1fcdfdd8af79539b459">https://github.com/macports/macports-ports/commit/df866b59681b115613d0c1fcdfdd8af79539b459</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 df866b5 glib2-devel: Update to 2.53.2
</span>df866b5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit df866b59681b115613d0c1fcdfdd8af79539b459
</span>Author: Ryan Schmidt <git@ryandesign.com>
AuthorDate: Sat May 27 02:45:56 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> glib2-devel: Update to 2.53.2
</span>---
devel/glib2-devel/Portfile | 7 +++----
devel/glib2-devel/files/patch-gmodule-gmodule-dl.c.diff | 17 +++++++++++------
2 files changed, 14 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/glib2-devel/Portfile b/devel/glib2-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f92f2d7..4883ba2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/glib2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/glib2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,8 +8,7 @@ PortGroup compiler_blacklist_versions 1.0
</span> name glib2-devel
conflicts glib2
set my_name glib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.53.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.53.2
</span> set branch [join [lrange [split ${version} .] 0 1] .]
categories devel
maintainers {ryandesign @ryandesign} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,8 +28,8 @@ long_description Glib is a library which includes support routines \
</span>
master_sites gnome:sources/${my_name}/${branch}/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 1a127e3c9e0c6d5aedd57f86bda1eecb55bbf298 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c8740f1d1a138086eede889b596a511fddda180646ab2f1d98aed4fdb6be7f72
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 5714bbaf70a5269cdee631c7e1917849752f0838 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ada8e2b22f52de1950dd327bdef80a7e41e6da5ddc85fb81d9a8439e9dff8e0d
</span>
# ${prefix}/include/glib-2.0/glib/gi18n.h requires -I${prefix}/include to find libintl.h
# See https://trac.macports.org/changeset/27148
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/glib2-devel/files/patch-gmodule-gmodule-dl.c.diff b/devel/glib2-devel/files/patch-gmodule-gmodule-dl.c.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index cd7b584..708f7bd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/glib2-devel/files/patch-gmodule-gmodule-dl.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/glib2-devel/files/patch-gmodule-gmodule-dl.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gmodule/gmodule-dl.c.orig 2014-07-04 16:59:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gmodule/gmodule-dl.c 2014-11-03 10:53:31.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -126,16 +126,18 @@ static void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gmodule/gmodule-dl.c.orig 2017-05-13 11:45:43.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gmodule/gmodule-dl.c 2017-05-22 18:44:55.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -133,22 +133,18 @@
</span> _g_module_close (gpointer handle,
gboolean is_unref)
{
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,17 +9,22 @@
</span> + /* Intentionally not dlclose()ing because it is safer to leave the library
+ * loaded in memory than to close it and possibly leave dangling pointers
+ * to things like atexit handlers, atfork handlers, blocks, etc.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * See above for the Android special case
</span> + * See https://trac.macports.org/ticket/45309 for an example from when
+ * a library used by a module added a new dependency which had an
+ * initializer which added a child atfork handler. The result is that
+ * after closing the module, the system had a dangling pointer for the
+ * atfork handler which would at best crash on the child side of fork()
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * and at worst lead to arbitray code execution of whatever happened to be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * and at worst lead to arbitrary code execution of whatever happened to be
</span> + * at that location in memory at a later time in the process.
*/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__BIONIC__) && !defined(__LP64__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- is_unref = (handle != RTLD_DEFAULT);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#else
</span> - is_unref |= 1;
<span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span> - if (is_unref)
- {
- if (dlclose (handle) != 0)
</pre><pre style='margin:0'>
</pre>