# HG changeset patch # User Xerxes R?nby # Date 1310223497 -7200 # Node ID 1c554e7ce79eaf4e5582a27a5a4feea0b5f66756 # Parent 78333d0b383abd5d39bb5d845d43c75cd2328c1c PR632: 6878713.patch breaks shark zero build 2011-07-09 Xerxes R?nby Mark Wielaard PR632: 6878713.patch breaks shark zero build * patches/stdc-limit-macros.patch (openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp): Only define __STDC_LIMIT_MACROS if undefined. * Makefile.am (ICEDTEA_PATCHES): Add new patch. * NEWS: Updated. diff -r 78333d0b383a -r 1c554e7ce79e ChangeLog --- a/ChangeLog Fri Jun 10 17:58:23 2011 +0200 +++ b/ChangeLog Sat Jul 09 16:58:17 2011 +0200 @@ -1,3 +1,13 @@ +2011-07-09 Xerxes RĂ„nby + Mark Wielaard + + PR632: 6878713.patch breaks shark zero build + * patches/stdc-limit-macros.patch + (openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp): + Only define __STDC_LIMIT_MACROS if undefined. + * Makefile.am (ICEDTEA_PATCHES): Add new patch. + * NEWS: Updated. + 2011-06-10 Pavel Tisnovsky * patches/font-rhel.patch: diff -r 78333d0b383a -r 1c554e7ce79e Makefile.am --- a/Makefile.am Fri Jun 10 17:58:23 2011 +0200 +++ b/Makefile.am Sat Jul 09 16:58:17 2011 +0200 @@ -239,6 +239,7 @@ ICEDTEA_PATCHES = \ $(SECURITY_PATCHES) \ + patches/stdc-limit-macros.patch \ patches/icedtea-notice-safepoints.patch \ patches/icedtea-parisc-opt.patch \ patches/icedtea-lucene-crash.patch \ diff -r 78333d0b383a -r 1c554e7ce79e NEWS --- a/NEWS Fri Jun 10 17:58:23 2011 +0200 +++ b/NEWS Sat Jul 09 16:58:17 2011 +0200 @@ -10,6 +10,9 @@ New in release 1.9.9 (20XX-XX-XX): +* Shark + - PR632: patches/security/20110215/6878713.patch breaks shark zero build + New in release 1.9.8 (2011-06-07): * Security fixes diff -r 78333d0b383a -r 1c554e7ce79e patches/stdc-limit-macros.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/stdc-limit-macros.patch Sat Jul 09 16:58:17 2011 +0200 @@ -0,0 +1,12 @@ +--- openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp ++++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp +@@ -72,7 +72,9 @@ + # endif + + #ifdef LINUX ++#ifndef __STDC_LIMIT_MACROS + #define __STDC_LIMIT_MACROS ++#endif + #include + #include + #include