Browse Source

weechat: Patch for ruby 2.6 support

android-5
Fredrik Fornwall 6 years ago
parent
commit
3e7470e188
  1. 12
      packages/weechat/cmake-FindRuby.cmake.patch

12
packages/weechat/cmake-FindRuby.cmake.patch

@ -0,0 +1,12 @@
diff -u -r ../weechat-2.4/cmake/FindRuby.cmake ./cmake/FindRuby.cmake
--- ../weechat-2.4/cmake/FindRuby.cmake 2019-02-17 07:20:07.000000000 +0000
+++ ./cmake/FindRuby.cmake 2019-02-24 18:49:43.397998264 +0000
@@ -33,7 +33,7 @@
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
- pkg_search_module(RUBY ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
+ pkg_search_module(RUBY ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
endif()
if(RUBY_FOUND)
Loading…
Cancel
Save