0001-fix-sparc-compile.patch 775 B

123456789101112131415161718192021222324
  1. Signal handling for sparc is broken, fix it.
  2. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
  3. --- dante-1.4.1.orig/lib/tostring.c 2014-08-21 18:21:50.000000000 +0200
  4. +++ dante-1.4.1/lib/tostring.c 2016-07-10 10:08:39.785662622 +0200
  5. @@ -1526,7 +1526,7 @@ signal2string(sig)
  6. return "SIGKILL";
  7. #endif /* SIGKILL */
  8. -#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT)
  9. +#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT || SIGLOST != SIGPWR)
  10. case SIGLOST:
  11. return "SIGLOST";
  12. #endif /* SIGLOST */
  13. @@ -1551,7 +1551,7 @@ signal2string(sig)
  14. return "SIGPROF";
  15. #endif /* SIGPROF */
  16. -#ifdef SIGPWR
  17. +#if (defined SIGPWR) && SIGPWR != SIGLOST
  18. case SIGPWR:
  19. return "SIGPWR";
  20. #endif /* SIGPWR */