openbsd-ports/textproc/urlview/patches/patch-urlview_c
sturm 82cdc27ea7 missing prototype
from Jimmy Scott <jimmy at inet-solutions.be>
2006-01-29 14:46:14 +00:00

17 lines
556 B
Plaintext

$OpenBSD: patch-urlview_c,v 1.2 2006/01/29 14:46:14 sturm Exp $
--- urlview.c.orig Tue Jul 4 12:14:30 2000
+++ urlview.c Sun Jan 29 15:41:28 2006
@@ -46,9 +46,11 @@
#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 "/etc/urlview.conf"
+#define SYSTEM_INITFILE "%%SYSCONFDIR%%/urlview.conf"
#define OFFSET 2
#define PAGELEN (LINES - 1 - OFFSET)