summaryrefslogtreecommitdiffstats
path: root/package/jack2/0006-fix-ftbfs-with-clang.patch
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-08-10 00:32:51 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-08-10 00:32:51 +0200
commit4c5b02e57116452fce1b8428a7040554f3a350d7 (patch)
treee594c5a9f08ce34d161ffd024c2af37a1ac2612b /package/jack2/0006-fix-ftbfs-with-clang.patch
parent72e89edfcb9821121a2785ddf193a1d836ae0b8f (diff)
parent128a16aceeb43d7d22b10c6845f7c4d09439e031 (diff)
downloadbuildroot-4c5b02e57116452fce1b8428a7040554f3a350d7.tar.gz
buildroot-4c5b02e57116452fce1b8428a7040554f3a350d7.zip
Merge branch 'master' into next
This is in preparation of bumping the stella package, which is also modified in master.
Diffstat (limited to 'package/jack2/0006-fix-ftbfs-with-clang.patch')
-rw-r--r--package/jack2/0006-fix-ftbfs-with-clang.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/jack2/0006-fix-ftbfs-with-clang.patch b/package/jack2/0006-fix-ftbfs-with-clang.patch
new file mode 100644
index 0000000000..a73fe69e15
--- /dev/null
+++ b/package/jack2/0006-fix-ftbfs-with-clang.patch
@@ -0,0 +1,28 @@
+From d3c8e2d8d78899fba40a3e677ed4dbe388d82269 Mon Sep 17 00:00:00 2001
+From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
+Date: Thu, 18 Sep 2014 18:29:23 +0200
+Subject: [PATCH] Fix FTBFS with clang++
+
+Forwarded from http://bugs.debian.org/757820
+
+Downloaded from upstream commit
+https://github.com/jackaudio/jack2/commit/d3c8e2d8d78899fba40a3e677ed4dbe388d82269
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ common/memops.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/common/memops.c b/common/memops.c
+index 27f6194a..2d416b64 100644
+--- a/common/memops.c
++++ b/common/memops.c
+@@ -198,7 +198,7 @@ static inline __m128i float_24_sse(__m128 s)
+ */
+ static unsigned int seed = 22222;
+
+-inline unsigned int fast_rand() {
++static inline unsigned int fast_rand() {
+ seed = (seed * 96314165) + 907633515;
+ return seed;
+ }
OpenPOWER on IntegriCloud