[rasterio] 03/04: Fix compatibility w/Cython 0.22(Closes: #788408)
Johan Van de Wauw
johanvdw-guest at moszumanska.debian.org
Fri Jun 12 19:13:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
johanvdw-guest pushed a commit to branch master
in repository rasterio.
commit d3a0ed5f40a13a2e16a6eeb5f35cfa3217ea31af
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Fri Jun 12 20:20:57 2015 +0200
Fix compatibility w/Cython 0.22(Closes: #788408)
---
.../0003-Fix-compatibility-with-Cython-0.22.patch | 37 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 38 insertions(+)
diff --git a/debian/patches/0003-Fix-compatibility-with-Cython-0.22.patch b/debian/patches/0003-Fix-compatibility-with-Cython-0.22.patch
new file mode 100644
index 0000000..7df8958
--- /dev/null
+++ b/debian/patches/0003-Fix-compatibility-with-Cython-0.22.patch
@@ -0,0 +1,37 @@
+From a1cea1c28631a27de40bbdf51bccc4fcd87ba42d Mon Sep 17 00:00:00 2001
+From: Johan Van de Wauw <johan.vandewauw at gmail.com>
+Date: Tue, 2 Jun 2015 19:38:30 +0200
+Subject: [PATCH] Fix compatibility with Cython 0.22
+
+Completely based on the work by brendan-ward for rasterio
+https://github.com/mapbox/rasterio/pull/373/files
+
+Changes are needed to build on debian unstable
+index 1ff29cf..2bf2cc1 100644
+--- a/rasterio/_features.pxd
++++ b/rasterio/_features.pxd
+@@ -16,14 +16,14 @@
+
+
+ cdef class OGRGeomBuilder:
+- cdef void * _createOgrGeometry(self, int geom_type)
++ cdef void * _createOgrGeometry(self, int geom_type) except NULL
+ cdef _addPointToGeometry(self, void *cogr_geometry, object coordinate)
+- cdef void * _buildPoint(self, object coordinates)
+- cdef void * _buildLineString(self, object coordinates)
+- cdef void * _buildLinearRing(self, object coordinates)
+- cdef void * _buildPolygon(self, object coordinates)
+- cdef void * _buildMultiPoint(self, object coordinates)
+- cdef void * _buildMultiLineString(self, object coordinates)
+- cdef void * _buildMultiPolygon(self, object coordinates)
+- cdef void * _buildGeometryCollection(self, object coordinates)
+- cdef void * build(self, object geom)
++ cdef void * _buildPoint(self, object coordinates) except NULL
++ cdef void * _buildLineString(self, object coordinates) except NULL
++ cdef void * _buildLinearRing(self, object coordinates) except NULL
++ cdef void * _buildPolygon(self, object coordinates) except NULL
++ cdef void * _buildMultiPoint(self, object coordinates) except NULL
++ cdef void * _buildMultiLineString(self, object coordinates) except NULL
++ cdef void * _buildMultiPolygon(self, object coordinates) except NULL
++ cdef void * _buildGeometryCollection(self, object coordinates) except NULL
++ cdef void * build(self, object geom) except NULL
diff --git a/debian/patches/series b/debian/patches/series
index 9654eb2..faa2369 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Rename-rio-to-rasterio-Closes-788463.patch
+0003-Fix-compatibility-with-Cython-0.22.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/rasterio.git
More information about the Pkg-grass-devel
mailing list