summarylogtreecommitdiffstats
path: root/ruby-2.x.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ruby-2.x.patch')
-rw-r--r--ruby-2.x.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ruby-2.x.patch b/ruby-2.x.patch
new file mode 100644
index 00000000000..a9083ec379d
--- /dev/null
+++ b/ruby-2.x.patch
@@ -0,0 +1,13 @@
+ diff --git a/ext/tuple/extconf.rb b/ext/tuple/extconf.rb
+index ce4e688..3b2b1ac 100644
+--- a/ext/tuple/extconf.rb
++++ b/ext/tuple/extconf.rb
+@@ -8,7 +8,7 @@ when /\A1\.9/
+ when /\A2\.(0|1)/
+ $CFLAGS += ' -DRUBY_2_x_x'
+ $CFLAGS += ' -DRUBY_2_1_x'
+-when /\A2\.2/
++when /\A2\.(2|3|4)/
+ $CFLAGS += ' -DRUBY_2_x_x'
+ $CFLAGS += ' -DRUBY_2_2_x'
+ else