aboutsummaryrefslogtreecommitdiff
path: root/audio/synthpod-lv2
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2020-07-04 15:47:21 +0000
committerMikael Urankar <mikael@FreeBSD.org>2020-07-04 15:47:21 +0000
commit31e0a5979d76d88cff39005c898758f81b053894 (patch)
tree979201b49a5979515d26f81e7d218210dc495f3e /audio/synthpod-lv2
parent4dc97b03cd96472e15394f9bab2fd9b78b95c3d5 (diff)
downloadports-31e0a5979d76d88cff39005c898758f81b053894.tar.gz
ports-31e0a5979d76d88cff39005c898758f81b053894.zip
Notes
Diffstat (limited to 'audio/synthpod-lv2')
-rw-r--r--audio/synthpod-lv2/files/patch-mapper.lv2_mapper.lv2_mum.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/synthpod-lv2/files/patch-mapper.lv2_mapper.lv2_mum.h b/audio/synthpod-lv2/files/patch-mapper.lv2_mapper.lv2_mum.h
new file mode 100644
index 000000000000..6ba11e9cfe75
--- /dev/null
+++ b/audio/synthpod-lv2/files/patch-mapper.lv2_mapper.lv2_mum.h
@@ -0,0 +1,11 @@
+--- mapper.lv2/mapper.lv2/mum.h.orig 2020-07-04 11:56:10 UTC
++++ mapper.lv2/mapper.lv2/mum.h
+@@ -110,7 +110,7 @@ _mum (uint64_t v, uint64_t p) {
+ function doing 128x128->128 bit multiplication. The function is
+ very slow. */
+ lo = v * p, hi;
+- asm ("umulh %0, %1, %2" : "=r" (hi) : "r" (v), "r" (p));
++ __asm__ ("umulh %0, %1, %2" : "=r" (hi) : "r" (v), "r" (p));
+ #else
+ __uint128_t r = (__uint128_t) v * (__uint128_t) p;
+ hi = (uint64_t) (r >> 64);