pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-gnome2-glib ruby-gnome2-glib: pull upstream...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c07b8d832aa
branches:  trunk
changeset: 380957:6c07b8d832aa
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Sat May 26 15:58:59 2018 +0000

description:
ruby-gnome2-glib: pull upstream fixes for issue #1166.

Bump PKGREVISION.

diffstat:

 devel/ruby-gnome2-glib/Makefile                                  |   3 +-
 devel/ruby-gnome2-glib/distinfo                                  |   3 +-
 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__closure.c |  23 ++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r 6970d097cbc8 -r 6c07b8d832aa devel/ruby-gnome2-glib/Makefile
--- a/devel/ruby-gnome2-glib/Makefile   Sat May 26 15:54:21 2018 +0000
+++ b/devel/ruby-gnome2-glib/Makefile   Sat May 26 15:58:59 2018 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2018/05/03 12:04:02 tsutsui Exp $
+# $NetBSD: Makefile,v 1.33 2018/05/26 15:58:59 tsutsui Exp $
 #
 
 DISTNAME=              glib2-${VERSION}
 PKGNAME=               ${RUBY_PKGPREFIX}-gnome2-glib-${VERSION}
+PKGREVISION=           1
 COMMENT=               Ruby binding of GLib-2.x
 CATEGORIES=            devel
 
diff -r 6970d097cbc8 -r 6c07b8d832aa devel/ruby-gnome2-glib/distinfo
--- a/devel/ruby-gnome2-glib/distinfo   Sat May 26 15:54:21 2018 +0000
+++ b/devel/ruby-gnome2-glib/distinfo   Sat May 26 15:58:59 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.16 2018/05/03 12:04:02 tsutsui Exp $
+$NetBSD: distinfo,v 1.17 2018/05/26 15:58:59 tsutsui Exp $
 
 SHA1 (glib2-3.2.5.gem) = c48e4b6e17635a6b403e1b98565d6994d7bf69ac
 RMD160 (glib2-3.2.5.gem) = 0cbe598a9df602fbb18ef73a1b3355cca48eab3c
 SHA512 (glib2-3.2.5.gem) = 7c18dd94bd235381593f04fd429fb523d7c69a209ec7fb17216365c50615d01a0713d86aa92e32980a892f77a300be45db6ccaa52f81aade76e4808cdc47d4d9
 Size (glib2-3.2.5.gem) = 142848 bytes
+SHA1 (patch-ext_glib2_rbgobj__closure.c) = 4dec1acd7a32c2c13dd5b802b75600a8a301fc4e
diff -r 6970d097cbc8 -r 6c07b8d832aa devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__closure.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__closure.c  Sat May 26 15:58:59 2018 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ext_glib2_rbgobj__closure.c,v 1.3 2018/05/26 15:58:59 tsutsui Exp $
+
+- pull upstream fix for issue #1166
+ https://github.com/ruby-gnome2/ruby-gnome2/commit/e11ae27581af70fb09ce26ef038d8ebfac49047a
+ https://github.com/ruby-gnome2/ruby-gnome2/commit/e77f03b60045c40b9851cc9ef5195c168c674fd0
+
+--- ext/glib2/rbgobj_closure.c.orig    2018-05-04 23:58:14.749953854 +0000
++++ ext/glib2/rbgobj_closure.c
+@@ -290,12 +290,13 @@ g_rclosure_attach(GClosure *closure, VALUE object)
+     static VALUE cGLibObject = Qnil;
+     GRClosure *rclosure = (GRClosure *)closure;
+ 
++    rbgobj_add_relative(object, rclosure->rb_holder);
++
+     if (NIL_P(cGLibObject)) {
+         cGLibObject = rb_const_get(mGLib, rb_intern("Object"));
+     }
+     if (rb_obj_is_kind_of(object, cGLibObject)) {
+         GObject *gobject;
+-        rbgobj_object_add_relative(object, rclosure->rb_holder);
+         gobject = RVAL2GOBJ(object);
+         rclosure->count++;
+         g_object_weak_ref(gobject, rclosure_weak_notify, rclosure);



Home | Main Index | Thread Index | Old Index