board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / dante / 0001-fix-sparc-compile.patch
bloba23e2e228ec93033bb0811485705ecfe37b3e575
1 Signal handling for sparc is broken, fix it.
3 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
5 --- dante-1.4.1.orig/lib/tostring.c 2014-08-21 18:21:50.000000000 +0200
6 +++ dante-1.4.1/lib/tostring.c 2016-07-10 10:08:39.785662622 +0200
7 @@ -1526,7 +1526,7 @@ signal2string(sig)
8 return "SIGKILL";
9 #endif /* SIGKILL */
11 -#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT)
12 +#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT || SIGLOST != SIGPWR)
13 case SIGLOST:
14 return "SIGLOST";
15 #endif /* SIGLOST */
16 @@ -1551,7 +1551,7 @@ signal2string(sig)
17 return "SIGPROF";
18 #endif /* SIGPROF */
20 -#ifdef SIGPWR
21 +#if (defined SIGPWR) && SIGPWR != SIGLOST
22 case SIGPWR:
23 return "SIGPWR";
24 #endif /* SIGPWR */