diff --git a/srcpkgs/weechat/patches/ruby22.patch b/srcpkgs/weechat/patches/ruby22.patch new file mode 100644 index 00000000000..bf9ab3bf18d --- /dev/null +++ b/srcpkgs/weechat/patches/ruby22.patch @@ -0,0 +1,11 @@ +--- cmake/FindRuby.cmake 2014-12-25 16:18:17.898741398 +0100 ++++ cmake/FindRuby.cmake 2014-12-25 16:18:30.405677809 +0100 +@@ -33,7 +33,7 @@ + + find_package(PkgConfig) + if(PKG_CONFIG_FOUND) +- pkg_search_module(RUBY ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8) ++ pkg_search_module(RUBY ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8) + endif() + + if(RUBY_FOUND)