freebsd-ports/textproc/urlview/files/patch-urlview.c
Florent Thoumie 3b920fcd6b - 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)
2005-11-30 12:00:43 +00:00

11 lines
388 B
C

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