aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/py-ranger/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2017-02-21 22:35:32 +0800
committerkrion <krion@FreeBSD.org>2017-02-21 22:35:32 +0800
commit3d1e3c5e6e40b591850e498c1e5680941b143de5 (patch)
tree1e00e5aa9c52c8d67239e34ba0a00ce9f288540d /sysutils/py-ranger/files
parent8370e751ed4dc30bf42f0d157a88a1880f8fd5b8 (diff)
downloadfreebsd-ports-gnome-3d1e3c5e6e40b591850e498c1e5680941b143de5.tar.gz
freebsd-ports-gnome-3d1e3c5e6e40b591850e498c1e5680941b143de5.tar.zst
freebsd-ports-gnome-3d1e3c5e6e40b591850e498c1e5680941b143de5.zip
Update sysutils/py-ranger 1.8.1
PR: 217245 Submitted by: maintainer Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9684
Diffstat (limited to 'sysutils/py-ranger/files')
-rw-r--r--sysutils/py-ranger/files/patch-ranger_ext_img__display.py19
1 files changed, 9 insertions, 10 deletions
diff --git a/sysutils/py-ranger/files/patch-ranger_ext_img__display.py b/sysutils/py-ranger/files/patch-ranger_ext_img__display.py
index 84e24506f53c..e74e34105f3b 100644
--- a/sysutils/py-ranger/files/patch-ranger_ext_img__display.py
+++ b/sysutils/py-ranger/files/patch-ranger_ext_img__display.py
@@ -1,11 +1,10 @@
---- ranger/ext/img_display.py.orig 2015-10-03 23:46:45 UTC
-+++ ranger/ext/img_display.py
-@@ -21,7 +21,7 @@ import termios
- from ranger.core.shared import FileManagerAware
- from subprocess import Popen, PIPE
-
--W3MIMGDISPLAY_PATH = '/usr/lib/w3m/w3mimgdisplay'
-+W3MIMGDISPLAY_PATH = '%%LOCALBASE%%/libexec/w3m/w3mimgdisplay'
+--- ranger/ext/img_display.py.orig 2017-02-20 16:56:49.277878000 +0800
++++ ranger/ext/img_display.py 2017-02-20 17:00:01.700857000 +0800
+@@ -25,6 +25,7 @@
+ W3MIMGDISPLAY_ENV = "W3MIMGDISPLAY_PATH"
W3MIMGDISPLAY_OPTIONS = []
-
- class ImgDisplayUnsupportedException(Exception):
+ W3MIMGDISPLAY_PATHS = [
++ '%%LOCALBASE%%/libexec/w3m/w3mimgdisplay',
+ '/usr/lib/w3m/w3mimgdisplay',
+ '/usr/libexec/w3m/w3mimgdisplay',
+ '/usr/lib64/w3m/w3mimgdisplay',