diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-24 10:53:47 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-24 10:53:47 +0000 |
commit | f25385c4edfd4507d243ed4e73cfea63414e0837 (patch) | |
tree | f9c8dd981651d2d6c741cd2d47223c96d1c8f558 /lang | |
parent | Make textproc/mifluz build again under -current (diff) |
Fix lang/egcs on -current
PR: ports/44857
Submitted by: Volker Stolz <vs@foldr.org>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/egcs/files/patch-libiberty::strerror.c | 11 | ||||
-rw-r--r-- | lang/egcs/files/patch-libiberty::strsignal.c | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/lang/egcs/files/patch-libiberty::strerror.c b/lang/egcs/files/patch-libiberty::strerror.c new file mode 100644 index 000000000000..9ab1b282af58 --- /dev/null +++ b/lang/egcs/files/patch-libiberty::strerror.c @@ -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 diff --git a/lang/egcs/files/patch-libiberty::strsignal.c b/lang/egcs/files/patch-libiberty::strsignal.c new file mode 100644 index 000000000000..e746d2c9f45f --- /dev/null +++ b/lang/egcs/files/patch-libiberty::strsignal.c @@ -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; |