Files
pkgsrc-ng/x11/gnome-desktop3/patches/patch-aa
2016-01-21 23:40:00 +01:00

16 lines
547 B
Plaintext

$NetBSD: patch-aa,v 1.5 2014/11/08 23:15:06 prlw1 Exp $
allow 64-bit time_t on 32-bit system
--- libgnome-desktop/gnome-desktop-thumbnail.c.orig 2013-11-21 11:14:44.000000000 +0000
+++ libgnome-desktop/gnome-desktop-thumbnail.c
@@ -1666,7 +1670,7 @@ gnome_desktop_thumbnail_is_valid (GdkPix
thumb_mtime_str = gdk_pixbuf_get_option (pixbuf, "tEXt::Thumb::MTime");
if (!thumb_mtime_str)
return FALSE;
- thumb_mtime = atol (thumb_mtime_str);
+ thumb_mtime = atoll (thumb_mtime_str);
if (mtime != thumb_mtime)
return FALSE;