[Pkg-ime-devel] Bug#667256: fix ftbfs with GCC 4.7
tags 667256 + patch
thanks
-------------- next part --------------
diff -Nru libucimf-2.3.8/debian/changelog libucimf-2.3.8/debian/changelog
--- libucimf-2.3.8/debian/changelog 2011-07-30 07:30:12.000000000 +0000
+++ libucimf-2.3.8/debian/changelog 2012-04-17 06:27:19.000000000 +0000
@@ -1,3 +1,10 @@
+libucimf (2.3.8-3.1) unstable; urgency=low
+
+ * Non maintainer upload.
+ * Fix build failure with GCC 4.7. Closes: #667256.
+
+ -- Matthias Klose <doko at debian.org> Tue, 17 Apr 2012 08:26:40 +0200
+
libucimf (2.3.8-3) unstable; urgency=low
* debian/rules:
diff -Nru libucimf-2.3.8/debian/patches/fix-ftbfs-gcc4.7.diff libucimf-2.3.8/debian/patches/fix-ftbfs-gcc4.7.diff
--- libucimf-2.3.8/debian/patches/fix-ftbfs-gcc4.7.diff 1970-01-01 00:00:00.000000000 +0000
+++ libucimf-2.3.8/debian/patches/fix-ftbfs-gcc4.7.diff 2012-04-17 06:27:58.000000000 +0000
@@ -0,0 +1,12 @@
+Index: libucimf-2.3.8/src/ucimf.cpp
+===================================================================
+--- libucimf-2.3.8.orig/src/ucimf.cpp 2011-02-13 04:05:45.000000000 +0000
++++ libucimf-2.3.8/src/ucimf.cpp 2012-04-17 06:27:55.287912263 +0000
+@@ -33,6 +33,7 @@
+ #include <config.h>
+ #include <signal.h>
+ #include <setjmp.h>
++#include <unistd.h>
+
+ #include "imf.h"
+ #include "widget.h"
diff -Nru libucimf-2.3.8/debian/patches/series libucimf-2.3.8/debian/patches/series
--- libucimf-2.3.8/debian/patches/series 2011-07-30 07:30:12.000000000 +0000
+++ libucimf-2.3.8/debian/patches/series 2012-04-17 06:27:29.000000000 +0000
@@ -1 +1,2 @@
fix_manpages.patch
+fix-ftbfs-gcc4.7.diff
Reply to: