FreeBSD Bugzilla – Attachment 137381 Details for
Bug 182853
ports/textproc/urlview: regex -> pcreregex
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.27 KB, created by
George L. Yermulnik
on 2013-10-09 14:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
George L. Yermulnik
Created:
2013-10-09 14:20:00 UTC
Size:
1.27 KB
patch
obsolete
>diff -ru urlview.orig/Makefile urlview/Makefile >--- urlview.orig/Makefile 2013-10-09 14:26:51.000000000 +0300 >+++ urlview/Makefile 2013-10-09 14:38:01.000000000 +0300 >@@ -20,6 +20,9 @@ > PLIST_FILES= bin/urlview \ > etc/urlview.conf.sample > >+CFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib -lpcreposix -lpcre >+ > NO_STAGE= yes > post-patch: > @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ >diff -ru urlview.orig/files/patch-urlview.c urlview/files/patch-urlview.c >--- urlview.orig/files/patch-urlview.c 2013-10-09 14:26:51.000000000 +0300 >+++ urlview/files/patch-urlview.c 2013-10-09 14:31:35.000000000 +0300 >@@ -1,11 +1,17 @@ >---- urlview.c.orig Wed Nov 9 15:34:39 2005 >-+++ urlview.c Wed Nov 9 15:35:06 2005 >-@@ -46,6 +46,8 @@ >+--- urlview.c.orig 2013-10-09 14:30:43.000000000 +0300 >++++ urlview.c 2013-10-09 14:30:43.000000000 +0300 >+@@ -41,11 +41,13 @@ >+ #include <sys/stat.h> >+ >+ #ifdef HAVE_REGEX_H >+-#include <regex.h> >++#include <pcreposix.h> >+ #else > #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 DEFAULT_COMMAND "firefox %s" > #define SYSTEM_INITFILE "/usr/local/etc/urlview.conf"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 182853
: 137381