summaryrefslogtreecommitdiff
path: root/package/dante/patches/patch-lib_tostring_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-10 10:24:34 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-10 10:24:57 +0200
commit9f207d85acd568d7ab8bd4652af59c1ca4ec1c5c (patch)
treeea7bf232bc2e3ca2d7aaa181868af8d6900e4a24 /package/dante/patches/patch-lib_tostring_c
parent07f1d6bd63efac674844265ea618db0dc0776e45 (diff)
dante: add new package
Diffstat (limited to 'package/dante/patches/patch-lib_tostring_c')
-rw-r--r--package/dante/patches/patch-lib_tostring_c20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/dante/patches/patch-lib_tostring_c b/package/dante/patches/patch-lib_tostring_c
new file mode 100644
index 000000000..a6db4d6d2
--- /dev/null
+++ b/package/dante/patches/patch-lib_tostring_c
@@ -0,0 +1,20 @@
+--- dante-1.4.1.orig/lib/tostring.c 2014-08-21 18:21:50.000000000 +0200
++++ dante-1.4.1/lib/tostring.c 2016-07-10 10:08:39.785662622 +0200
+@@ -1526,7 +1526,7 @@ signal2string(sig)
+ return "SIGKILL";
+ #endif /* SIGKILL */
+
+-#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT)
++#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT || SIGLOST != SIGPWR)
+ case SIGLOST:
+ return "SIGLOST";
+ #endif /* SIGLOST */
+@@ -1551,7 +1551,7 @@ signal2string(sig)
+ return "SIGPROF";
+ #endif /* SIGPROF */
+
+-#ifdef SIGPWR
++#if (defined SIGPWR) && SIGPWR != SIGLOST
+ case SIGPWR:
+ return "SIGPWR";
+ #endif /* SIGPWR */