jack: unbreak musl build, patch from Alpine.

This commit is contained in:
Juan RP 2015-05-07 09:20:40 +02:00
parent d220f70ee9
commit b7a8e3ae2d
2 changed files with 25 additions and 1 deletions

View 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

View file

@ -1,7 +1,7 @@
# Template file for 'jack'
pkgname=jack
version=1.9.10
revision=5
revision=6
# XXX libffado (firewire)
hostmakedepends="pkg-config python"
makedepends="eigen opus-devel libsamplerate-devel readline-devel dbus-devel celt-devel"