Follow-up Comment #2, patch #8209 (project weechat):
I'm attaching an alternative patch that just changes the #if tests from
RUBY_VERSION to use RUBY_API_VERSION_MAJOR and RUBY_API_VERSION_MINOR. From
some Google results I think these symbols are defined in 1.9, but I've only
tested against Ruby 2.
It would probably be nicer to do this in CMake and define a single variable.
(file #29370)
_______________________________________________________
Additional Item Attachment:
File name: 0001-ruby-Fix-compilation-with-ruby-2.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8209>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev