diff options
Diffstat (limited to 'databases/ruby-bdb1/files')
| -rw-r--r-- | databases/ruby-bdb1/files/patch-delegate | 10 | ||||
| -rw-r--r-- | databases/ruby-bdb1/files/patch-super | 16 |
2 files changed, 0 insertions, 26 deletions
diff --git a/databases/ruby-bdb1/files/patch-delegate b/databases/ruby-bdb1/files/patch-delegate deleted file mode 100644 index 04b9c8735fdb..000000000000 --- a/databases/ruby-bdb1/files/patch-delegate +++ /dev/null @@ -1,10 +0,0 @@ ---- src/delegate.c 2006-09-19 13:06:40.000000000 -0400 -+++ src/delegate.c 2011-09-02 13:28:23.000000000 -0400 -@@ -171,5 +171,6 @@ - ary = rb_class_instance_methods(1, &tmp, rb_mKernel); - for (i = 0; i < RARRAY_LEN(ary); i++) { -- method = StringValuePtr(RARRAY_PTR(ary)[i]); -+ tmp = rb_obj_as_string(RARRAY_PTR(ary)[i]); -+ method = StringValuePtr(tmp); - if (!strcmp(method, "==") || - !strcmp(method, "===") || !strcmp(method, "=~")) continue; diff --git a/databases/ruby-bdb1/files/patch-super b/databases/ruby-bdb1/files/patch-super deleted file mode 100644 index f90e04a63d36..000000000000 --- a/databases/ruby-bdb1/files/patch-super +++ /dev/null @@ -1,16 +0,0 @@ -The RCLASS_SUPER define is present in both Ruby 1.8 and 1.9. - -Direct access to "super" no longer works in 1.9 (the field is -not there), but the define continues to work properly. - - -mi - ---- src/bdb1.c 2006-09-20 12:41:01.000000000 -0400 -+++ src/bdb1.c 2011-09-02 12:27:34.000000000 -0400 -@@ -692,5 +692,5 @@ - break; - } -- cl = RCLASS(cl)->super; -+ cl = RCLASS_SUPER(cl); - } - if (!cl) { |
