summaryrefslogtreecommitdiff
path: root/meta-pkgs/ruby-gnome2
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-10-22 14:02:05 +0000
committerobache <obache@pkgsrc.org>2008-10-22 14:02:05 +0000
commit0a065fc26a593c5e44a8d4253e28890f5ed9fc7d (patch)
treebe6589a0a41273d662ba3cf48619cfd758ed7f7b /meta-pkgs/ruby-gnome2
parentc5fbd0ec57135efdc62150dea4a20971ab46129a (diff)
downloadpkgsrc-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.
Diffstat (limited to 'meta-pkgs/ruby-gnome2')
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-aq16
1 files changed, 16 insertions, 0 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