[Debian-iot-packaging] [alljoyn-core-1604] 01/01: Imported Debian patch 16.04-2

Thorsten Alteholz alteholz at moszumanska.debian.org
Mon Jun 27 17:53:06 UTC 2016


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

alteholz pushed a commit to branch master
in repository alljoyn-core-1604.

commit 7cdc42df7163e76ae534c88356ab4ad0d145379e
Author: Thorsten Alteholz <debian at alteholz.de>
Date:   Wed Jun 22 19:28:32 2016 +0200

    Imported Debian patch 16.04-2
---
 debian/changelog                  |  7 +++++++
 debian/patches/no-bsymbolic.patch | 17 +++++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 96a3c21..4defffe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+alljoyn-core-1604 (16.04-2) unstable; urgency=medium
+
+  * add patch to remove -Bsymbolic for creating shared libraries
+    with soname
+
+ -- Thorsten Alteholz <debian at alteholz.de>  Wed, 22 Jun 2016 19:28:32 +0200
+
 alljoyn-core-1604 (16.04-1) unstable; urgency=medium
 
   * Initial release (Closes: #827295)
diff --git a/debian/patches/no-bsymbolic.patch b/debian/patches/no-bsymbolic.patch
new file mode 100644
index 0000000..58c0b0c
--- /dev/null
+++ b/debian/patches/no-bsymbolic.patch
@@ -0,0 +1,17 @@
+Author: Thorsten Alteholz <debian at alteholz.de>
+Description: scons automatically add '-Wl,-Bsymbolic' which results in
+             segmentation faults for Debug-calls
+             so better don't use that linker option
+Index: alljoyn-core-1604-16.04/build_core/conf/linux/SConscript
+===================================================================
+--- alljoyn-core-1604-16.04.orig/build_core/conf/linux/SConscript	2016-06-22 20:28:02.000000000 +0200
++++ alljoyn-core-1604-16.04/build_core/conf/linux/SConscript	2016-06-22 20:28:02.000000000 +0200
+@@ -69,6 +69,8 @@
+ 
+ env.Append(LINKFLAGS = ['-z', 'relro', '-z', 'now'])
+ 
++env['SHLIBVERSIONFLAGS'] = " "
++
+ # Debug/Release Variants
+ if env['VARIANT'] == 'debug':
+    env.Append(CFLAGS = '-g')
diff --git a/debian/patches/series b/debian/patches/series
index 5581c7f..e4d221d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ remove-bsd-source.patch
 hardening.patch
 more-native-cpus.patch
 remove-build.xml.patch
+no-bsymbolic.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-iot/alljoyn-core-1604.git



More information about the Debian-iot-packaging mailing list