[hamradio-commits] [limesuite] 02/06: Link to libatomic
Andreas E. Bombe
aeb at moszumanska.debian.org
Fri Jan 6 03:49:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
aeb pushed a commit to branch master
in repository limesuite.
commit 7a50c7671d2dd8011982f4f7ea203452505afe60
Author: Andreas Bombe <aeb at debian.org>
Date: Fri Jan 6 03:48:29 2017 +0100
Link to libatomic
Closes: 849536
---
debian/changelog | 1 +
debian/patches/link-libatomic | 18 ++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 20 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 6863988..c08e268 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
limesuite (16.8.23.819+git20161221+dfsg-2) UNRELEASED; urgency=medium
+ * Link to libatomic (Closes: #849536)
* Make liblimesuite-dev Multi-Arch: same and limesuite-udev
Multi-Arch: foreign
diff --git a/debian/patches/link-libatomic b/debian/patches/link-libatomic
new file mode 100644
index 0000000..7eded07
--- /dev/null
+++ b/debian/patches/link-libatomic
@@ -0,0 +1,18 @@
+Description: Link libatomic
+ Some architectures do not have builtin atomic support in the compiler
+ and/or do not automatically link libatomic. This patch simply adds
+ unconditional linking to libatomic.
+Author: Andreas Bombe <aeb at debian.org>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -97,6 +97,8 @@
+ list(APPEND LIME_SUITE_INCLUDES ${SQLITE3_INCLUDE_DIRS})
+ list(APPEND LIME_SUITE_LIBRARIES ${SQLITE3_LIBRARIES})
+
++list(APPEND LIME_SUITE_LIBRARIES atomic)
++
+ include(FeatureSummary)
+ include(CMakeDependentOption)
+ cmake_dependent_option(ENABLE_LIBRARY "Enable build library" ON "SQLITE3_FOUND" OFF)
diff --git a/debian/patches/series b/debian/patches/series
index 369f890..897f711 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ override-build-timestamp
version-string
use-system-glew
fix-icon-install
+link-libatomic
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/limesuite.git
More information about the pkg-hamradio-commits
mailing list