aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/mikutter/files/patch-mikutter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/mikutter/files/patch-mikutter.rb')
-rw-r--r--net-im/mikutter/files/patch-mikutter.rb21
1 files changed, 15 insertions, 6 deletions
diff --git a/net-im/mikutter/files/patch-mikutter.rb b/net-im/mikutter/files/patch-mikutter.rb
index 2f0ee4a46994..3f09c45704d9 100644
--- a/net-im/mikutter/files/patch-mikutter.rb
+++ b/net-im/mikutter/files/patch-mikutter.rb
@@ -1,11 +1,20 @@
---- mikutter.rb.orig 2015-05-14 01:40:33 UTC
+--- mikutter.rb.orig 2017-10-08 12:29:16 UTC
+++ mikutter.rb
-@@ -9,7 +9,7 @@ This software is released under the MIT
+@@ -11,7 +11,7 @@ This software is released under the MIT
http://opensource.org/licenses/mit-license.php
=end
--mikutter_directory = File.expand_path(File.dirname(__FILE__))
-+mikutter_directory = '%%RUBY_SITELIBDIR%%/mikutter'
+-require_relative 'core/boot/option'
++require_relative '%%RUBY_SITELIBDIR%%/mikutter/core/boot/option'
+ Mopt.parse exec_command: true
- unless ENV['DISABLE_BUNDLER_SETUP']
- begin
+ if !ENV['DISABLE_BUNDLER_SETUP'] || ['', '0'].include?(ENV['DISABLE_BUNDLER_SETUP'].to_s)
+@@ -31,7 +31,7 @@ require 'webrick'
+ require 'thread'
+ require 'fileutils'
+
+-require_relative 'core/utils'
++require_relative '%%RUBY_SITELIBDIR%%/mikutter/core/utils'
+
+ miquire :boot, 'check_config_permission', 'mainloop', 'delayer'
+ miquire :core, 'service', 'environment'