summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-02-02 14:10:48 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-02-02 14:10:48 +0000
commit4ce8903469bed903faaee52e6e3433322cd05717 (patch)
tree315d73700bfb6ab29325a7235d5ef725460afb92 /dev-ruby/IceRuby/files
parentStable on sparc wrt #164978 (diff)
downloadhistorical-4ce8903469bed903faaee52e6e3433322cd05717.tar.gz
historical-4ce8903469bed903faaee52e6e3433322cd05717.tar.bz2
historical-4ce8903469bed903faaee52e6e3433322cd05717.zip
Add a patch to fix an array bug
Package-Manager: portage-2.1.2-r5
Diffstat (limited to 'dev-ruby/IceRuby/files')
-rw-r--r--dev-ruby/IceRuby/files/array_fix-3.1.1.patch65
-rw-r--r--dev-ruby/IceRuby/files/digest-IceRuby-3.1.1-r13
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-ruby/IceRuby/files/array_fix-3.1.1.patch b/dev-ruby/IceRuby/files/array_fix-3.1.1.patch
new file mode 100644
index 000000000000..20fa180d5dbe
--- /dev/null
+++ b/dev-ruby/IceRuby/files/array_fix-3.1.1.patch
@@ -0,0 +1,65 @@
+--- src/IceRuby/Types.cpp.orig 2007-02-02 08:58:24.000000000 -0500
++++ src/IceRuby/Types.cpp 2007-02-02 09:02:41.000000000 -0500
+@@ -548,7 +548,7 @@
+ {
+ RARRAY(arr)->ptr[i] = INT2FIX(seq[i]);
+ }
+- RARRAY(arr)->len = sz;
++ RARRAY(arr)->len++;
+ break;
+ }
+ case PrimitiveInfo::KindShort:
+@@ -561,7 +561,7 @@
+ {
+ RARRAY(arr)->ptr[i] = INT2FIX(seq[i]);
+ }
+- RARRAY(arr)->len = sz;
++ RARRAY(arr)->len++;
+ break;
+ }
+ case PrimitiveInfo::KindInt:
+@@ -574,7 +574,7 @@
+ {
+ RARRAY(arr)->ptr[i] = INT2FIX(seq[i]);
+ }
+- RARRAY(arr)->len = sz;
++ RARRAY(arr)->len++;
+ break;
+ }
+ case PrimitiveInfo::KindLong:
+@@ -587,7 +587,7 @@
+ {
+ RARRAY(arr)->ptr[i] = callRuby(rb_ll2inum, seq[i]);
+ }
+- RARRAY(arr)->len = sz;
++ RARRAY(arr)->len++;
+ break;
+ }
+ case PrimitiveInfo::KindFloat:
+@@ -600,7 +600,7 @@
+ {
+ RARRAY(arr)->ptr[i] = callRuby(rb_float_new, seq[i]);
+ }
+- RARRAY(arr)->len = sz;
++ RARRAY(arr)->len++;
+ break;
+ }
+ case PrimitiveInfo::KindDouble:
+@@ -613,7 +613,7 @@
+ {
+ RARRAY(arr)->ptr[i] = callRuby(rb_float_new, seq[i]);
+ }
+- RARRAY(arr)->len = sz;
++ RARRAY(arr)->len++;
+ break;
+ }
+ case PrimitiveInfo::KindString:
+@@ -626,7 +626,7 @@
+ {
+ RARRAY(arr)->ptr[i] = createString(seq[i]);
+ }
+- RARRAY(arr)->len = sz;
++ RARRAY(arr)->len++;
+ break;
+ }
+ }
diff --git a/dev-ruby/IceRuby/files/digest-IceRuby-3.1.1-r1 b/dev-ruby/IceRuby/files/digest-IceRuby-3.1.1-r1
new file mode 100644
index 000000000000..4a75c2084f7c
--- /dev/null
+++ b/dev-ruby/IceRuby/files/digest-IceRuby-3.1.1-r1
@@ -0,0 +1,3 @@
+MD5 d48d954b92afb3399ffdfea9f3ff0c21 IceRuby-3.1.1.tar.gz 337998
+RMD160 7c8fdd43469432bbfabc9ca49018349a4418c928 IceRuby-3.1.1.tar.gz 337998
+SHA256 1dee046bab93e4320a2b69a6b6b4beb16bd7a2e8b45553299c468773f9e57f8e IceRuby-3.1.1.tar.gz 337998