[pyspatialite] 01/04: Apply patch from Ubuntu to fix misbuild on 64-bit archs.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Jul 30 12:43:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pyspatialite.

commit c9dd52d4ef495c794a0198d2a881833a788c3706
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jul 30 14:09:35 2015 +0200

    Apply patch from Ubuntu to fix misbuild on 64-bit archs.
    
    Thanks to Steve Langasek for forwarding the patch.
---
 debian/changelog                  | 8 ++++++++
 debian/patches/00-fix_build.patch | 3 +--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 96954aa..e458920 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+pyspatialite (3.0.1-9) UNRELEASED; urgency=medium
+
+  * Apply patch from Ubuntu to fix misbuild on 64-bit archs.
+    Thanks to Steve Langasek for forwarding the patch.
+    (closes: #794047)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 30 Jul 2015 13:25:25 +0200
+
 pyspatialite (3.0.1-8) unstable; urgency=medium
 
   * Add dh-python to build dependencies.
diff --git a/debian/patches/00-fix_build.patch b/debian/patches/00-fix_build.patch
index 37d22a9..20d87b0 100644
--- a/debian/patches/00-fix_build.patch
+++ b/debian/patches/00-fix_build.patch
@@ -18,7 +18,7 @@ Forwarded: no
  runtime_library_dirs = []
  extra_objects = []
  define_macros = []
-@@ -113,24 +113,27 @@ def get_amalgamation():
+@@ -113,24 +113,26 @@ def get_amalgamation():
  class MyBuildExt(build_ext):
  
      def build_extension(self, ext):
@@ -50,7 +50,6 @@ Forwarded: no
 +        #ext.sources.append(os.path.join(AMALGAMATION_ROOT, "sqlite3.c"))
 +        #ext.sources.append(os.path.join(AMALGAMATION_ROOT, "spatialite.c"))
 +        #ext.include_dirs.append(AMALGAMATION_ROOT)
-+        ext.include_dirs.append("/usr/include/spatialite")
          build_ext.build_extension(self, ext)
          
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pyspatialite.git



More information about the Pkg-grass-devel mailing list