diff options
author | obache <obache@pkgsrc.org> | 2008-10-22 14:02:05 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-10-22 14:02:05 +0000 |
commit | 0a065fc26a593c5e44a8d4253e28890f5ed9fc7d (patch) | |
tree | be6589a0a41273d662ba3cf48619cfd758ed7f7b | |
parent | c5fbd0ec57135efdc62150dea4a20971ab46129a (diff) | |
download | pkgsrc-0a065fc26a593c5e44a8d4253e28890f5ed9fc7d.tar.gz |
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.
-rw-r--r-- | meta-pkgs/ruby-gnome2/patches/patch-aq | 16 | ||||
-rw-r--r-- | x11/ruby-gnome2-gtk/Makefile | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-aq b/meta-pkgs/ruby-gnome2/patches/patch-aq new file mode 100644 index 00000000000..7df8bfbdd18 --- /dev/null +++ b/meta-pkgs/ruby-gnome2/patches/patch-aq @@ -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 --git a/x11/ruby-gnome2-gtk/Makefile b/x11/ruby-gnome2-gtk/Makefile index dce32b88a14..afd3f83ab4a 100644 --- a/x11/ruby-gnome2-gtk/Makefile +++ b/x11/ruby-gnome2-gtk/Makefile @@ -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 |