From 8c60daa00cc4d9517a48599e743b77bbb5bfd6db Mon Sep 17 00:00:00 2001 From: flz Date: Wed, 30 Nov 2005 12:00:43 +0000 Subject: - Fix segfault on machines where sizeof(int) != sizeof(char *). PR: ports/88729 Submitted by: Vasil Dimov Approved by: maintainer timeout (2 weeks) --- textproc/urlview/Makefile | 2 +- textproc/urlview/files/patch-urlview.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 textproc/urlview/files/patch-urlview.c (limited to 'textproc/urlview') 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 + #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" -- cgit