diff options
Diffstat (limited to 'databases/ruby-bdb1/files/patch-super')
| -rw-r--r-- | databases/ruby-bdb1/files/patch-super | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/ruby-bdb1/files/patch-super b/databases/ruby-bdb1/files/patch-super new file mode 100644 index 000000000000..f90e04a63d36 --- /dev/null +++ b/databases/ruby-bdb1/files/patch-super @@ -0,0 +1,16 @@ +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) { |
