Make build on 2.0.

This commit is contained in:
wiz 2005-04-18 12:15:31 +00:00
parent c3ec4a6b39
commit e5d4e5a087
2 changed files with 16 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.4 2005/02/24 10:16:53 agc Exp $
$NetBSD: distinfo,v 1.5 2005/04/18 12:15:31 wiz Exp $
SHA1 (glibc-2.0.7-13.i386.rpm) = 6ac4eb9bac93509f5f788792f623f9930282ffe0
RMD160 (glibc-2.0.7-13.i386.rpm) = d29bcd1bb5cea1b341511e2fa119cdf2e0e837a2
@ -19,3 +19,4 @@ SHA1 (egcs-1.1.1-NetBSD-19980104.diff.gz) = 85ebc334bf9472b9595c4348a6bc440e836b
RMD160 (egcs-1.1.1-NetBSD-19980104.diff.gz) = 29c48af46979cc4337d89fe7c4b0b98f20659671
Size (egcs-1.1.1-NetBSD-19980104.diff.gz) = 59770 bytes
SHA1 (patch-aa) = 5d229e0148adc27274e38d41aa9f260d4d0c9fc6
SHA1 (patch-ab) = 92ab3ee01a4080186a7449decc5ea1f5500d09b5

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ab,v 1.1 2005/04/18 12:15:31 wiz 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__)
static int sys_nsig = NSIG;
+#endif
#else
#ifdef _NSIG
static int sys_nsig = _NSIG;