summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2005-12-06 14:45:13 +0000
committerCaleb Tennis <caleb@gentoo.org>2005-12-06 14:45:13 +0000
commit1338bf200ef942ded4ad3930ce54eb48797b7edd (patch)
treeda86dd616e976ab38a1c84494bacb10b0abbcb0d /kde-base/qtruby/files
parentFixes for webapp-config-1.50 (diff)
downloadgentoo-2-1338bf200ef942ded4ad3930ce54eb48797b7edd.tar.gz
gentoo-2-1338bf200ef942ded4ad3930ce54eb48797b7edd.tar.bz2
gentoo-2-1338bf200ef942ded4ad3930ce54eb48797b7edd.zip
Add a patch to make QtRuby work with Ruby >= 1.8.4
(Portage version: 2.0.53)
Diffstat (limited to 'kde-base/qtruby/files')
-rw-r--r--kde-base/qtruby/files/digest-qtruby-3.4.3-r11
-rw-r--r--kde-base/qtruby/files/digest-qtruby-3.5.0-r11
-rw-r--r--kde-base/qtruby/files/qtruby-3-makeitwork.patch13
3 files changed, 15 insertions, 0 deletions
diff --git a/kde-base/qtruby/files/digest-qtruby-3.4.3-r1 b/kde-base/qtruby/files/digest-qtruby-3.4.3-r1
new file mode 100644
index 000000000000..9c261e1b4588
--- /dev/null
+++ b/kde-base/qtruby/files/digest-qtruby-3.4.3-r1
@@ -0,0 +1 @@
+MD5 0fb123df324b4d007351c89051532dee kdebindings-3.4.3.tar.bz2 7184410
diff --git a/kde-base/qtruby/files/digest-qtruby-3.5.0-r1 b/kde-base/qtruby/files/digest-qtruby-3.5.0-r1
new file mode 100644
index 000000000000..c43095c4d375
--- /dev/null
+++ b/kde-base/qtruby/files/digest-qtruby-3.5.0-r1
@@ -0,0 +1 @@
+MD5 137924318ff5fc49cee3c82ee0ce5cf5 kdebindings-3.5.0.tar.bz2 5387839
diff --git a/kde-base/qtruby/files/qtruby-3-makeitwork.patch b/kde-base/qtruby/files/qtruby-3-makeitwork.patch
new file mode 100644
index 000000000000..4039671d88c8
--- /dev/null
+++ b/kde-base/qtruby/files/qtruby-3-makeitwork.patch
@@ -0,0 +1,13 @@
+--- qtruby/rubylib/qtruby/Qt.cpp (revision 486006)
++++ qtruby/rubylib/qtruby/Qt.cpp (revision 486016)
+@@ -1563,10 +1563,7 @@
+ }
+
+ VALUE result = rb_funcall2(qt_internal_module, rb_intern("try_initialize"), argc+1, temp_stack);
+-
+- if (rb_respond_to(result, rb_intern("initialize")) != 0) {
+ rb_obj_call_init(result, argc, argv);
+- }
+
+ free(temp_stack);
+ return result;