diff -ruN ../py-ranger.orig/Makefile ./Makefile --- ../py-ranger.orig/Makefile 2013-09-23 13:19:37.000000000 +0800 +++ ./Makefile 2014-02-05 11:24:25.000000000 +0800 @@ -3,6 +3,7 @@ PORTNAME= ranger PORTVERSION= 1.6.1 +PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= http://ranger.nongnu.org/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff -ruN ../py-ranger.orig/files/patch-img_display.py ./files/patch-img_display.py --- ../py-ranger.orig/files/patch-img_display.py 1970-01-01 08:00:00.000000000 +0800 +++ ./files/patch-img_display.py 2014-02-05 11:36:56.000000000 +0800 @@ -0,0 +1,11 @@ +--- ranger/ext/img_display.py.orig 2014-02-05 11:33:29.000000000 +0800 ++++ ranger/ext/img_display.py 2014-02-05 11:34:00.000000000 +0800 +@@ -13,7 +13,7 @@ + import termios, fcntl, struct, sys, os + from subprocess import Popen, PIPE + +-W3MIMGDISPLAY_PATH = '/usr/lib/w3m/w3mimgdisplay' ++W3MIMGDISPLAY_PATH = '/usr/local/libexec/w3m/w3mimgdisplay' + W3MIMGDISPLAY_OPTIONS = [] + + class ImgDisplayUnsupportedException(Exception):