diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-12-15 08:27:46 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-12-15 08:27:46 +0000 |
commit | 3eb597ee7f63476f1b30527cae9fee81e6e99c70 (patch) | |
tree | 8eaf8baac2aaa39a38dff784c17e2f708f274093 /devel/m6811-gcc/files | |
parent | a047759723769ad0ffaf9ab80d96d03d71edf43f (diff) | |
download | FreeBSD-ports-3eb597ee7f63476f1b30527cae9fee81e6e99c70.zip FreeBSD-ports-3eb597ee7f63476f1b30527cae9fee81e6e99c70.tar.gz |
- Fix build on CURRENT
- build only for i386
Diffstat (limited to 'devel/m6811-gcc/files')
-rw-r--r-- | devel/m6811-gcc/files/patch-libiberty-strerror.c | 13 | ||||
-rw-r--r-- | devel/m6811-gcc/files/patch-libiberty-strsignal.c | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/devel/m6811-gcc/files/patch-libiberty-strerror.c b/devel/m6811-gcc/files/patch-libiberty-strerror.c new file mode 100644 index 0000000..e653245 --- /dev/null +++ b/devel/m6811-gcc/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-gcc/files/patch-libiberty-strsignal.c b/devel/m6811-gcc/files/patch-libiberty-strsignal.c new file mode 100644 index 0000000..fa635ba --- /dev/null +++ b/devel/m6811-gcc/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; |