aboutsummaryrefslogtreecommitdiffstats
path: root/main/audacity/musl-workaround.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-30 13:52:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-30 14:16:04 +0000
commit39d34c6c8ca1b74523d3748a5e4a0db2d103fde9 (patch)
tree7a417b9a17bbf3338096226a796fedd4f4abe605 /main/audacity/musl-workaround.patch
parent7b9b42d42378e7803ceda896f6b5014131ea1292 (diff)
downloadaports-39d34c6c8ca1b74523d3748a5e4a0db2d103fde9.tar.gz
aports-39d34c6c8ca1b74523d3748a5e4a0db2d103fde9.tar.bz2
aports-39d34c6c8ca1b74523d3748a5e4a0db2d103fde9.tar.xz
main/audacity: upgrade to 2.1.0 and add soxr and jack support
we also force use of system libs
Diffstat (limited to 'main/audacity/musl-workaround.patch')
-rw-r--r--main/audacity/musl-workaround.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/audacity/musl-workaround.patch b/main/audacity/musl-workaround.patch
new file mode 100644
index 0000000000..ababf90366
--- /dev/null
+++ b/main/audacity/musl-workaround.patch
@@ -0,0 +1,16 @@
+The use of RTLD_DEEPBIND is just a workaround and not a real fix.
+And we cannot use it...
+
+--- ./src/effects/VST/VSTEffect.cpp.orig
++++ ./src/effects/VST/VSTEffect.cpp
+@@ -2609,6 +2609,10 @@
+ // symbols.
+ //
+ // Once we define a proper external API, the flags can be removed.
++// GNU extension
++#ifndef RTLD_DEEPBIND
++#define RTLD_DEEPBIND 0
++#endif
+ void *lib = dlopen((const char *)wxString(realPath).ToUTF8(), RTLD_NOW | RTLD_LOCAL | RTLD_DEEPBIND);
+ if (!lib)
+ {