1
Description: fix to build with GCC 4.7
2
Must include <unistd.h> where needed, because GCC 4.7 has stopped including
3
it throughout much of the standard library.
5
See http://gcc.gnu.org/gcc-4.7/porting_to.html
6
Author: Steven Chamberlain <steven@pyro.eu.org>
7
Bug-Debian: http://bugs.debian.org/673567
9
--- qgis-1.7.4+1.7.5~20120320.orig/src/core/spatialindex/tools/TemporaryFile.cc 2012-05-19 21:42:30.010157000 +0100
10
+++ qgis-1.7.4+1.7.5~20120320/src/core/spatialindex/tools/TemporaryFile.cc 2012-05-19 21:42:34.797198134 +0100
19
--- qgis-1.7.4+1.7.5~20120320.orig/src/core/spatialindex/storagemanager/DiskStorageManager.cc 2012-03-17 13:48:08.000000000 +0000
20
+++ qgis-1.7.4+1.7.5~20120320/src/core/spatialindex/storagemanager/DiskStorageManager.cc 2012-05-19 21:43:14.837512956 +0100
22
#include <sys/types.h>