This should fix the FTBFS.

diff -u gyrus-0.3.10/debian/changelog gyrus-0.3.10/debian/changelog
--- gyrus-0.3.10/debian/changelog
+++ gyrus-0.3.10/debian/changelog
@@ -1,3 +1,10 @@
+gyrus (0.3.10-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Do not use floor, it causes a FTBFS. (Closes: #713631)
+
+ -- Maarten Lankhorst <maarten.lankho...@ubuntu.com>  Thu, 12 Dec 2013 
10:27:55 +0000
+
 gyrus (0.3.10-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- gyrus-0.3.10.orig/debian/patches/713631.diff
+++ gyrus-0.3.10/debian/patches/713631.diff
@@ -0,0 +1,12 @@
+diff -ru gyrus-0.3.10/src/gyrus-report.c gyrus-0.3.10.new/src/gyrus-report.c
+--- gyrus-0.3.10/src/gyrus-report.c    2010-12-29 00:52:13.000000000 +0100
++++ gyrus-0.3.10.new/src/gyrus-report.c        2013-12-12 11:27:39.299266559 
+0100
+@@ -407,7 +407,7 @@
+       report = (GyrusReportData *) user_data;
+ 
+       height = gtk_print_context_get_height (context) - HEADER_HEIGHT - 
HEADER_GAP - TITLE_HEIGHT - TITLE_GAP;
+-      report->lines_per_page = floor (height / report->font_size);
++      report->lines_per_page = (int)(height / report->font_size);
+       report->num_pages = (report->num_users - 1) / report->lines_per_page + 
1;
+       gtk_print_operation_set_n_pages (operation, report->num_pages);
+ }


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to