Mercurial > hg > release > icedtea6-1.9
changeset 2326:66db0252562c
G344659: Fix issue when building on SPARC
2011-02-13 Andrew John Hughes <ahughes@redhat.com>
G344659: Fix issue when building on SPARC
* Makefile.am: Add new patch.
* NEWS: Updated.
* patches/g344659-sparc_fix.patch:
Add fix for SPARC builds on Gentoo.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Mon, 14 Feb 2011 02:17:45 +0000 |
parents | acbddaabc2e3 |
children | e524c624d58a |
files | ChangeLog Makefile.am NEWS patches/g344659-sparc_fix.patch |
diffstat | 4 files changed, 23 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Feb 14 01:00:50 2011 +0000 +++ b/ChangeLog Mon Feb 14 02:17:45 2011 +0000 @@ -1,3 +1,11 @@ +2011-02-13 Andrew John Hughes <ahughes@redhat.com> + + G344659: Fix issue when building on SPARC + * Makefile.am: Add new patch. + * NEWS: Updated. + * patches/g344659-sparc_fix.patch: + Add fix for SPARC builds on Gentoo. + 2011-02-13 Andrew John Hughes <ahughes@redhat.com> * configure.ac: Bump to 1.9.7.
--- a/Makefile.am Mon Feb 14 01:00:50 2011 +0000 +++ b/Makefile.am Mon Feb 14 02:17:45 2011 +0000 @@ -335,7 +335,8 @@ patches/openjdk/6687968-pngimagereader_mem_leak.patch \ patches/openjdk/6541476-png-iTXt-chunk.patch \ patches/openjdk/6782079-png_metadata_oom.patch \ - patches/rh676659-gcc-export-dynamic.patch + patches/rh676659-gcc-export-dynamic.patch \ + patches/g344659-sparc_fix.patch if WITH_ALT_HSBUILD ICEDTEA_PATCHES += \
--- a/NEWS Mon Feb 14 01:00:50 2011 +0000 +++ b/NEWS Mon Feb 14 02:17:45 2011 +0000 @@ -21,6 +21,7 @@ - Vulnerability in permissions assigned to applets with multiple JARs * Bug fixes - RH676659: Pass -export-dynamic flag to linker using -Wl, as option in gcc 4.6+ is broken + - G344659: Fix issue when building on SPARC New in release 1.9.6 (2011-02-09):
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/g344659-sparc_fix.patch Mon Feb 14 02:17:45 2011 +0000 @@ -0,0 +1,12 @@ +diff -uNr openjdk.orig/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp openjdk/hotspot/src/os_cpu/linux_sparc/vm/v_version_linux_sparc.cpp +--- openjdk.orig/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp 2010-06-21 22:12:15.000000000 +0100 ++++ openjdk/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp 2010-11-29 20:15:36.179541001 +0000 +@@ -35,7 +35,7 @@ + } + + while (!feof(fp)) { +- if (fscanf(fp, "cpu\t\t: %100[^\n]", &cpu) == 1) { ++ if (fscanf(fp, "cpu\t\t: %100[^\n]", &cpu[0]) == 1) { + if (strstr(cpu, "Niagara") != NULL) { + rv = true; + }