pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libgnomeui/patches oops, that file fell through ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f22456b694f9
branches:  trunk
changeset: 400931:f22456b694f9
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Oct 30 16:51:29 2009 +0000

description:
oops, that file fell through the cracks

diffstat:

 devel/libgnomeui/patches/patch-aa |  22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r 345c0cdbdef1 -r f22456b694f9 devel/libgnomeui/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libgnomeui/patches/patch-aa Fri Oct 30 16:51:29 2009 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index