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:
parent
558c5509aa
commit
f25385c4ed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70992
11
lang/egcs/files/patch-libiberty::strerror.c
Normal file
11
lang/egcs/files/patch-libiberty::strerror.c
Normal 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
|
11
lang/egcs/files/patch-libiberty::strsignal.c
Normal file
11
lang/egcs/files/patch-libiberty::strsignal.c
Normal 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;
|
Loading…
Reference in New Issue
Block a user