1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Fix lang/egcs on -current

PR:		ports/44857
Submitted by:	Volker Stolz <vs@foldr.org>
This commit is contained in:
Edwin Groothuis 2002-11-24 10:53:47 +00:00
parent 558c5509aa
commit f25385c4ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70992
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- libiberty/strerror.c.orig Sun Nov 3 21:37:47 2002
+++ libiberty/strerror.c Sun Nov 3 21:38:08 2002
@@ -462,7 +462,7 @@
#else
-extern int sys_nerr;
+extern __const int sys_nerr;
extern char *sys_errlist[];
#endif

View File

@ -0,0 +1,11 @@
--- libiberty/strsignal.c.orig Sun Nov 3 21:38:47 2002
+++ libiberty/strsignal.c Sun Nov 3 21:39:31 2002
@@ -244,7 +244,7 @@
#else
#ifdef NSIG
-static int sys_nsig = NSIG;
+static __const int sys_nsig = NSIG;
#else
#ifdef _NSIG
static int sys_nsig = _NSIG;