[Pkg-shotwell-maint] Bug#667255: fix ftbfs with GCC 4.7
Matthias Klose
doko at debian.org
Tue Apr 17 04:46:20 UTC 2012
tags 667255 + patch
thanks
-------------- next part --------------
diff -Nru libraw-0.13.8/debian/changelog libraw-0.13.8/debian/changelog
--- libraw-0.13.8/debian/changelog 2011-08-22 18:45:35.000000000 +0000
+++ libraw-0.13.8/debian/changelog 2012-04-17 04:40:18.000000000 +0000
@@ -1,3 +1,10 @@
+libraw (0.13.8-1.1) unstable; urgency=low
+
+ * Non maintainer upload.
+ * Fix build failure with GCC 4.7. Closes: #667255.
+
+ -- Matthias Klose <doko at debian.org> Tue, 17 Apr 2012 06:39:38 +0200
+
libraw (0.13.8-1) unstable; urgency=low
* Team upload.
diff -Nru libraw-0.13.8/debian/patches/fix-ftbfs-gcc4.7.diff libraw-0.13.8/debian/patches/fix-ftbfs-gcc4.7.diff
--- libraw-0.13.8/debian/patches/fix-ftbfs-gcc4.7.diff 1970-01-01 00:00:00.000000000 +0000
+++ libraw-0.13.8/debian/patches/fix-ftbfs-gcc4.7.diff 2012-04-17 04:41:32.000000000 +0000
@@ -0,0 +1,12 @@
+Index: libraw-0.13.8/samples/dcraw_emu.cpp
+===================================================================
+--- libraw-0.13.8.orig/samples/dcraw_emu.cpp 2011-08-10 18:23:08.000000000 +0000
++++ libraw-0.13.8/samples/dcraw_emu.cpp 2012-04-17 04:41:28.408070365 +0000
+@@ -29,6 +29,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <math.h>
+ #include <ctype.h>
+ #ifndef WIN32
diff -Nru libraw-0.13.8/debian/patches/series libraw-0.13.8/debian/patches/series
--- libraw-0.13.8/debian/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ libraw-0.13.8/debian/patches/series 2012-04-17 04:40:34.000000000 +0000
@@ -0,0 +1 @@
+fix-ftbfs-gcc4.7.diff
More information about the Pkg-shotwell-maint
mailing list