Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13282

Modified Files:
        urlview.info urlview.patch 
Log Message:
Voodoo fix for 10.6/64 urlview segfault

Index: urlview.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/urlview.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- urlview.patch       16 Dec 2006 23:36:03 -0000      1.2
+++ urlview.patch       29 Sep 2009 16:57:15 -0000      1.3
@@ -1,6 +1,9 @@
-diff -u -Naur urlview-0.9.orig/system.urlview urlview-0.9.fink/system.urlview
---- urlview-0.9.orig/system.urlview    Wed Dec 31 19:00:00 1969
-+++ urlview-0.9.fink/system.urlview    Tue Jan 21 21:16:22 2003
+urlview patches
+
+diff --git a/system.urlview b/system.urlview
+new file mode 100644
+--- /dev/null
++++ b/system.urlview
 @@ -0,0 +1,10 @@
 +#
 +# Sample urlview(1) configuration file
@@ -12,9 +15,10 @@
 +# command to invoke for selected URL
 +COMMAND /etc/urlview/url_handler.sh
 +
-diff -u -Naur urlview-0.9.orig/url_handler.sh.fink 
urlview-0.9.fink/url_handler.sh.fink
---- urlview-0.9.orig/url_handler.sh.fink       Wed Dec 31 19:00:00 1969
-+++ urlview-0.9.fink/url_handler.sh.fink       Tue Jan 21 21:11:28 2003
+diff --git a/url_handler.sh.fink b/url_handler.sh.fink
+new file mode 100644
+--- /dev/null
++++ b/url_handler.sh.fink
 @@ -0,0 +1,120 @@
 +#! /bin/bash
 +
@@ -136,9 +140,9 @@
 +
 +
 +
-diff -u -Naur urlview-0.9.orig/urlview.c urlview-0.9.fink/urlview.c
---- urlview-0.9.orig/urlview.c Tue Jul  4 06:14:30 2000
-+++ urlview-0.9.fink/urlview.c Tue Jan 21 21:09:10 2003
+diff --git a/urlview.c b/urlview.c
+--- a/urlview.c
++++ b/urlview.c
 @@ -48,7 +48,7 @@
  
  #define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' 
\t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \t.,;<>\"\\):]"
@@ -148,9 +152,24 @@
  
  #define OFFSET 2
  #define PAGELEN (LINES - 1 - OFFSET)
-diff -u -Naur urlview-0.9.orig/urlview.html urlview-0.9.fink/urlview.html
---- urlview-0.9.orig/urlview.html      Wed Dec 31 19:00:00 1969
-+++ urlview-0.9.fink/urlview.html      Tue Jan 21 22:00:58 2003
+@@ -506,10 +506,11 @@
+         free (url[current]);
+         url[current] = strdup (buf);
+         endwin ();
++        quote (scratch, sizeof (scratch), url[current]);
+         if (strstr (command, "%s"))
+-          snprintf (buf, sizeof (buf), command, quote (scratch, sizeof 
(scratch), url[current]));
++          snprintf (buf, sizeof (buf), command, scratch);
+         else
+-          snprintf (buf, sizeof (buf), "%s %s", command, quote (scratch, 
sizeof (scratch), url[current]));
++          snprintf (buf, sizeof (buf), "%s %s", command, scratch);
+         printf ("Executing: %s...\n", buf);
+         fflush (stdout);
+         system (buf);
+diff --git a/urlview.html b/urlview.html
+new file mode 100644
+--- /dev/null
++++ b/urlview.html
 @@ -0,0 +1,90 @@
 +<HTML>
 +<HEAD><TITLE>urlview - URL extractor/launcher</TITLE></HEAD>
@@ -242,9 +261,9 @@
 +Contents
 +</BODY>
 +</HTML>
-diff -u -Naur urlview-0.9.orig/urlview.man urlview-0.9.fink/urlview.man
---- urlview-0.9.orig/urlview.man       Tue Jul  4 06:14:30 2000
-+++ urlview-0.9.fink/urlview.man       Tue Jan 21 21:09:34 2003
+diff --git a/urlview.man b/urlview.man
+--- a/urlview.man
++++ b/urlview.man
 @@ -34,7 +34,7 @@
  upon startup.  If this file
  doesn't exist, it will try to read a system wide file 
@@ -263,9 +282,9 @@
  system-wide urlview configuration file
  .IP "~/.urlview"
  urlview configuration file
-diff -u -Naur urlview-0.9.orig/urlview.sgml urlview-0.9.fink/urlview.sgml
---- urlview-0.9.orig/urlview.sgml      Tue Jul  4 06:14:30 2000
-+++ urlview-0.9.fink/urlview.sgml      Tue Jan 21 21:09:49 2003
+diff --git a/urlview.sgml b/urlview.sgml
+--- a/urlview.sgml
++++ b/urlview.sgml
 @@ -20,7 +20,7 @@
  <p>
  <em/urlview/ attempts to read <em>&tilde;/.urlview</em> upon startup.

Index: urlview.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/urlview.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- urlview.info        13 Jan 2007 21:19:04 -0000      1.4
+++ urlview.info        29 Sep 2009 16:57:15 -0000      1.5
@@ -1,16 +1,16 @@
 Package: urlview
 Version: 0.9
-Revision: 1014
+Revision: 1015
 Description: Extracts URLs from text
 License: GPL
-Maintainer: Brendan Cully <bcu...@users.sourceforge.net>
+Maintainer: Brendan Cully <bren...@finkproject.org>
 BuildDepends: libncurses5 (>= 5.4-20041023-1006), fink (>= 0.24.12)
 Depends: ncurses (>= 5.4-20041023-1006), libncurses5-shlibs (>= 
5.4-20041023-1006)
 Suggests: mutt
 Source: ftp://ftp.mutt.org/mutt/contrib/urlview-%v.tar.gz
 Source-MD5: 67731f73e69297ffd106b65c8aebb2ab
 PatchFile: %n.patch
-PatchFile-MD5: d0be2d45b1e3805a59acb265b5999b1b
+PatchFile-MD5: ba3970ef9115703506c2a2c59ff3432a
 PatchScript: sed 's|@PREFIX@|%p|g' <%{PatchFile} | patch -p1
 ConfigureParams: --sysconfdir=%p/etc/urlview --mandir=%i/share/man
 ConfFiles: %p/etc/%n/system.urlview %p/etc/%n/url_handler.sh


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to