pkgsrc/cross/i386-msdosdjgpp/patches/patch-aa

14 lines
444 B
Text

$NetBSD: patch-aa,v 1.6 2006/02/26 16:26:08 joerg Exp $
--- ../egcs-1.1.1/libiberty/strsignal.c.orig 1998-05-16 01:42:42.000000000 +0200
+++ ../egcs-1.1.1/libiberty/strsignal.c
@@ -244,7 +244,9 @@ static const char **sys_siglist;
#else
#ifdef NSIG
+#if !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
static int sys_nsig = NSIG;
+#endif
#else
#ifdef _NSIG
static int sys_nsig = _NSIG;