From 23fc385ac6b7e9fae161487502bc8f7c3b75b8d4 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 25 May 2012 20:29:45 +0200 Subject: [PATCH] 4.7.0-6 --- gcc.spec | 2 ++ gcc47-libgo-r187890.patch | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 gcc47-libgo-r187890.patch diff --git a/gcc.spec b/gcc.spec index 47005da..1102495 100644 --- a/gcc.spec +++ b/gcc.spec @@ -175,6 +175,7 @@ Patch13: gcc47-no-add-needed.patch Patch14: gcc47-ppl-0.10.patch Patch15: gcc47-libitm-fno-exceptions.patch Patch16: gcc47-pr53438.patch +Patch17: gcc47-libgo-r187890.patch Patch1000: fastjar-0.97-segfault.patch Patch1001: fastjar-0.97-len1.patch @@ -677,6 +678,7 @@ package or when debugging this package. %endif %patch15 -p0 -b .libitm-fno-exceptions~ %patch16 -p0 -b .pr53438~ +%patch17 -p0 -b .libgo-r187890~ %if 0%{?_enable_debug_packages} cat > split-debuginfo.sh <<\EOF diff --git a/gcc47-libgo-r187890.patch b/gcc47-libgo-r187890.patch new file mode 100644 index 0000000..a061979 --- /dev/null +++ b/gcc47-libgo-r187890.patch @@ -0,0 +1,11 @@ +--- libgo/runtime/print.c (revision 187889) ++++ libgo/runtime/print.c (revision 187890) +@@ -136,7 +136,7 @@ void + runtime_printpc(void *p __attribute__ ((unused))) + { + runtime_prints("PC="); +- runtime_printhex((uint64)runtime_getcallerpc(p)); ++ runtime_printhex((uint64)(uintptr)runtime_getcallerpc(p)); + } + + void