diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-02-20 18:21:45 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-02-20 18:21:45 +0000 |
commit | d5309f756e7844c82558eeded8bf87ef21e4b3ba (patch) | |
tree | 1ae54ce8c0b110a94b5e323731b0999b85758668 /www-client/surf | |
parent | Stable for PPC (bug #298039). (diff) | |
download | gentoo-2-d5309f756e7844c82558eeded8bf87ef21e4b3ba.tar.gz gentoo-2-d5309f756e7844c82558eeded8bf87ef21e4b3ba.tar.bz2 gentoo-2-d5309f756e7844c82558eeded8bf87ef21e4b3ba.zip |
Apply upstream download path patch thanks to John Brendler (bug #306059).
(Portage version: 2.2_rc63/cvs/Linux i686)
Diffstat (limited to 'www-client/surf')
-rw-r--r-- | www-client/surf/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/surf/files/surf-0.3-download.patch | 18 | ||||
-rw-r--r-- | www-client/surf/surf-0.3-r1.ebuild (renamed from www-client/surf/surf-0.3.ebuild) | 5 |
3 files changed, 28 insertions, 3 deletions
diff --git a/www-client/surf/ChangeLog b/www-client/surf/ChangeLog index 60334deb1f7e..e964f2cdeb3d 100644 --- a/www-client/surf/ChangeLog +++ b/www-client/surf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-client/surf # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/surf/ChangeLog,v 1.3 2010/02/20 18:12:19 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/surf/ChangeLog,v 1.4 2010/02/20 18:21:44 jer Exp $ + +*surf-0.3-r1 (20 Feb 2010) + + 20 Feb 2010; Jeroen Roovers <jer@gentoo.org> -surf-0.3.ebuild, + +surf-0.3-r1.ebuild, +files/surf-0.3-download.patch: + Apply upstream download path patch thanks to John Brendler (bug #306059). 20 Feb 2010; Jeroen Roovers <jer@gentoo.org> surf-0.3.ebuild: Support savedconfig as proposed by John Brendler (bug #306091). diff --git a/www-client/surf/files/surf-0.3-download.patch b/www-client/surf/files/surf-0.3-download.patch new file mode 100644 index 000000000000..cba2a7a3582e --- /dev/null +++ b/www-client/surf/files/surf-0.3-download.patch @@ -0,0 +1,18 @@ +# HG changeset patch +# User Enno Boland (tox) <tox@s01.de> +# Date 1262612380 -3600 +# Node ID 620201658a0f2ece64615db8f8e1bd90623d2775 +# Parent 150f5c9b19dc6362a3fb75610fca1d362d863f2d +dl has to be a directory, not a file. + +--- a/config.def.h Tue Dec 15 17:16:01 2009 +0100 ++++ b/config.def.h Mon Jan 04 14:39:40 2010 +0100 +@@ -5,7 +5,7 @@ + static char *stylefile = ".surf/style.css"; + static char *scriptfile = ".surf/script.js"; + static char *cookiefile = ".surf/cookies.txt"; +-static char *dldir = ".surf/dl"; ++static char *dldir = ".surf/dl/"; + static time_t sessiontime = 3600; + + #define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", \ diff --git a/www-client/surf/surf-0.3.ebuild b/www-client/surf/surf-0.3-r1.ebuild index bba04c73d533..3f79e504c477 100644 --- a/www-client/surf/surf-0.3.ebuild +++ b/www-client/surf/surf-0.3-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/surf/surf-0.3.ebuild,v 1.3 2010/02/20 18:12:19 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/surf/surf-0.3-r1.ebuild,v 1.1 2010/02/20 18:21:44 jer Exp $ EAPI="2" -inherit savedconfig toolchain-funcs +inherit eutils savedconfig toolchain-funcs DESCRIPTION="a simple web browser based on WebKit/GTK+" HOMEPAGE="http://surf.suckless.org/" @@ -19,6 +19,7 @@ DEPEND=">=net-libs/webkit-gtk-1.1.14" RDEPEND="${DEPEND}" src_prepare() { + epatch "${FILESDIR}"/${P}-download.patch sed -i \ -e 's|{|(|g;s|}|)|g' \ -e 's|\t@|\t|g;s|echo|@&|g' \ |