Author: frankie
Date: 2009-05-28 09:46:17 +0000 (Thu, 28 May 2009)
New Revision: 2252

Added:
   packages/spatialindex/trunk/debian/
   packages/spatialindex/trunk/debian/changelog
   packages/spatialindex/trunk/debian/compat
   packages/spatialindex/trunk/debian/control
   packages/spatialindex/trunk/debian/copyright
   packages/spatialindex/trunk/debian/docs
   packages/spatialindex/trunk/debian/libspatialindex-dev.dirs
   packages/spatialindex/trunk/debian/libspatialindex-dev.install
   packages/spatialindex/trunk/debian/libspatialindex1.dirs
   packages/spatialindex/trunk/debian/libspatialindex1.install
   packages/spatialindex/trunk/debian/patches/
   packages/spatialindex/trunk/debian/patches/00list
   packages/spatialindex/trunk/debian/patches/gcc43.dpatch
   packages/spatialindex/trunk/debian/rules
   packages/spatialindex/trunk/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/spatialindex/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/spatialindex/trunk/debian/changelog
===================================================================
--- packages/spatialindex/trunk/debian/changelog                                
(rev 0)
+++ packages/spatialindex/trunk/debian/changelog        2009-05-28 09:46:17 UTC 
(rev 2252)
@@ -0,0 +1,5 @@
+spatialindex (1.3.2-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Francesco Paolo Lovergine <fran...@debian.org>  Wed, 27 May 2009 20:29:47 
+0200

Added: packages/spatialindex/trunk/debian/compat
===================================================================
--- packages/spatialindex/trunk/debian/compat                           (rev 0)
+++ packages/spatialindex/trunk/debian/compat   2009-05-28 09:46:17 UTC (rev 
2252)
@@ -0,0 +1 @@
+7

Added: packages/spatialindex/trunk/debian/control
===================================================================
--- packages/spatialindex/trunk/debian/control                          (rev 0)
+++ packages/spatialindex/trunk/debian/control  2009-05-28 09:46:17 UTC (rev 
2252)
@@ -0,0 +1,33 @@
+Source: spatialindex
+Priority: extra
+Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
+Uploaders: Francesco Paolo Lovergine <fran...@debian.org>
+Build-Depends: dpatch, debhelper (>= 7), autotools-dev
+Standards-Version: 3.8.1
+Section: science
+Homepage: http://trac.gispython.org/spatialindex
+
+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.

Added: packages/spatialindex/trunk/debian/copyright
===================================================================
--- packages/spatialindex/trunk/debian/copyright                                
(rev 0)
+++ packages/spatialindex/trunk/debian/copyright        2009-05-28 09:46:17 UTC 
(rev 2252)
@@ -0,0 +1,57 @@
+This package was debianized by Francesco Paolo Lovergine <fran...@debian.org> 
on
+Wed, 27 May 2009 20:29:47 +0200.
+
+It was downloaded from http://trac.gispython.org/spatialindex
+
+Upstream Authors:
+
+               Marios Hadjieleftheriou <mha...@gmail.com>
+               Howard Butler <hobu....@gmail.com>
+
+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 <fran...@debian.org>
+
+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.
+*/

Added: packages/spatialindex/trunk/debian/docs
===================================================================
--- packages/spatialindex/trunk/debian/docs                             (rev 0)
+++ packages/spatialindex/trunk/debian/docs     2009-05-28 09:46:17 UTC (rev 
2252)
@@ -0,0 +1,2 @@
+NEWS
+README

Added: packages/spatialindex/trunk/debian/libspatialindex-dev.dirs
===================================================================
--- packages/spatialindex/trunk/debian/libspatialindex-dev.dirs                 
        (rev 0)
+++ packages/spatialindex/trunk/debian/libspatialindex-dev.dirs 2009-05-28 
09:46:17 UTC (rev 2252)
@@ -0,0 +1,2 @@
+usr/lib
+usr/include

Added: packages/spatialindex/trunk/debian/libspatialindex-dev.install
===================================================================
--- packages/spatialindex/trunk/debian/libspatialindex-dev.install              
                (rev 0)
+++ packages/spatialindex/trunk/debian/libspatialindex-dev.install      
2009-05-28 09:46:17 UTC (rev 2252)
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/*.la

Added: packages/spatialindex/trunk/debian/libspatialindex1.dirs
===================================================================
--- packages/spatialindex/trunk/debian/libspatialindex1.dirs                    
        (rev 0)
+++ packages/spatialindex/trunk/debian/libspatialindex1.dirs    2009-05-28 
09:46:17 UTC (rev 2252)
@@ -0,0 +1 @@
+usr/lib

Added: packages/spatialindex/trunk/debian/libspatialindex1.install
===================================================================
--- packages/spatialindex/trunk/debian/libspatialindex1.install                 
        (rev 0)
+++ packages/spatialindex/trunk/debian/libspatialindex1.install 2009-05-28 
09:46:17 UTC (rev 2252)
@@ -0,0 +1 @@
+usr/lib/lib*.so.*

Added: packages/spatialindex/trunk/debian/patches/00list
===================================================================
--- packages/spatialindex/trunk/debian/patches/00list                           
(rev 0)
+++ packages/spatialindex/trunk/debian/patches/00list   2009-05-28 09:46:17 UTC 
(rev 2252)
@@ -0,0 +1 @@
+gcc43

Added: packages/spatialindex/trunk/debian/patches/gcc43.dpatch
===================================================================
--- packages/spatialindex/trunk/debian/patches/gcc43.dpatch                     
        (rev 0)
+++ packages/spatialindex/trunk/debian/patches/gcc43.dpatch     2009-05-28 
09:46:17 UTC (rev 2252)
@@ -0,0 +1,369 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## gcc43.dpatch by Francesco Paolo Lovergine <fran...@debian.org>
+##
+## 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:
+ //    mha...@gmail.com
+ 
+-#include <assert.h>
++#include <cassert>
+ #include <iostream>
+ #include <fstream>
+ #include <map>
+ #include <queue>
+ #include <cmath>
++#include <cstring>
++#include <limits>
+ 
+ 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 <cstring>
+ // include library header file.
+ #include <SpatialIndex.h>
+ 
+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 <cstring>
+ // include library header file.
+ #include <SpatialIndex.h>
+ 
+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:
+ //    mha...@gmail.com
+ 
+-#include <assert.h>
++#include <cassert>
+ #include <iostream>
+ #include <fstream>
+ #include <map>
+ #include <queue>
+ #include <cmath>
++#include <cstring>
+ 
+ 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 <cstring>
++
+ // include library header file.
+ #include <SpatialIndex.h>
+ 
+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 <cstring>
++
+ // include library header file.
+ #include <SpatialIndex.h>
+ 
+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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
+-#include <stdio.h>
++#include <cstdio>
++#include <cstring>
+ 
+ #ifndef _MSC_VER
+ #include <unistd.h>
+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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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 <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
++//
++
++#include <cstring>
+ 
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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 @@
+ //    mha...@gmail.com
+ 
+ #include <fstream>
++#include <cstring>
+ 
+ #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 @@
+ //    mha...@gmail.com
+ 
+ #include <stdexcept>
++#include <cstring>
+ 
+ #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:
+ //    mha...@gmail.com
+ 
+-#include <time.h>
+-#include <stdlib.h>
++#include <ctime>
++#include <cstdlib>
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #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:
+ //    mha...@gmail.com
+ 
++#include <cstring>
++
+ #include "../spatialindex/SpatialIndexImpl.h"
+ #include "Node.h"
+ #include "Leaf.h"


Property changes on: packages/spatialindex/trunk/debian/patches/gcc43.dpatch
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/spatialindex/trunk/debian/rules
===================================================================
--- packages/spatialindex/trunk/debian/rules                            (rev 0)
+++ packages/spatialindex/trunk/debian/rules    2009-05-28 09:46:17 UTC (rev 
2252)
@@ -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 


Property changes on: packages/spatialindex/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/spatialindex/trunk/debian/watch
===================================================================
--- packages/spatialindex/trunk/debian/watch                            (rev 0)
+++ packages/spatialindex/trunk/debian/watch    2009-05-28 09:46:17 UTC (rev 
2252)
@@ -0,0 +1,3 @@
+# Compulsory line, this is a version 3 file
+version=3
+http://trac.gispython.org/spatialindex/wiki/Releases 
.*spatialindex-(.*)\.tar\.gz.*


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to