SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
sysutils/ranger/patches/patch-ranger_ext_img_display_py
Normal file
18
sysutils/ranger/patches/patch-ranger_ext_img_display_py
Normal file
|
@ -0,0 +1,18 @@
|
|||
Fix w3mimgdisplay path.
|
||||
|
||||
Index: ranger/ext/img_display.py
|
||||
--- ranger/ext/img_display.py.orig
|
||||
+++ ranger/ext/img_display.py
|
||||
@@ -35,11 +35,7 @@ from ranger.core.shared import FileManagerAware
|
||||
W3MIMGDISPLAY_ENV = "W3MIMGDISPLAY_PATH"
|
||||
W3MIMGDISPLAY_OPTIONS = []
|
||||
W3MIMGDISPLAY_PATHS = [
|
||||
- '/usr/lib/w3m/w3mimgdisplay',
|
||||
- '/usr/libexec/w3m/w3mimgdisplay',
|
||||
- '/usr/lib64/w3m/w3mimgdisplay',
|
||||
- '/usr/libexec64/w3m/w3mimgdisplay',
|
||||
- '/usr/local/libexec/w3m/w3mimgdisplay',
|
||||
+ '${LOCALBASE}/libexec/w3m/w3mimgdisplay',
|
||||
]
|
||||
|
||||
# Helper functions shared between the previewers (make them static methods of the base class?)
|
Loading…
Add table
Add a link
Reference in a new issue