From b7a8e3ae2da253cca37e966d4da07fbe2cc08f2f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 7 May 2015 09:20:40 +0200 Subject: [PATCH] jack: unbreak musl build, patch from Alpine. --- srcpkgs/jack/patches/fix-execinfo.patch | 24 ++++++++++++++++++++++++ srcpkgs/jack/template | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/jack/patches/fix-execinfo.patch diff --git a/srcpkgs/jack/patches/fix-execinfo.patch b/srcpkgs/jack/patches/fix-execinfo.patch new file mode 100644 index 00000000000..0f3a04bbe6a --- /dev/null +++ b/srcpkgs/jack/patches/fix-execinfo.patch @@ -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 diff --git a/srcpkgs/jack/template b/srcpkgs/jack/template index 237245fca9b..42977755032 100644 --- a/srcpkgs/jack/template +++ b/srcpkgs/jack/template @@ -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"