1 From 3651f95d0433c84d2b67e30e68dd6140585535b0 Mon Sep 17 00:00:00 2001
2 From: Bernd Kuhls <bernd.kuhls@t-online.de>
3 Date: Tue, 19 Apr 2016 19:32:35 +0200
4 Subject: [PATCH 1/1] Add support for nios2
6 When compiling jack on nios2, compilation fails because NGREGS is not
7 defined. Since this is only for debug output on segmentation faults, stub
8 the debug print out like it's been done for other platforms before.
11 https://github.com/jackaudio/jack2/commit/d11bb095291d8880508c87adfe625bf2bcab1456
13 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
14 [Patch sent upstream: https://github.com/jackaudio/jack2/pull/199]
17 1 file changed, 1 insertion(+), 1 deletion(-)
19 diff --git a/dbus/sigsegv.c b/dbus/sigsegv.c
20 index 64c3986..ee12f91 100644
23 @@ -104,7 +104,7 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) {
24 jack_error("info.si_errno = %d", info->si_errno);
25 jack_error("info.si_code = %d (%s)", info->si_code, si_code_str);
26 jack_error("info.si_addr = %p", info->si_addr);
27 -#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__)
28 +#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__) && !defined(nios2)
29 for(i = 0; i < NGREG; i++)
30 jack_error("reg[%02d] = 0x" REGFORMAT, i,
31 #if defined(__powerpc64__)