ports/graphics/gtk-update-icon-cache/files/patch-gtk_updateiconcache.c
Jan Beich 784e399770 graphics/gtk-update-icon-cache: update to 3.24.20
- Switch to Gentoo distfile which has Meson glue

PR:		247096
Exp-run by:	antoine
2020-06-18 00:56:08 +00:00

19 lines
580 B
C

------------------------------------------------------------------------
r207332 | marcus | 2008-02-16 16:36:43 +0000 (Sat, 16 Feb 2008) | 5 lines
Restore the behavior of unlinking invalid icon cache files to prevent
leftovers.
reported by: pointyhat via pav
--- gtk/updateiconcache.c.orig 2020-04-29 20:52:16 UTC
+++ gtk/updateiconcache.c
@@ -1548,7 +1548,7 @@ opentmp:
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);
}