diff options
Diffstat (limited to 'net-misc/urlview/files/no-trailing-newline.patch')
-rw-r--r-- | net-misc/urlview/files/no-trailing-newline.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/urlview/files/no-trailing-newline.patch b/net-misc/urlview/files/no-trailing-newline.patch new file mode 100644 index 00000000000..6d78cd4ed07 --- /dev/null +++ b/net-misc/urlview/files/no-trailing-newline.patch @@ -0,0 +1,11 @@ +--- a/urlview.c ++++ b/urlview.no-trailing-newline.c +@@ -46,7 +46,7 @@ + #include <rx/rxposix.h> + #endif + +-#define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \t.,;<>\"\\):]" ++#define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \n\t.,;<>\"\\):]" + #define DEFAULT_COMMAND "url_handler.sh %s" + #define SYSTEM_INITFILE "/etc/urlview.conf" + |