[SCM] jackd2/master: Fix bus errors ARM, MIPS and PowerPC due to use of packed structs.
jcowgill at users.alioth.debian.org
jcowgill at users.alioth.debian.org
Wed Oct 19 10:35:05 UTC 2016
The following commit has been merged in the master branch:
commit 730d88e6554f13d5ce52c791fae8e6b6b56eaf21
Author: James Cowgill <jcowgill at debian.org>
Date: Tue Oct 18 16:08:36 2016 +0000
Fix bus errors ARM, MIPS and PowerPC due to use of packed structs.
Closes: #728710
diff --git a/debian/patches/packed-structs.patch b/debian/patches/packed-structs.patch
new file mode 100644
index 0000000..36168b4
--- /dev/null
+++ b/debian/patches/packed-structs.patch
@@ -0,0 +1,21 @@
+Description: Update arch list where packed structures are bad
+ Disables the use of packed structures on architectures where misaligned access
+ is bad.
+Origin: upstream,
+ https://github.com/jackaudio/jack2/commit/460063d8dc2cb465e22fd538239817a0cb0baec6
+ https://github.com/jackaudio/jack2/commit/693451c36106542c5c5b5ba46d5d89aec783252e
+ https://github.com/jackaudio/jack2/commit/39e984c38cc1313d648dbde2cc46c1c1f6a01eca
+Bug-Debian: https://bugs.debian.org/728710
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/common/jack/systemdeps.h
++++ b/common/jack/systemdeps.h
+@@ -120,7 +120,7 @@ Foundation, Inc., 675 Mass Ave, Cambridg
+
+ #endif /* __APPLE__ || __linux__ || __sun__ || sun */
+
+-#if defined(__arm__)
++#if defined(__arm__) || defined(__aarch64__) || defined(__mips__) || defined(__ppc__) || defined(__powerpc__)
+ #undef POST_PACKED_STRUCTURE
+ #define POST_PACKED_STRUCTURE
+ #endif /* __arm__ */
diff --git a/debian/patches/series b/debian/patches/series
index 4302b43..b19b574 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
reproducible-build.patch
gcc6-ftbfs.patch
+packed-structs.patch
--
jackd2 packaging
More information about the pkg-multimedia-commits
mailing list