openbsd-ports/textproc/urlview/patches/patch-urlview_c
2003-09-23 15:49:49 +00:00

13 lines
522 B
Plaintext

$OpenBSD: patch-urlview_c,v 1.1 2003/09/23 15:49:49 sturm Exp $
--- urlview.c.orig 2003-09-09 10:22:06.000000000 +0200
+++ urlview.c 2003-09-09 10:22:21.000000000 +0200
@@ -48,7 +48,7 @@
#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)