diff options
author | James An | 2017-05-12 21:21:51 -0400 |
---|---|---|
committer | James An | 2017-05-12 21:21:51 -0400 |
commit | 19cbe3405ee1327b68f5fe8a56c7547f1dc9f0f1 (patch) | |
tree | 2b27548d544dc1d0a63619fec14aae0e8be7cca3 /ruby-2.x.patch | |
parent | e9401f63bf584c0e6ae808257579727384f5ce2a (diff) | |
download | aur-19cbe3405ee1327b68f5fe8a56c7547f1dc9f0f1.tar.gz |
Fixed support for Ruby 2.4.x.
Diffstat (limited to 'ruby-2.x.patch')
-rw-r--r-- | ruby-2.x.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ruby-2.x.patch b/ruby-2.x.patch new file mode 100644 index 000000000000..a9083ec379d8 --- /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 |