[spatialite] 10/13: Add patch to fix SONAME, the SOVERSION was incorrectly decremented to 0.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Jun 19 19:18:16 UTC 2015


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

sebastic pushed a commit to branch experimental
in repository spatialite.

commit 96c9291c16dcbcba8f9d70a9416ea424b282e37b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jun 19 19:56:03 2015 +0200

    Add patch to fix SONAME, the SOVERSION was incorrectly decremented to 0.
---
 debian/changelog               |  1 +
 debian/patches/series          |  1 +
 debian/patches/soversion.patch | 40 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 527a781..3996fbf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ spatialite (4.3.0~rc0-1) UNRELEASED; urgency=medium
     --enable-lwgeom=yes --enable-gcp=yes
     See the '4.3.0: note for builders and packages' thread on spatialite-users:
     https://groups.google.com/d/msg/spatialite-users/uawzaLjzbo4/_0JqJ8a6HmAJ
+  * Add patch to fix SONAME, the SOVERSION was incorrectly decremented to 0.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 19 Jun 2015 03:20:11 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 29ac31e..7459c74 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 07-fix_spatialite_pc.patch
 11-link-libxml2.patch
 12-link-pthread.patch
+soversion.patch
diff --git a/debian/patches/soversion.patch b/debian/patches/soversion.patch
new file mode 100644
index 0000000..2cf969a
--- /dev/null
+++ b/debian/patches/soversion.patch
@@ -0,0 +1,40 @@
+Description: Fix -version-info option to keep SOVERSION at 7.
+ In 4.2.1-RC0 the libtool version-info was changed from 7:0:0 to 7:0:1,
+ causing the SOVERSION to decrement from 7 to 6.
+ SpatiaLite 4.2.1 only introduced symbols,
+ for which a SOVERSION change is not required.
+ .
+ In 4.3.0-RC0 the libtool version-info was changed from 7:0:1 to 8:0:1,
+ but the missing - in the version-info option caused the SOVERSION
+ to decrement from 6 to 0.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://groups.google.com/d/msg/spatialite-users/oAzONsvEK08/rjzErEKVsuUJ
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -42,10 +42,10 @@ libspatialite_la_LDFLAGS = -version-info
+ libspatialite_la_LIBADD += -lm
+ else 
+ if ANDROID
+-libspatialite_la_LDFLAGS = version-info 8:0:1
++libspatialite_la_LDFLAGS = -version-info 8:0:1
+ libspatialite_la_LIBADD += -ldl -lm
+ else
+-libspatialite_la_LDFLAGS = version-info 8:0:1
++libspatialite_la_LDFLAGS = -version-info 8:0:1
+ libspatialite_la_LIBADD += -lpthread -ldl -lm
+ endif
+ endif
+@@ -76,10 +76,10 @@ mod_spatialite_la_LDFLAGS = -module -avo
+ mod_spatialite_la_LIBADD += -lm
+ else 
+ if ANDROID
+-mod_spatialite_la_LDFLAGS = -module version-info 8:0:1
++mod_spatialite_la_LDFLAGS = -module -version-info 8:0:1
+ mod_spatialite_la_LIBADD += -ldl -lm
+ else
+-mod_spatialite_la_LDFLAGS = -module version-info 8:0:1
++mod_spatialite_la_LDFLAGS = -module -version-info 8:0:1
+ mod_spatialite_la_LIBADD += -lpthread -ldl -lm
+ endif
+ endif

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



More information about the Pkg-grass-devel mailing list