summaryrefslogtreecommitdiff
path: root/net-im/mikutter/files
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2018-01-24 10:38:50 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2018-01-24 10:38:50 +0000
commit6b8f29c9719740f9e6db2f667505488f18515bbc (patch)
tree1ab45b50741a1ecfceef7a298124bd34174165c3 /net-im/mikutter/files
parent- Update RUN_DEPENDS (diff)
- Update to 3.6.0
Submitted by: Koichiro IWAO <meta+ports_AT_vmeta_DOT_jp> PR: 224923
Diffstat (limited to 'net-im/mikutter/files')
-rw-r--r--net-im/mikutter/files/patch-core_mui_gtk__postbox.rb11
-rw-r--r--net-im/mikutter/files/patch-mikutter.rb12
2 files changed, 6 insertions, 17 deletions
diff --git a/net-im/mikutter/files/patch-core_mui_gtk__postbox.rb b/net-im/mikutter/files/patch-core_mui_gtk__postbox.rb
deleted file mode 100644
index 65e97c0859d7..000000000000
--- a/net-im/mikutter/files/patch-core_mui_gtk__postbox.rb
+++ /dev/null
@@ -1,11 +0,0 @@
---- core/mui/gtk_postbox.rb.orig 2017-10-08 12:29:16 UTC
-+++ core/mui/gtk_postbox.rb
-@@ -290,7 +290,7 @@ module Gtk
- def remain_charcount
- if not widget_post.destroyed?
- text = trim_hidden_regions(widget_post.buffer.text + UserConfig[:footer])
-- Twitter::Extractor.extract_urls(text).map{|url|
-+ Twitter::TwitterText::Extractor.extract_urls(text).map{|url|
- if url.length < posted_url_length(url)
- -(posted_url_length(url) - url.length)
- else
diff --git a/net-im/mikutter/files/patch-mikutter.rb b/net-im/mikutter/files/patch-mikutter.rb
index 3f09c45704d9..53dfd695b3cc 100644
--- a/net-im/mikutter/files/patch-mikutter.rb
+++ b/net-im/mikutter/files/patch-mikutter.rb
@@ -1,15 +1,15 @@
---- mikutter.rb.orig 2017-10-08 12:29:16 UTC
+--- mikutter.rb.orig 2017-12-24 15:00:56 UTC
+++ mikutter.rb
-@@ -11,7 +11,7 @@ This software is released under the MIT
- http://opensource.org/licenses/mit-license.php
-
+@@ -13,7 +13,7 @@ http://opensource.org/licenses/mit-licen
=end
+ module Mikutter; end
+
-require_relative 'core/boot/option'
+require_relative '%%RUBY_SITELIBDIR%%/mikutter/core/boot/option'
Mopt.parse exec_command: true
if !ENV['DISABLE_BUNDLER_SETUP'] || ['', '0'].include?(ENV['DISABLE_BUNDLER_SETUP'].to_s)
-@@ -31,7 +31,7 @@ require 'webrick'
+@@ -33,7 +33,7 @@ require 'webrick'
require 'thread'
require 'fileutils'
@@ -17,4 +17,4 @@
+require_relative '%%RUBY_SITELIBDIR%%/mikutter/core/utils'
miquire :boot, 'check_config_permission', 'mainloop', 'delayer'
- miquire :core, 'service', 'environment'
+ miquire :core, 'environment'