pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/epiphany Reapply patch from reed@ to avoid passing...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40f5e8d0ee3b
branches:  trunk
changeset: 467868:40f5e8d0ee3b
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Feb 07 16:41:30 2004 +0000

description:
Reapply patch from reed@ to avoid passing a trailing slash to mkdir(2),
which does not work in NetBSD 1.6 and below.  Bump PKGREVISION to 2 and
close PR pkg/24339.

I've reviewed the code; it's safe to remove that trailing slash from the
directory name since the variable holding it is always handled through
g_build_filename, which adds slashes between path components automatically.
And the program works fine WRT favicons, at least under -current.

diffstat:

 www/epiphany/Makefile         |   4 ++--
 www/epiphany/distinfo         |   3 ++-
 www/epiphany/patches/patch-ab |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r 9f631ba48837 -r 40f5e8d0ee3b www/epiphany/Makefile
--- a/www/epiphany/Makefile     Sat Feb 07 16:02:22 2004 +0000
+++ b/www/epiphany/Makefile     Sat Feb 07 16:41:30 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2004/02/07 00:41:02 reed Exp $
+# $NetBSD: Makefile,v 1.5 2004/02/07 16:41:30 jmmv Exp $
 #
 
 DISTNAME=      epiphany-1.0.7
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/epiphany/1.0/}
 
diff -r 9f631ba48837 -r 40f5e8d0ee3b www/epiphany/distinfo
--- a/www/epiphany/distinfo     Sat Feb 07 16:02:22 2004 +0000
+++ b/www/epiphany/distinfo     Sat Feb 07 16:41:30 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2004/02/07 00:41:02 reed Exp $
+$NetBSD: distinfo,v 1.4 2004/02/07 16:41:30 jmmv Exp $
 
 SHA1 (epiphany-1.0.7.tar.gz) = 8fc6e5cab2acc1013f719bfe1deed0c245b2e1ce
 Size (epiphany-1.0.7.tar.gz) = 2908935 bytes
 SHA1 (patch-aa) = fd49611defe1885c41d853cadfb49ff8f42892a4
+SHA1 (patch-ab) = cad155e7d392e180f26cdc1f889daca2c399680a
diff -r 9f631ba48837 -r 40f5e8d0ee3b www/epiphany/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/epiphany/patches/patch-ab     Sat Feb 07 16:41:30 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2004/02/07 16:41:30 jmmv Exp $
+
+--- embed/ephy-favicon-cache.c.orig    2003-12-18 13:48:42.000000000 +0100
++++ embed/ephy-favicon-cache.c
+@@ -263,7 +263,7 @@ ephy_favicon_cache_init (EphyFaviconCach
+                                                 NULL);
+ 
+       cache->priv->directory = g_build_filename (ephy_dot_dir (),
+-                                                 "favicon_cache/",
++                                                 "favicon_cache",
+                                                  NULL);
+ 
+       if (g_file_test (cache->priv->directory, G_FILE_TEST_IS_DIR) == FALSE)



Home | Main Index | Thread Index | Old Index