Fix libibery build problems on CURRENT
This commit is contained in:
parent
aad9609aa9
commit
abfb25544a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71548
2 changed files with 24 additions and 0 deletions
13
devel/m6811-binutils/files/patch-libiberty-strerror.c
Normal file
13
devel/m6811-binutils/files/patch-libiberty-strerror.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- libiberty/strerror.c.orig Mon May 29 13:45:32 2000
|
||||
+++ libiberty/strerror.c Wed Dec 11 21:03:00 2002
|
||||
@@ -465,8 +465,8 @@
|
||||
|
||||
#else
|
||||
|
||||
-extern int sys_nerr;
|
||||
-extern char *sys_errlist[];
|
||||
+extern const int sys_nerr;
|
||||
+extern const char *sys_errlist[];
|
||||
|
||||
#endif
|
||||
|
11
devel/m6811-binutils/files/patch-libiberty-strsignal.c
Normal file
11
devel/m6811-binutils/files/patch-libiberty-strsignal.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- libiberty/strsignal.c.orig Mon May 29 13:45:32 2000
|
||||
+++ libiberty/strsignal.c Wed Dec 11 21:04:43 2002
|
||||
@@ -247,7 +247,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 a new issue