diff options
author | wiz <wiz> | 2015-02-20 14:52:34 +0000 |
---|---|---|
committer | wiz <wiz> | 2015-02-20 14:52:34 +0000 |
commit | c66efb3cccf0f91b2f619219d3b7154c5541bcd4 (patch) | |
tree | 4f64c902b35aa3443c7c103b84897f4a5c52ed3e /x11 | |
parent | 893754c20a42501702845347a0f3c21d54f473bf (diff) | |
download | pkgsrc-c66efb3cccf0f91b2f619219d3b7154c5541bcd4.tar.gz |
Fix incorrect memory management, from upstream.
Bump PKGREVISION.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/p5-gtk2/Makefile | 4 | ||||
-rw-r--r-- | x11/p5-gtk2/distinfo | 3 | ||||
-rw-r--r-- | x11/p5-gtk2/patches/patch-xs_GdkDisplay.xs | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/x11/p5-gtk2/Makefile b/x11/p5-gtk2/Makefile index 3cd6676c7f4..f977a3a7385 100644 --- a/x11/p5-gtk2/Makefile +++ b/x11/p5-gtk2/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.62 2014/05/29 23:38:20 wiz Exp $ +# $NetBSD: Makefile,v 1.63 2015/02/20 14:52:34 wiz Exp $ DISTNAME= Gtk2-1.249 PKGNAME= ${DISTNAME:C:Gtk2:p5-gtk2:} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= x11 perl5 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtk2-perl/} diff --git a/x11/p5-gtk2/distinfo b/x11/p5-gtk2/distinfo index d53d4b39add..206f63fbff6 100644 --- a/x11/p5-gtk2/distinfo +++ b/x11/p5-gtk2/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.16 2014/01/27 04:28:23 obache Exp $ +$NetBSD: distinfo,v 1.17 2015/02/20 14:52:34 wiz Exp $ SHA1 (Gtk2-1.249.tar.gz) = e7e78aa3ebae975b1a8aaf35ef4d35b16aa84d38 RMD160 (Gtk2-1.249.tar.gz) = 6a4ebb0430f20eb9f883ef718cf204baa05a76bc Size (Gtk2-1.249.tar.gz) = 742086 bytes +SHA1 (patch-xs_GdkDisplay.xs) = c3693b3624a62d9d4a5ee53fc1ace829642bcc4c diff --git a/x11/p5-gtk2/patches/patch-xs_GdkDisplay.xs b/x11/p5-gtk2/patches/patch-xs_GdkDisplay.xs new file mode 100644 index 00000000000..8cbae700a6d --- /dev/null +++ b/x11/p5-gtk2/patches/patch-xs_GdkDisplay.xs @@ -0,0 +1,15 @@ +$NetBSD: patch-xs_GdkDisplay.xs,v 1.1 2015/02/20 14:52:34 wiz Exp $ + +Fix incorrect memory management, from upstream. +https://git.gnome.org/browse/perl-Gtk2/commit/?id=4856da628ce37099b27b66a88141dc6daad693b0 + +--- xs/GdkDisplay.xs.orig 2011-11-27 07:57:26.000000000 +0000 ++++ xs/GdkDisplay.xs +@@ -69,7 +69,6 @@ gdk_display_list_devices (display) + devices = gdk_display_list_devices (display); + for (i = devices ; i != NULL ; i = i->next) + XPUSHs (sv_2mortal (newSVGdkDevice (i->data))); +- g_list_free (devices); + + + GdkEvent* gdk_display_get_event (GdkDisplay *display) |