The following commit has been merged in the master branch:
commit a9f8ba42ee6ca82ad85210c9fee1b9ff27c585e1
Author: Francesco Paolo Lovergine <fran...@debian.org>
Date:   Wed Feb 29 14:11:24 2012 +0100

    Avoid unuseful relinking.

diff --git a/debian/changelog b/debian/changelog
index 6c80cea..14ad99f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+spatialite (3.0.1-2) unstable; urgency=low
+
+  * Added 07-fix_spatialite_pc.patch: now avoid re-linking also in 
spatialite.pc 
+    file.
+  * 
+
+ -- Francesco Paolo Lovergine <fran...@debian.org>  Wed, 29 Feb 2012 14:09:52 
+0100
+
 spatialite (3.0.1-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/patches/07-fix_spatialite_pc.patch 
b/debian/patches/07-fix_spatialite_pc.patch
new file mode 100644
index 0000000..573f4d6
--- /dev/null
+++ b/debian/patches/07-fix_spatialite_pc.patch
@@ -0,0 +1,16 @@
+From: Francesco Paolo Lovergine <fran...@debian.org>
+Subject: avoid relinking sqlite3 and math libraries
+Origin: vendor
+Forwarded: no
+
+Index: spatialite/spatialite.pc.in
+===================================================================
+--- spatialite.orig/spatialite.pc.in   2012-02-23 13:42:29.000000000 +0100
++++ spatialite/spatialite.pc.in        2012-02-29 14:07:47.000000000 +0100
+@@ -8,5 +8,5 @@
+ Name: spatialite
+ Description: Spatial SQL database engine based on SQLite
+ Version: @VERSION@
+-Libs: -L${libdir} -lspatialite -lsqlite3 -lm
++Libs: -L${libdir} -lspatialite
+ Cflags: -I${includedir}
diff --git a/debian/patches/series b/debian/patches/series
index 587abf4..06c444c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 04-fix_missing_define.patch
 05-dont_relink.patch
 06-fix_soname.patch
+07-fix_spatialite_pc.patch

-- 
geospatial extension for SQLite

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

Reply via email to