aboutsummaryrefslogtreecommitdiff
path: root/network/urlview/patches
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-01-26 15:21:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit2289b5dc210081b521c143d2612697086801bc93 (patch)
tree84c161243248a736bbe99e933315b28620f57a9e /network/urlview/patches
parentcd2b1cf394b7a0ed1536e1394c04a10addc0bc3c (diff)
network/urlview: Added (extract URLs from text files).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/urlview/patches')
-rw-r--r--network/urlview/patches/Makefile.in.diff12
-rw-r--r--network/urlview/patches/include-fix.diff11
-rw-r--r--network/urlview/patches/sample.urlview.diff15
-rw-r--r--network/urlview/patches/url_handler.sh.diff15
4 files changed, 53 insertions, 0 deletions
diff --git a/network/urlview/patches/Makefile.in.diff b/network/urlview/patches/Makefile.in.diff
new file mode 100644
index 000000000000..2bb0334b833e
--- /dev/null
+++ b/network/urlview/patches/Makefile.in.diff
@@ -0,0 +1,12 @@
+--- Makefile.in~ 2007-06-08 14:09:57.000000000 +0200
++++ Makefile.in 2007-06-08 14:33:40.000000000 +0200
+@@ -318,7 +318,8 @@
+
+
+ install-data-local:
+- $(INSTALL_DATA) urlview.man $(mandir)/man1/urlview.1
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
++ $(INSTALL_DATA) urlview.man ${DESTDIR}$(mandir)/man1/urlview.1
+
+ # how to create a target for uninstall-data-local???
+
diff --git a/network/urlview/patches/include-fix.diff b/network/urlview/patches/include-fix.diff
new file mode 100644
index 000000000000..f4708e337a8a
--- /dev/null
+++ b/network/urlview/patches/include-fix.diff
@@ -0,0 +1,11 @@
+--- urlview.c
++++ urlview.c
+@@ -40,6 +40,8 @@
+ #include <fcntl.h>
+ #include <sys/stat.h>
+
++#include "quote.h"
++
+ #ifdef HAVE_REGEX_H
+ #include <regex.h>
+ #else
diff --git a/network/urlview/patches/sample.urlview.diff b/network/urlview/patches/sample.urlview.diff
new file mode 100644
index 000000000000..111719f5e58c
--- /dev/null
+++ b/network/urlview/patches/sample.urlview.diff
@@ -0,0 +1,15 @@
+--- sample.urlview~ 2007-06-08 14:11:09.000000000 +0200
++++ sample.urlview 2007-06-08 14:11:33.000000000 +0200
+@@ -19,10 +19,10 @@
+ #REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
+ REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
+
+-# Command to invoke for selected URL. Use lynx, netscape, or url_handler.sh
++# Command to invoke for selected URL. Use lynx, firefox, or url_handler.sh
+ # shell script.
+
+ #COMMAND lynx %s
+-#COMMAND netscape -remote 'openURL(%s)'
++#COMMAND firefox -remote 'openURL(%s)'
+ COMMAND url_handler.sh
+
diff --git a/network/urlview/patches/url_handler.sh.diff b/network/urlview/patches/url_handler.sh.diff
new file mode 100644
index 000000000000..d976e3c90bbd
--- /dev/null
+++ b/network/urlview/patches/url_handler.sh.diff
@@ -0,0 +1,15 @@
+--- url_handler.sh~ 2007-06-08 14:12:20.000000000 +0200
++++ url_handler.sh 2007-06-08 14:14:06.000000000 +0200
+@@ -28,8 +28,10 @@
+ # VT: Launch in the same terminal
+
+ # The lists of programs to be executed are
+-https_prgs="/usr/X11R6/bin/netscape:XW /usr/bin/lynx:XT"
+-http_prgs="/usr/bin/lynx:XT /usr/X11R6/bin/netscape:XW"
++https_prgs="/usr/bin/firefox:XW /usr/bin/lynx:XT"
++https_prgs="/usr/bin/firefox:XW /usr/bin/lynx:XT"
++http_prgs="/usr/bin/lynx:XT /usr/bin/firefox:XW"
++http_prgs="/usr/bin/lynx:XT /usr/bin/firefox:XW"
+ mailto_prgs="/usr/bin/mutt:VT /usr/bin/elm:VT /usr/bin/pine:VT /usr/bin/mail:VT"
+ gopher_prgs="/usr/bin/lynx:XT /usr/bin/gopher:XT"
+ ftp_prgs="/usr/bin/lynx:XT /usr/bin/ncftp:XT"