aboutsummaryrefslogtreecommitdiffstats
path: root/main/jack
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-09 17:53:32 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-09 17:53:32 +0000
commit8c61abe3f578e0a02b066b0143fab052a8515238 (patch)
tree5909e296959dfdde66261b1468bcf3feeef0c795 /main/jack
parentefb2acc72acf494dc1687698bae3cd5e66886007 (diff)
downloadaports-8c61abe3f578e0a02b066b0143fab052a8515238.tar.gz
aports-8c61abe3f578e0a02b066b0143fab052a8515238.tar.bz2
aports-8c61abe3f578e0a02b066b0143fab052a8515238.tar.xz
main/jack: fix musl build
Diffstat (limited to 'main/jack')
-rw-r--r--main/jack/APKBUILD13
-rw-r--r--main/jack/fix-execinfo.patch12
2 files changed, 21 insertions, 4 deletions
diff --git a/main/jack/APKBUILD b/main/jack/APKBUILD
index 0471090eb7..2646600cfb 100644
--- a/main/jack/APKBUILD
+++ b/main/jack/APKBUILD
@@ -12,7 +12,9 @@ makedepends="$depends_dev alsa-lib-dev dbus-dev expat-dev libsamplerate-dev
libsndfile-dev ncurses-dev readline-dev python"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbus $pkgname-example-clients:_clients"
-source="http://www.jackaudio.org/downloads/jack-$pkgver.tar.bz2"
+source="http://www.jackaudio.org/downloads/jack-$pkgver.tar.bz2
+ fix-execinfo.patch
+ "
_builddir="$srcdir"/jack-$pkgver
prepare() {
@@ -59,6 +61,9 @@ _clients() {
mv "$pkgdir"/usr/bin/*_* "$subpkgdir"/usr/bin/
}
-md5sums="6c9de6b89db9d7076fa2ce222816cf4c jack-1.9.9.5.tar.bz2"
-sha256sums="65ef5acceabb1ebd4ac8c437be47a522292e3c2a1f7bfa656de7392d9351ebbd jack-1.9.9.5.tar.bz2"
-sha512sums="173a10943c98cb17f0041216cc24ce03d5e147f27be121fdf66c4e9d21ba8bf125a1749b985cacffb075618d92025231eb047c754d33d777275373d010a85e27 jack-1.9.9.5.tar.bz2"
+md5sums="6c9de6b89db9d7076fa2ce222816cf4c jack-1.9.9.5.tar.bz2
+0116cfe01bc72bc945235ed0b858dfdc fix-execinfo.patch"
+sha256sums="65ef5acceabb1ebd4ac8c437be47a522292e3c2a1f7bfa656de7392d9351ebbd jack-1.9.9.5.tar.bz2
+f30920899259fc3b4357deba42291cce5dfa7777d96d12eb85a9541c7c0ebffd fix-execinfo.patch"
+sha512sums="173a10943c98cb17f0041216cc24ce03d5e147f27be121fdf66c4e9d21ba8bf125a1749b985cacffb075618d92025231eb047c754d33d777275373d010a85e27 jack-1.9.9.5.tar.bz2
+99b89146e534b76bf750c13b522dea070c0f6917afb5d2c81e5a4f4f08a66109232b1d7e7b73b52f4772306719f95434b8af6ab6be4ae780103f874c6dbde017 fix-execinfo.patch"
diff --git a/main/jack/fix-execinfo.patch b/main/jack/fix-execinfo.patch
new file mode 100644
index 0000000000..170c432774
--- /dev/null
+++ b/main/jack/fix-execinfo.patch
@@ -0,0 +1,12 @@
+--- jack-1.9.9.5.orig/dbus/sigsegv.c
++++ jack-1.9.9.5/dbus/sigsegv.c
+@@ -27,7 +27,9 @@
+ #include <stdio.h>
+ #include <signal.h>
+ #include <dlfcn.h>
++#ifdef __GLIBC__
+ #include <execinfo.h>
++#endif
+ #include <errno.h>
+ #ifndef NO_CPP_DEMANGLE
+ char * __cxa_demangle(const char * __mangled_name, char * __output_buffer, size_t * __length, int * __status);