Patch to fix strsignal for the LM32 gcc-4.5.3.

This commit is contained in:
Chris Johns 2013-03-09 10:48:36 +11:00
parent 6b29f596b8
commit 98e7a7b791
2 changed files with 16 additions and 0 deletions

View File

@ -23,6 +23,11 @@
%define enable_obsolete 0 %define enable_obsolete 0
%endif %endif
#
# Libiberty strsignal fix
#
Patch2: gcc-4.5.3-strsignal-1.diff
# #
# The gcc/newlib build instructions. We use 4.5 Release 1. # The gcc/newlib build instructions. We use 4.5 Release 1.
# #

View File

@ -0,0 +1,11 @@
--- gcc-4.5.3/libiberty/strsignal.c.orig 2013-03-08 22:24:00.000000000 +0000
+++ gcc-4.5.3/libiberty/strsignal.c 2013-03-08 22:24:53.000000000 +0000
@@ -551,7 +551,7 @@
#ifndef HAVE_PSIGNAL
void
-psignal (int signo, char *message)
+psignal (int signo, const char *message)
{
if (signal_names == NULL)
{