[spatialite] 01/01: Add patch to fix SOVERSION.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri May 29 13:59:27 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 1c5970b1f36c4fdb74fa7df8376cc356b4fea5ca
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri May 29 14:29:29 2015 +0200
Add patch to fix SOVERSION.
---
debian/patches/14-soversion.patch | 36 ++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 37 insertions(+)
diff --git a/debian/patches/14-soversion.patch b/debian/patches/14-soversion.patch
new file mode 100644
index 0000000..748e2fd
--- /dev/null
+++ b/debian/patches/14-soversion.patch
@@ -0,0 +1,36 @@
+Description: Bump current along with age 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.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://groups.google.com/d/msg/spatialite-users/-MtzxMpdNFg/qwMwjLJjaPoJ
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -41,10 +41,10 @@ libspatialite_la_LDFLAGS = -version-info
+ libspatialite_la_LIBADD += -lm
+ else
+ if ANDROID
+-libspatialite_la_LDFLAGS = -version-info 7:0:1
++libspatialite_la_LDFLAGS = -version-info 8:0:1
+ libspatialite_la_LIBADD += -ldl -lm
+ else
+-libspatialite_la_LDFLAGS = -version-info 7:0:1
++libspatialite_la_LDFLAGS = -version-info 8:0:1
+ libspatialite_la_LIBADD += -lpthread -ldl -lm
+ endif
+ endif
+@@ -74,10 +74,10 @@ mod_spatialite_la_LDFLAGS = -module -avo
+ mod_spatialite_la_LIBADD += -lm
+ else
+ if ANDROID
+-mod_spatialite_la_LDFLAGS = -module -version-info 7: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 7:0:1
++mod_spatialite_la_LDFLAGS = -module -version-info 8:0:1
+ mod_spatialite_la_LIBADD += -lpthread -ldl -lm
+ endif
+ endif
diff --git a/debian/patches/series b/debian/patches/series
index f5bad46..68c7898 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
11-link-libxml2.patch
12-link-pthread.patch
13-succesfully-typo.patch
+#14-soversion.patch
--
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