diff options
author | TAKATSU Tomonari <tota@FreeBSD.org> | 2018-01-24 10:36:46 +0000 |
---|---|---|
committer | TAKATSU Tomonari <tota@FreeBSD.org> | 2018-01-24 10:36:46 +0000 |
commit | 14db6f1df7aea6431bbcc2cb5d580c485d2ad5aa (patch) | |
tree | ee8e3618f9c92f6186c4eceb255e264a6030121c /net-im/mikutter/files | |
parent | net-im/corebird: Update to 1.7.3 (diff) |
- Update RUN_DEPENDS
- Add the patch to fix the mikutter issue 1130
- Make portlint happy
Submitted by: Koichiro IWAO <meta+ports_AT_vmeta_DOT_jp>
PR: 224923
MFH: 2018Q1
Diffstat (limited to 'net-im/mikutter/files')
-rw-r--r-- | net-im/mikutter/files/patch-core_mui_gtk__postbox.rb | 11 |
1 files changed, 11 insertions, 0 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 new file mode 100644 index 000000000000..65e97c0859d7 --- /dev/null +++ b/net-im/mikutter/files/patch-core_mui_gtk__postbox.rb @@ -0,0 +1,11 @@ +--- 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 |