Bug#667247: fix ftbfs with GCC 4.7
Matthias Klose
doko at debian.org
Tue Apr 17 06:25:10 UTC 2012
tags 667247 + patch
thanks
-------------- next part --------------
diff -Nru libkml-1.3.0~r863/debian/changelog libkml-1.3.0~r863/debian/changelog
--- libkml-1.3.0~r863/debian/changelog 2012-03-14 12:45:13.000000000 +0000
+++ libkml-1.3.0~r863/debian/changelog 2012-04-17 05:59:32.000000000 +0000
@@ -1,3 +1,10 @@
+libkml (1.3.0~r863-4.1) unstable; urgency=low
+
+ * Non maintainer upload.
+ * Fix build failure with GCC 4.7.
+
+ -- Matthias Klose <doko at debian.org> Tue, 17 Apr 2012 07:59:06 +0200
+
libkml (1.3.0~r863-4) unstable; urgency=low
* Added liburiparser-dev to libkml-dev.
diff -Nru libkml-1.3.0~r863/debian/patches/fix-ftbfs-gcc4.7.diff libkml-1.3.0~r863/debian/patches/fix-ftbfs-gcc4.7.diff
--- libkml-1.3.0~r863/debian/patches/fix-ftbfs-gcc4.7.diff 1970-01-01 00:00:00.000000000 +0000
+++ libkml-1.3.0~r863/debian/patches/fix-ftbfs-gcc4.7.diff 2012-04-17 06:00:19.000000000 +0000
@@ -0,0 +1,12 @@
+Index: libkml-1.3.0~r863/src/kml/base/file_posix.cc
+===================================================================
+--- libkml-1.3.0~r863.orig/src/kml/base/file_posix.cc 2011-03-16 12:06:27.000000000 +0000
++++ libkml-1.3.0~r863/src/kml/base/file_posix.cc 2012-04-17 06:00:11.011953461 +0000
+@@ -29,6 +29,7 @@
+ #include "kml/base/file.h"
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
diff -Nru libkml-1.3.0~r863/debian/patches/series libkml-1.3.0~r863/debian/patches/series
--- libkml-1.3.0~r863/debian/patches/series 2012-03-14 12:45:13.000000000 +0000
+++ libkml-1.3.0~r863/debian/patches/series 2012-04-17 05:59:04.000000000 +0000
@@ -6,3 +6,4 @@
feature_view_test.diff
geometry_test.diff
swig.diff
+fix-ftbfs-gcc4.7.diff
More information about the Pkg-grass-devel
mailing list