Restore the behavior of unlinking invalid icon cache files to prevent
leftovers. reported by: pointyhat via pav
This commit is contained in:
parent
a01bd0ab5f
commit
ab8be875bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207332
@ -8,7 +8,7 @@
|
||||
|
||||
PORTNAME= gtk
|
||||
PORTVERSION= 2.12.8
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \
|
||||
ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \
|
||||
|
11
x11-toolkits/gtk20/files/patch-gtk_updateiconcache.c
Normal file
11
x11-toolkits/gtk20/files/patch-gtk_updateiconcache.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- gtk/updateiconcache.c.orig 2008-02-16 11:33:25.000000000 -0500
|
||||
+++ gtk/updateiconcache.c 2008-02-16 11:33:33.000000000 -0500
|
||||
@@ -1477,7 +1477,7 @@ build_cache (const gchar *path)
|
||||
if (!validate_file (tmp_cache_path))
|
||||
{
|
||||
g_printerr (_("The generated cache was invalid.\n"));
|
||||
- //g_unlink (tmp_cache_path);
|
||||
+ g_unlink (tmp_cache_path);
|
||||
exit (1);
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
PORTNAME= gtk
|
||||
PORTVERSION= 2.12.8
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \
|
||||
ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \
|
||||
|
11
x11-toolkits/gtk30/files/patch-gtk_updateiconcache.c
Normal file
11
x11-toolkits/gtk30/files/patch-gtk_updateiconcache.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- gtk/updateiconcache.c.orig 2008-02-16 11:33:25.000000000 -0500
|
||||
+++ gtk/updateiconcache.c 2008-02-16 11:33:33.000000000 -0500
|
||||
@@ -1477,7 +1477,7 @@ build_cache (const gchar *path)
|
||||
if (!validate_file (tmp_cache_path))
|
||||
{
|
||||
g_printerr (_("The generated cache was invalid.\n"));
|
||||
- //g_unlink (tmp_cache_path);
|
||||
+ g_unlink (tmp_cache_path);
|
||||
exit (1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user