pkgsrc/mail/pine/patches/patch-ad
rillig b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00

32 lines
932 B
Text

$NetBSD: patch-ad,v 1.12 2005/12/05 20:50:34 rillig Exp $
--- pine/signals.c.orig 2004-11-04 22:33:05.000000000 +0000
+++ pine/signals.c
@@ -53,6 +53,7 @@
====*/
#include "headers.h"
+#include <signal.h>
/* nto defines SA_RESTART but doesn't support it yet (00/12/29 - hubert) */
#if defined(NTO)
@@ -109,7 +110,9 @@ init_signals()
if(CUSHION_SIG){
signal(SIGILL, auger_in_signal);
signal(SIGTRAP, auger_in_signal);
+#ifdef SIGEMT
signal(SIGEMT, auger_in_signal);
+#endif
signal(SIGBUS, auger_in_signal);
signal(SIGSEGV, auger_in_signal);
signal(SIGSYS, auger_in_signal);
@@ -197,7 +200,9 @@ end_signals(blockem)
}
signal(SIGTRAP, blockem ? SIG_IGN : SIG_DFL);
+#ifdef SIGEMT
signal(SIGEMT, blockem ? SIG_IGN : SIG_DFL);
+#endif
signal(SIGBUS, blockem ? SIG_IGN : SIG_DFL);
signal(SIGSEGV, blockem ? SIG_IGN : SIG_DFL);
signal(SIGSYS, blockem ? SIG_IGN : SIG_DFL);