[spatialite] 05/20: Add patch to fix check_multithread build failure by linking libpthread.
Bas Couwenberg
sebastic at xs4all.nl
Sun Aug 3 21:55:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch experimental
in repository spatialite.
commit 08b1d629f178e6af42882c07ef9c3c15c0a80fa2
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu May 29 21:34:09 2014 +0200
Add patch to fix check_multithread build failure by linking libpthread.
---
debian/changelog | 1 +
debian/patches/12-link-pthread.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 26 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index cb5c434..f3ad465 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ spatialite (4.2.0~rc1-1) UNRELEASED; urgency=low
* New upstream release candidate.
* Refresh patches.
* Update copyright file.
+ * Add patch to fix check_multithread build failure by linking libpthread.
-- Bas Couwenberg <sebastic at xs4all.nl> Sun, 01 Jun 2014 14:15:51 +0200
diff --git a/debian/patches/12-link-pthread.patch b/debian/patches/12-link-pthread.patch
new file mode 100644
index 0000000..0ffeb28
--- /dev/null
+++ b/debian/patches/12-link-pthread.patch
@@ -0,0 +1,24 @@
+Description: Link libpthread to fix check_multithread build failure
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -85,7 +85,7 @@ check_PROGRAMS += \
+ endif
+
+ AM_CFLAGS = -I at srcdir@/../src/headers -I at srcdir@
+-AM_LDFLAGS = -L../src -lspatialite -lm -lxml2 $(GCOV_FLAGS)
++AM_LDFLAGS = -L../src -lpthread -lspatialite -lm -lxml2 $(GCOV_FLAGS)
+
+ TESTS = $(check_PROGRAMS)
+
+--- a/test/Makefile.in
++++ b/test/Makefile.in
+@@ -965,7 +965,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ AM_CPPFLAGS = @CFLAGS@ @GEOS_CFLAGS@ @LIBXML2_CFLAGS@
+ AM_CFLAGS = -I at srcdir@/../src/headers -I at srcdir@
+-AM_LDFLAGS = -L../src -lspatialite -lm $(GCOV_FLAGS)
++AM_LDFLAGS = -L../src -lpthread -lspatialite -lm $(GCOV_FLAGS)
+ TESTS = $(check_PROGRAMS)
+ MOSTLYCLEANFILES = *.gcna *.gcno *.gcda
+ EXTRA_DIST = asprintf4win.h \
diff --git a/debian/patches/series b/debian/patches/series
index 4c5c565..88c11b2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
07-fix_spatialite_pc.patch
10-automake-subdir-objects.patch
11-link-libxml2.patch
+12-link-pthread.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