pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/ruby-gnome2-gtk Add a patch for ruby-gnome2-gtk fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8198f4dc5a7b
branches:  trunk
changeset: 548746:8198f4dc5a7b
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Oct 22 14:02:05 2008 +0000

description:
Add a patch for ruby-gnome2-gtk from upstream.

fix a bug that init function is deleted.
http://ruby-gnome2.svn.sourceforge.net/viewvc/ruby-gnome2/ruby-gnome2/trunk/gtk/src/makeinits.rb?r1=3336&r2=3339

Bump PKGREVISION.

diffstat:

 meta-pkgs/ruby-gnome2/patches/patch-aq |  16 ++++++++++++++++
 x11/ruby-gnome2-gtk/Makefile           |   3 ++-
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r e701513063c6 -r 8198f4dc5a7b meta-pkgs/ruby-gnome2/patches/patch-aq
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/ruby-gnome2/patches/patch-aq    Wed Oct 22 14:02:05 2008 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aq,v 1.1 2008/10/22 14:02:05 obache Exp $
+
+fix a bug that init function is deleted.
+http://ruby-gnome2.svn.sourceforge.net/viewvc/ruby-gnome2/ruby-gnome2/trunk/gtk/src/makeinits.rb?r1=3336&r2=3339
+
+--- gtk/src/makeinits.rb.orig  2008-09-30 15:05:11.000000000 +0000
++++ gtk/src/makeinits.rb
+@@ -14,7 +14,7 @@ def print_data(array, type, defs, extern
+         value_index = sorted_array.index(value)
+         next if value_index.nil?
+         sorted_array.delete(value)
+-        sorted_array[key_index - 1, 1] = value
++        sorted_array[key_index - 1, 0] = value
+         key_index = sorted_array.index(key)
+       end
+     end
diff -r e701513063c6 -r 8198f4dc5a7b x11/ruby-gnome2-gtk/Makefile
--- a/x11/ruby-gnome2-gtk/Makefile      Wed Oct 22 11:42:44 2008 +0000
+++ b/x11/ruby-gnome2-gtk/Makefile      Wed Oct 22 14:02:05 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2008/09/17 00:21:50 obache Exp $
+# $NetBSD: Makefile,v 1.13 2008/10/22 14:02:05 obache Exp $
 #
 
 PKGNAME=               ${RUBY_PKGPREFIX}-gnome2-gtk-${VERSION}
+PKGREVISION=           1
 CATEGORIES=            x11
 COMMENT=               Ruby binding of GTK+-2.x
 



Home | Main Index | Thread Index | Old Index