mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
jack: unbreak musl build, patch from Alpine.
This commit is contained in:
parent
d220f70ee9
commit
b7a8e3ae2d
2 changed files with 25 additions and 1 deletions
24
srcpkgs/jack/patches/fix-execinfo.patch
Normal file
24
srcpkgs/jack/patches/fix-execinfo.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
--- dbus/sigsegv.c
|
||||||
|
+++ dbus/sigsegv.c
|
||||||
|
@@ -11,6 +11,8 @@
|
||||||
|
* Copyright (C) 2005 - 2008 Jaco Kroon
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#ifdef __GLIBC__
|
||||||
|
+
|
||||||
|
#if defined(HAVE_CONFIG_H)
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
@@ -209,4 +211,12 @@
|
||||||
|
static void __attribute((constructor)) init(void) {
|
||||||
|
setup_sigsegv();
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#else
|
||||||
|
+
|
||||||
|
+int setup_sigsegv() {
|
||||||
|
+ return 1;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
#endif
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'jack'
|
# Template file for 'jack'
|
||||||
pkgname=jack
|
pkgname=jack
|
||||||
version=1.9.10
|
version=1.9.10
|
||||||
revision=5
|
revision=6
|
||||||
# XXX libffado (firewire)
|
# XXX libffado (firewire)
|
||||||
hostmakedepends="pkg-config python"
|
hostmakedepends="pkg-config python"
|
||||||
makedepends="eigen opus-devel libsamplerate-devel readline-devel dbus-devel celt-devel"
|
makedepends="eigen opus-devel libsamplerate-devel readline-devel dbus-devel celt-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue