aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/urlview/Makefile2
-rw-r--r--textproc/urlview/files/patch-urlview.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/textproc/urlview/Makefile b/textproc/urlview/Makefile
index c448ffdfea2..aff29aeeba7 100644
--- a/textproc/urlview/Makefile
+++ b/textproc/urlview/Makefile
@@ -8,7 +8,7 @@
PORTNAME= urlview
PORTVERSION= 0.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc www
MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \
ftp://ftp.sunsite.auc.dk/pub/mail/mutt/contrib/ \
diff --git a/textproc/urlview/files/patch-urlview.c b/textproc/urlview/files/patch-urlview.c
new file mode 100644
index 00000000000..84fd3714048
--- /dev/null
+++ b/textproc/urlview/files/patch-urlview.c
@@ -0,0 +1,11 @@
+--- urlview.c.orig Wed Nov 9 15:34:39 2005
++++ urlview.c Wed Nov 9 15:35:06 2005
+@@ -46,6 +46,8 @@
+ #include <rx/rxposix.h>
+ #endif
+
++#include "quote.h"
++
+ #define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \t.,;<>\"\\):]"
+ #define DEFAULT_COMMAND "url_handler.sh %s"
+ #define SYSTEM_INITFILE "/usr/local/etc/urlview.conf"