openbsd-ports/textproc/urlview/patches/patch-urlview_c
jasper 19e8571a9d - sync MASTER_SITES with mutt/Makefile.inc
- use SUBST_CMD
- set license version
- regen PLIST and patches while here
2009-12-23 22:04:18 +00:00

17 lines
556 B
Plaintext

$OpenBSD: patch-urlview_c,v 1.3 2009/12/23 22:04:18 jasper 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)