gcc6/gcc-4.5.1-psignal_fix_bootstrap_build.patch

13 lines
397 B
Diff
Raw Normal View History

diff -Nru gcc-4.5.1.orig//libiberty/strsignal.c gcc-4.5.1/libiberty/strsignal.c
--- gcc-4.5.1.orig//libiberty/strsignal.c 2008-06-19 17:08:53.000000000 +0200
+++ gcc-4.5.1/libiberty/strsignal.c 2010-09-23 20:00:01.972694593 +0200
@@ -551,7 +551,7 @@
#ifndef HAVE_PSIGNAL
void
-psignal (int signo, char *message)
+psignal (int signo, const char *message)
{
if (signal_names == NULL)
{