diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-12-12 13:17:20 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-12-12 13:17:20 +0800 |
commit | ac825948e9f9e6f6c3b1917030451e7607a232e0 (patch) | |
tree | 7860038f82ea450f8542e54cb8d5f8948074e9da /devel/m6811-binutils | |
parent | 0987a053d3a1f69ad92271d2981c15a8286fec87 (diff) | |
download | freebsd-ports-gnome-ac825948e9f9e6f6c3b1917030451e7607a232e0.tar.gz freebsd-ports-gnome-ac825948e9f9e6f6c3b1917030451e7607a232e0.tar.zst freebsd-ports-gnome-ac825948e9f9e6f6c3b1917030451e7607a232e0.zip |
Fix libibery build problems on CURRENT
Diffstat (limited to 'devel/m6811-binutils')
-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 000000000000..e6532458c516 --- /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 000000000000..fa635baf14b1 --- /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; |