--- spatialindex-1.3.2.orig/debian/libspatialindex1.install +++ spatialindex-1.3.2/debian/libspatialindex1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- spatialindex-1.3.2.orig/debian/libspatialindex-dev.install +++ spatialindex-1.3.2/debian/libspatialindex-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/*.la --- spatialindex-1.3.2.orig/debian/changelog +++ spatialindex-1.3.2/debian/changelog @@ -0,0 +1,12 @@ +spatialindex (1.3.2-1ubuntu1) karmic; urgency=low + + * Add debian/patches/gcc44.dpatch patch to fix FTBFS with GCC 4.4. + + -- Alessio Treglia Thu, 25 Jun 2009 18:44:57 +0200 + +spatialindex (1.3.2-1) unstable; urgency=low + + * Initial release. + (closes: #530845) + + -- Francesco Paolo Lovergine Wed, 27 May 2009 20:29:47 +0200 --- spatialindex-1.3.2.orig/debian/control +++ spatialindex-1.3.2/debian/control @@ -0,0 +1,36 @@ +Source: spatialindex +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian GIS Project +Uploaders: Francesco Paolo Lovergine +Build-Depends: dpatch, debhelper (>= 7), autotools-dev +Standards-Version: 3.8.1 +Section: science +Homepage: http://trac.gispython.org/spatialindex +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-grass/packages/spatialindex/trunk +Vcs-Svn: svn://svn.debian.org/svn/pkg-grass/packages/spatialindex/trunk + +Package: libspatialindex-dev +Section: libdevel +Architecture: any +Depends: libspatialindex1 (= ${binary:Version}) +Description: A general framework for developing spatial indices + Spatialindex is a C++ library that provides a framework for + developing spatial indices. Currently it defines generic interfaces, + provides simple main memory and disk based storage managers and a + robust implementation of an R*-tree, an MVR-tree and a TPR-tree. + . + This package contains the SpatialIndex shared library. + +Package: libspatialindex1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A general framework for developing spatial indices - development files + Spatialindex is a C++ library that provides a framework for + developing spatial indices. Currently it defines generic interfaces, + provides simple main memory and disk based storage managers and a + robust implementation of an R*-tree, an MVR-tree and a TPR-tree. + . + This package contains the development files to build third + parties programs. --- spatialindex-1.3.2.orig/debian/watch +++ spatialindex-1.3.2/debian/watch @@ -0,0 +1,3 @@ +# Compulsory line, this is a version 3 file +version=3 +http://trac.gispython.org/spatialindex/wiki/Releases .*spatialindex-(.*)\.tar\.gz.* --- spatialindex-1.3.2.orig/debian/compat +++ spatialindex-1.3.2/debian/compat @@ -0,0 +1 @@ +7 --- spatialindex-1.3.2.orig/debian/copyright +++ spatialindex-1.3.2/debian/copyright @@ -0,0 +1,57 @@ +This package was debianized by Francesco Paolo Lovergine on +Wed, 27 May 2009 20:29:47 +0200. + +It was downloaded from http://trac.gispython.org/spatialindex + +Upstream Authors: + + Marios Hadjieleftheriou + Howard Butler + +Copyright: + + Copyright (C) 2002-2004 Navel Ltd. + Copyright (c) 1993 Martin Birgmeier. + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +The Debian packaging is: + + Copyright (C) 2009 Francesco Paolo Lovergine + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. + +------------------------------------------------------------------------------ +The file srand48.cc is copyrighted by Martin Birgmeier with the following +license: + +/* +* Copyright (c) 1993 Martin Birgmeier +* All rights reserved. +* +* You may redistribute unmodified or modified versions of this source +* code provided that the above copyright notice and this and the +* following conditions are retained. +* +* This software is provided ``as is'', and comes with no warranties +* of any kind. I shall in no event be liable for anything that happens +* to anyone/anything when using this software. +*/ --- spatialindex-1.3.2.orig/debian/libspatialindex-dev.dirs +++ spatialindex-1.3.2/debian/libspatialindex-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- spatialindex-1.3.2.orig/debian/rules +++ spatialindex-1.3.2/debian/rules @@ -0,0 +1,102 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +include /usr/share/dpatch/dpatch.make + +# shared library versions, option 1 +version=2.0.5 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" \ + CC=g++ # a dirty hack to force using of g++ at libtool linking time + +build: build-stamp +build-stamp: config.status patch-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install --list-missing + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- spatialindex-1.3.2.orig/debian/libspatialindex1.dirs +++ spatialindex-1.3.2/debian/libspatialindex1.dirs @@ -0,0 +1 @@ +usr/lib --- spatialindex-1.3.2.orig/debian/docs +++ spatialindex-1.3.2/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- spatialindex-1.3.2.orig/debian/patches/gcc43.dpatch +++ spatialindex-1.3.2/debian/patches/gcc43.dpatch @@ -0,0 +1,369 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc43.dpatch by Francesco Paolo Lovergine +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad spatialindex-1.3.2~/regressiontest/mvrtree/Exhaustive.cc spatialindex-1.3.2/regressiontest/mvrtree/Exhaustive.cc +--- spatialindex-1.3.2~/regressiontest/mvrtree/Exhaustive.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/regressiontest/mvrtree/Exhaustive.cc 2009-05-27 23:44:01.000000000 +0200 +@@ -19,12 +19,14 @@ + // Email: + // mhadji@gmail.com + +-#include ++#include + #include + #include + #include + #include + #include ++#include ++#include + + using namespace std; + +diff -urNad spatialindex-1.3.2~/regressiontest/mvrtree/MVRTreeLoad.cc spatialindex-1.3.2/regressiontest/mvrtree/MVRTreeLoad.cc +--- spatialindex-1.3.2~/regressiontest/mvrtree/MVRTreeLoad.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/regressiontest/mvrtree/MVRTreeLoad.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -21,6 +21,7 @@ + + // NOTE: Please read README.txt before browsing this code. + ++#include + // include library header file. + #include + +diff -urNad spatialindex-1.3.2~/regressiontest/mvrtree/MVRTreeQuery.cc spatialindex-1.3.2/regressiontest/mvrtree/MVRTreeQuery.cc +--- spatialindex-1.3.2~/regressiontest/mvrtree/MVRTreeQuery.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/regressiontest/mvrtree/MVRTreeQuery.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -21,6 +21,7 @@ + + // NOTE: Please read README.txt before browsing this code. + ++#include + // include library header file. + #include + +diff -urNad spatialindex-1.3.2~/regressiontest/rtree/Exhaustive.cc spatialindex-1.3.2/regressiontest/rtree/Exhaustive.cc +--- spatialindex-1.3.2~/regressiontest/rtree/Exhaustive.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/regressiontest/rtree/Exhaustive.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,12 +19,13 @@ + // Email: + // mhadji@gmail.com + +-#include ++#include + #include + #include + #include + #include + #include ++#include + + using namespace std; + +diff -urNad spatialindex-1.3.2~/regressiontest/rtree/RTreeLoad.cc spatialindex-1.3.2/regressiontest/rtree/RTreeLoad.cc +--- spatialindex-1.3.2~/regressiontest/rtree/RTreeLoad.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/regressiontest/rtree/RTreeLoad.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -21,6 +21,8 @@ + + // NOTE: Please read README.txt before browsing this code. + ++#include ++ + // include library header file. + #include + +diff -urNad spatialindex-1.3.2~/regressiontest/rtree/RTreeQuery.cc spatialindex-1.3.2/regressiontest/rtree/RTreeQuery.cc +--- spatialindex-1.3.2~/regressiontest/rtree/RTreeQuery.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/regressiontest/rtree/RTreeQuery.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -21,6 +21,8 @@ + + // NOTE: Please read README.txt before browsing this code. + ++#include ++ + // include library header file. + #include + +diff -urNad spatialindex-1.3.2~/regressiontest/tprtree/Generator.cc spatialindex-1.3.2/regressiontest/tprtree/Generator.cc +--- spatialindex-1.3.2~/regressiontest/tprtree/Generator.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/regressiontest/tprtree/Generator.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,7 @@ + // Email: + // mhadji@gmail.com + ++#include + #include "RandomGenerator.h" + + int main(int argc, char** argv) +diff -urNad spatialindex-1.3.2~/src/mvrtree/Leaf.cc spatialindex-1.3.2/src/mvrtree/Leaf.cc +--- spatialindex-1.3.2~/src/mvrtree/Leaf.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/mvrtree/Leaf.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "MVRTree.h" + #include "Node.h" +diff -urNad spatialindex-1.3.2~/src/mvrtree/MVRTree.cc spatialindex-1.3.2/src/mvrtree/MVRTree.cc +--- spatialindex-1.3.2~/src/mvrtree/MVRTree.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/mvrtree/MVRTree.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "Node.h" + #include "Leaf.h" +diff -urNad spatialindex-1.3.2~/src/mvrtree/Node.cc spatialindex-1.3.2/src/mvrtree/Node.cc +--- spatialindex-1.3.2~/src/mvrtree/Node.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/mvrtree/Node.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "MVRTree.h" + #include "Node.h" +diff -urNad spatialindex-1.3.2~/src/rtree/BulkLoader.cc spatialindex-1.3.2/src/rtree/BulkLoader.cc +--- spatialindex-1.3.2~/src/rtree/BulkLoader.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/rtree/BulkLoader.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,7 +19,8 @@ + // Email: + // mhadji@gmail.com + +-#include ++#include ++#include + + #ifndef _MSC_VER + #include +diff -urNad spatialindex-1.3.2~/src/rtree/Leaf.cc spatialindex-1.3.2/src/rtree/Leaf.cc +--- spatialindex-1.3.2~/src/rtree/Leaf.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/rtree/Leaf.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "RTree.h" + #include "Node.h" +diff -urNad spatialindex-1.3.2~/src/rtree/Node.cc spatialindex-1.3.2/src/rtree/Node.cc +--- spatialindex-1.3.2~/src/rtree/Node.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/rtree/Node.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "RTree.h" + #include "Node.h" +diff -urNad spatialindex-1.3.2~/src/rtree/RTree.cc spatialindex-1.3.2/src/rtree/RTree.cc +--- spatialindex-1.3.2~/src/rtree/RTree.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/rtree/RTree.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "Node.h" + #include "Leaf.h" +diff -urNad spatialindex-1.3.2~/src/spatialindex/LineSegment.cc spatialindex-1.3.2/src/spatialindex/LineSegment.cc +--- spatialindex-1.3.2~/src/spatialindex/LineSegment.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/spatialindex/LineSegment.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../../include/SpatialIndex.h" + + using namespace SpatialIndex; +diff -urNad spatialindex-1.3.2~/src/spatialindex/MovingPoint.cc spatialindex-1.3.2/src/spatialindex/MovingPoint.cc +--- spatialindex-1.3.2~/src/spatialindex/MovingPoint.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/spatialindex/MovingPoint.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../../include/SpatialIndex.h" + + using namespace SpatialIndex; +diff -urNad spatialindex-1.3.2~/src/spatialindex/MovingRegion.cc spatialindex-1.3.2/src/spatialindex/MovingRegion.cc +--- spatialindex-1.3.2~/src/spatialindex/MovingRegion.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/spatialindex/MovingRegion.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -23,6 +23,8 @@ + * Does not support degenerate time intervals or shrinking regions. + */ + ++#include ++ + #include "../../include/SpatialIndex.h" + + using namespace SpatialIndex; +diff -urNad spatialindex-1.3.2~/src/spatialindex/Point.cc spatialindex-1.3.2/src/spatialindex/Point.cc +--- spatialindex-1.3.2~/src/spatialindex/Point.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/spatialindex/Point.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../../include/SpatialIndex.h" + + using namespace SpatialIndex; +diff -urNad spatialindex-1.3.2~/src/spatialindex/Region.cc spatialindex-1.3.2/src/spatialindex/Region.cc +--- spatialindex-1.3.2~/src/spatialindex/Region.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/spatialindex/Region.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -18,6 +18,9 @@ + // + // Email: + // mhadji@gmail.com ++// ++ ++#include + + #include "../../include/SpatialIndex.h" + +diff -urNad spatialindex-1.3.2~/src/spatialindex/TimePoint.cc spatialindex-1.3.2/src/spatialindex/TimePoint.cc +--- spatialindex-1.3.2~/src/spatialindex/TimePoint.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/spatialindex/TimePoint.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../../include/SpatialIndex.h" + + using namespace SpatialIndex; +diff -urNad spatialindex-1.3.2~/src/spatialindex/TimeRegion.cc spatialindex-1.3.2/src/spatialindex/TimeRegion.cc +--- spatialindex-1.3.2~/src/spatialindex/TimeRegion.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/spatialindex/TimeRegion.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../../include/SpatialIndex.h" + + using namespace SpatialIndex; +diff -urNad spatialindex-1.3.2~/src/storagemanager/Buffer.cc spatialindex-1.3.2/src/storagemanager/Buffer.cc +--- spatialindex-1.3.2~/src/storagemanager/Buffer.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/storagemanager/Buffer.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "Buffer.h" + +diff -urNad spatialindex-1.3.2~/src/storagemanager/DiskStorageManager.cc spatialindex-1.3.2/src/storagemanager/DiskStorageManager.cc +--- spatialindex-1.3.2~/src/storagemanager/DiskStorageManager.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/storagemanager/DiskStorageManager.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -20,6 +20,7 @@ + // mhadji@gmail.com + + #include ++#include + + #include "../spatialindex/SpatialIndexImpl.h" + #include "DiskStorageManager.h" +diff -urNad spatialindex-1.3.2~/src/storagemanager/MemoryStorageManager.cc spatialindex-1.3.2/src/storagemanager/MemoryStorageManager.cc +--- spatialindex-1.3.2~/src/storagemanager/MemoryStorageManager.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/storagemanager/MemoryStorageManager.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -20,6 +20,7 @@ + // mhadji@gmail.com + + #include ++#include + + #include "../spatialindex/SpatialIndexImpl.h" + #include "MemoryStorageManager.h" +diff -urNad spatialindex-1.3.2~/src/storagemanager/RandomEvictionsBuffer.cc spatialindex-1.3.2/src/storagemanager/RandomEvictionsBuffer.cc +--- spatialindex-1.3.2~/src/storagemanager/RandomEvictionsBuffer.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/storagemanager/RandomEvictionsBuffer.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,8 +19,10 @@ + // Email: + // mhadji@gmail.com + +-#include +-#include ++#include ++#include ++#include ++ + #include "../../include/tools/rand48.h" + + #include "../spatialindex/SpatialIndexImpl.h" +diff -urNad spatialindex-1.3.2~/src/tools/Tools.cc spatialindex-1.3.2/src/tools/Tools.cc +--- spatialindex-1.3.2~/src/tools/Tools.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/tools/Tools.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../../include/tools/Tools.h" + #include "../../include/tools/rand48.h" + +diff -urNad spatialindex-1.3.2~/src/tprtree/Leaf.cc spatialindex-1.3.2/src/tprtree/Leaf.cc +--- spatialindex-1.3.2~/src/tprtree/Leaf.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/tprtree/Leaf.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "TPRTree.h" + #include "Node.h" +diff -urNad spatialindex-1.3.2~/src/tprtree/Node.cc spatialindex-1.3.2/src/tprtree/Node.cc +--- spatialindex-1.3.2~/src/tprtree/Node.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/tprtree/Node.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "TPRTree.h" + #include "Node.h" +diff -urNad spatialindex-1.3.2~/src/tprtree/TPRTree.cc spatialindex-1.3.2/src/tprtree/TPRTree.cc +--- spatialindex-1.3.2~/src/tprtree/TPRTree.cc 2009-05-27 23:42:43.000000000 +0200 ++++ spatialindex-1.3.2/src/tprtree/TPRTree.cc 2009-05-27 23:42:56.000000000 +0200 +@@ -19,6 +19,8 @@ + // Email: + // mhadji@gmail.com + ++#include ++ + #include "../spatialindex/SpatialIndexImpl.h" + #include "Node.h" + #include "Leaf.h" --- spatialindex-1.3.2.orig/debian/patches/gcc44.dpatch +++ spatialindex-1.3.2/debian/patches/gcc44.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc44.dpatch by Alessio Treglia +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add missing #include to prevent FTBFS with GCC 4.4. + +@DPATCH@ +diff -urNad spatialindex-1.3.2~/regressiontest/mvrtree/Exhaustive.cc spatialindex-1.3.2/regressiontest/mvrtree/Exhaustive.cc +--- spatialindex-1.3.2~/regressiontest/mvrtree/Exhaustive.cc 2009-06-25 18:54:50.241100353 +0200 ++++ spatialindex-1.3.2/regressiontest/mvrtree/Exhaustive.cc 2009-06-25 18:55:31.961101773 +0200 +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + using namespace std; + +diff -urNad spatialindex-1.3.2~/regressiontest/rtree/Exhaustive.cc spatialindex-1.3.2/regressiontest/rtree/Exhaustive.cc +--- spatialindex-1.3.2~/regressiontest/rtree/Exhaustive.cc 2009-06-25 18:54:50.241100353 +0200 ++++ spatialindex-1.3.2/regressiontest/rtree/Exhaustive.cc 2009-06-25 18:55:23.985100661 +0200 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + using namespace std; + --- spatialindex-1.3.2.orig/debian/patches/00list +++ spatialindex-1.3.2/debian/patches/00list @@ -0,0 +1,2 @@ +gcc43 +gcc44