summaryrefslogtreecommitdiff
path: root/devel/libgnomeui
diff options
context:
space:
mode:
authordrochner <drochner>2009-10-30 16:51:29 +0000
committerdrochner <drochner>2009-10-30 16:51:29 +0000
commitdd7f580aedee7220704990ec5cf758300072f68d (patch)
treecbd1bf2e2755a68d10b1204d43e5e0bde817f43f /devel/libgnomeui
parent437bea8e7aa42a049951cd95a6d2f79838c895b6 (diff)
downloadpkgsrc-dd7f580aedee7220704990ec5cf758300072f68d.tar.gz
oops, that file fell through the cracks
Diffstat (limited to 'devel/libgnomeui')
-rw-r--r--devel/libgnomeui/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/libgnomeui/patches/patch-aa b/devel/libgnomeui/patches/patch-aa
new file mode 100644
index 00000000000..aee00d346d0
--- /dev/null
+++ b/devel/libgnomeui/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.10 2009/10/30 16:51:29 drochner Exp $
+
+--- libgnomeui/gnome-thumbnail.c.orig 2009-10-01 13:31:59.000000000 +0200
++++ libgnomeui/gnome-thumbnail.c
+@@ -863,7 +863,7 @@ gnome_thumbnail_factory_save_thumbnail (
+ }
+ close (tmp_fd);
+
+- g_snprintf (mtime_str, 21, "%ld", original_mtime);
++ g_snprintf (mtime_str, 21, "%lld", (long long)original_mtime);
+ width = gdk_pixbuf_get_option (thumbnail, "tEXt::Thumb::Image::Width");
+ height = gdk_pixbuf_get_option (thumbnail, "tEXt::Thumb::Image::Height");
+
+@@ -970,7 +970,7 @@ gnome_thumbnail_factory_create_failed_th
+ }
+ close (tmp_fd);
+
+- g_snprintf (mtime_str, 21, "%ld", mtime);
++ g_snprintf (mtime_str, 21, "%lld", (long long)mtime);
+ pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, 1, 1);
+ saved_ok = gdk_pixbuf_save (pixbuf,
+ tmp_path,