Bug#775972: NMU in DELAYED/7

Adam Borowski kilobyte at angband.pl
Thu Jan 14 06:39:23 UTC 2016


Hi!
As promised, I've went ahead with the NMU, it's in DELAYED/7.  Debdiff
attached.  Please say a word if you have anything against!

-- 
A tit a day keeps the vet away.
-------------- next part --------------
diff -Nru libgnomeui-2.24.5/debian/changelog libgnomeui-2.24.5/debian/changelog
--- libgnomeui-2.24.5/debian/changelog	2013-12-27 14:57:18.000000000 +0100
+++ libgnomeui-2.24.5/debian/changelog	2016-01-14 07:19:42.000000000 +0100
@@ -1,3 +1,10 @@
+libgnomeui (2.24.5-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTFBS on x32. Closes: #775972.
+
+ -- Adam Borowski <kilobyte at angband.pl>  Thu, 14 Jan 2016 07:19:13 +0100
+
 libgnomeui (2.24.5-3) unstable; urgency=low
 
   * Switch to multiarch. Closes: #642417.
diff -Nru libgnomeui-2.24.5/debian/control libgnomeui-2.24.5/debian/control
--- libgnomeui-2.24.5/debian/control	2013-12-27 14:58:26.000000000 +0100
+++ libgnomeui-2.24.5/debian/control	2016-01-14 07:21:34.000000000 +0100
@@ -2,7 +2,6 @@
 # 
 # Modifications should be made to debian/control.in instead.
 # This file is regenerated automatically in the clean target.
-
 Source: libgnomeui
 Section: oldlibs
 Priority: optional
diff -Nru libgnomeui-2.24.5/debian/patches/02_time_t_printfs.patch libgnomeui-2.24.5/debian/patches/02_time_t_printfs.patch
--- libgnomeui-2.24.5/debian/patches/02_time_t_printfs.patch	1970-01-01 01:00:00.000000000 +0100
+++ libgnomeui-2.24.5/debian/patches/02_time_t_printfs.patch	2016-01-14 07:21:23.000000000 +0100
@@ -0,0 +1,27 @@
+Description: cast time_t printfs
+ Upstream code uses printf("%ld") with a time_t argument.  This causes a
+ warning if time_t is a different type than long, which causes a FTBFS
+ under -Werror.
+Author: Adam Borowski <kilobyte at angband.pl>
+Bug-Debian: https://bugs.debian.org/775972
+
+--- libgnomeui-2.24.5.orig/libgnomeui/gnome-thumbnail.c
++++ libgnomeui-2.24.5/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, "%ld",  (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, "%ld",  (long)mtime);
+   pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, 1, 1);
+   saved_ok  = gdk_pixbuf_save (pixbuf,
+ 			       tmp_path,
diff -Nru libgnomeui-2.24.5/debian/patches/series libgnomeui-2.24.5/debian/patches/series
--- libgnomeui-2.24.5/debian/patches/series	2013-12-27 14:56:43.000000000 +0100
+++ libgnomeui-2.24.5/debian/patches/series	2016-01-14 07:20:34.000000000 +0100
@@ -1 +1,2 @@
 01_link_libm.patch
+02_time_t_printfs.patch


More information about the pkg-gnome-maintainers mailing list