- Fix segfault on machines where sizeof(int) != sizeof(char *).

PR:		ports/88729
Submitted by:	Vasil Dimov <vd@datamax.bg>
Approved by:	maintainer timeout (2 weeks)
This commit is contained in:
Florent Thoumie 2005-11-30 12:00:43 +00:00
parent fe6b98c6de
commit 3b920fcd6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150033
2 changed files with 12 additions and 1 deletions

View file

@ -8,7 +8,7 @@
PORTNAME= urlview PORTNAME= urlview
PORTVERSION= 0.9 PORTVERSION= 0.9
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= textproc www CATEGORIES= textproc www
MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \ MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \
ftp://ftp.sunsite.auc.dk/pub/mail/mutt/contrib/ \ ftp://ftp.sunsite.auc.dk/pub/mail/mutt/contrib/ \

View file

@ -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"