From d050f7e47927b6315ce270e7d41553ac2771e945 Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 30 Oct 2009 16:51:29 +0000 Subject: oops, that file fell through the cracks --- devel/libgnomeui/patches/patch-aa | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 devel/libgnomeui/patches/patch-aa 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, -- cgit v1.2.3