[Git][debian-gis-team/librasterlite2][master] 3 commits: Add patch to use -pthread instead of -lpthread. (closes: #971132)

Bas Couwenberg gitlab at salsa.debian.org
Mon Sep 28 07:50:39 BST 2020



Bas Couwenberg pushed to branch master at Debian GIS Project / librasterlite2


Commits:
d177f467 by Bas Couwenberg at 2020-09-28T06:37:15+02:00
Add patch to use -pthread instead of -lpthread. (closes: #971132)

- - - - -
95b25b8f by Bas Couwenberg at 2020-09-28T08:38:56+02:00
Update lintian overrides.

- - - - -
2ec65d72 by Bas Couwenberg at 2020-09-28T08:38:56+02:00
Set distribution to unstable.

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/pthread.patch
- + debian/patches/series
- − debian/source/lintian-overrides


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+librasterlite2 (1.1.0~beta1-2) unstable; urgency=medium
+
+  * Add patch to use -pthread instead of -lpthread.
+    (closes: #971132)
+  * Update lintian overrides.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 28 Sep 2020 06:37:18 +0200
+
 librasterlite2 (1.1.0~beta1-1) unstable; urgency=medium
 
   * Bump libspatialite-dev version requirement to 5.0.0.


=====================================
debian/patches/pthread.patch
=====================================
@@ -0,0 +1,31 @@
+Description: Use -pthread instead of -lpthread.
+ Fixes undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://www.gaia-gis.it/fossil/librasterlite2/tktview/4670684140648c2d35e639dc20d3e870858673f0
+Bug-Debian: https://bugs.debian.org/971132
+Forwarded: https://www.gaia-gis.it/fossil/librasterlite2/info/4670684140648c2d
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -30,8 +30,8 @@ if MINGW
+ librasterlite2_la_LDFLAGS = -avoid-version -no-undefined
+ librasterlite2_la_LIBADD += -lm
+ else
+-librasterlite2_la_LDFLAGS = -version-info 1:0:0
+-librasterlite2_la_LIBADD += -lpthread -lm
++librasterlite2_la_LDFLAGS = -version-info 1:0:0 -pthread
++librasterlite2_la_LIBADD += -lm
+ endif
+ 
+ mod_rasterlite2_la_SOURCES = rasterlite2.c rl2raw.c rl2codec.c \
+@@ -58,8 +58,8 @@ if MINGW
+ mod_rasterlite2_la_LDFLAGS = -module -avoid-version -no-undefined
+ mod_rasterlite2_la_LIBADD += -lm
+ else
+-mod_rasterlite2_la_LDFLAGS = -module -version-info 1:0:0
+-mod_rasterlite2_la_LIBADD += -lpthread -lm
++mod_rasterlite2_la_LDFLAGS = -module -version-info 1:0:0 -pthread
++mod_rasterlite2_la_LIBADD += -lm
+ endif
+ 
+ MOSTLYCLEANFILES = *.gcna *.gcno *.gcda


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+pthread.patch


=====================================
debian/source/lintian-overrides deleted
=====================================
@@ -1,3 +0,0 @@
-# Not worth the effort
-testsuite-autopkgtest-missing
-



View it on GitLab: https://salsa.debian.org/debian-gis-team/librasterlite2/-/compare/1890cce8794562c50dc1b324c934fb7f7c882e44...2ec65d72ea6244751650eb5b55112c6ee6e0cba4

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/librasterlite2/-/compare/1890cce8794562c50dc1b324c934fb7f7c882e44...2ec65d72ea6244751650eb5b55112c6ee6e0cba4
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200928/40137466/attachment-0001.html>


More information about the Pkg-grass-devel mailing list