diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-12-12 05:17:20 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-12-12 05:17:20 +0000 |
commit | ac825948e9f9e6f6c3b1917030451e7607a232e0 (patch) | |
tree | 7860038f82ea450f8542e54cb8d5f8948074e9da | |
parent | 0987a053d3a1f69ad92271d2981c15a8286fec87 (diff) | |
download | FreeBSD-ports-ac825948e9f9e6f6c3b1917030451e7607a232e0.zip FreeBSD-ports-ac825948e9f9e6f6c3b1917030451e7607a232e0.tar.gz |
Fix libibery build problems on CURRENT
-rw-r--r-- | devel/m6811-binutils/files/patch-libiberty-strerror.c | 13 | ||||
-rw-r--r-- | devel/m6811-binutils/files/patch-libiberty-strsignal.c | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/devel/m6811-binutils/files/patch-libiberty-strerror.c b/devel/m6811-binutils/files/patch-libiberty-strerror.c new file mode 100644 index 0000000..e653245 --- /dev/null +++ b/devel/m6811-binutils/files/patch-libiberty-strerror.c @@ -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 + diff --git a/devel/m6811-binutils/files/patch-libiberty-strsignal.c b/devel/m6811-binutils/files/patch-libiberty-strsignal.c new file mode 100644 index 0000000..fa635ba --- /dev/null +++ b/devel/m6811-binutils/files/patch-libiberty-strsignal.c @@ -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; |