Package: spatialindex
Version: 1.3.2-1
Severity: serious
Tags: patch
Justification: no longer builds from source
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch



*** /tmp/tmpiNhydQ

spatialindex FTBFS with GCC 4.4, in Ubuntu we've applied the attached patch to 
solve this.



-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 
'jaunty-backports'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u spatialindex-1.3.2/debian/patches/00list spatialindex-1.3.2/debian/patches/00list
--- spatialindex-1.3.2/debian/patches/00list
+++ spatialindex-1.3.2/debian/patches/00list
@@ -1,0 +2 @@
+gcc44
only in patch2:
unchanged:
--- 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 <quadris...@ubuntu.com>
+##
+## 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 <cmath>
+ #include <cstring>
+ #include <limits>
++#include <stdint.h>
+ 
+ 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 <queue>
+ #include <cmath>
+ #include <cstring>
++#include <stdint.h>
+ 
+ using namespace std;
+ 

Reply via email to