summaryrefslogtreecommitdiff
path: root/x11/gnome-desktop3/patches/patch-aa
blob: ac79b36696880a8a07b81e03423d4a4750cdf16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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;