Patchwork [meta-java,3/5] icedtea6-native: fix problem on build hosts with linux kernel 3.x

login
register
mail settings
Submitter Steffen Sledz
Date Oct. 5, 2012, 7:46 p.m.
Message ID <6725efa7f4c769340e8e0d3ef5691bf3e94fcfc7.1349466172.git.sledz@dresearch-fe.de>
Download mbox | patch
Permalink /patch/37831/
State New, archived
Headers show

Comments

Steffen Sledz - Oct. 5, 2012, 7:46 p.m.
see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7072341

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
---
 recipes-core/icedtea/icedtea6-native.inc |    7 +++++++
 1 file changed, 7 insertions(+)

Patch

diff --git a/recipes-core/icedtea/icedtea6-native.inc b/recipes-core/icedtea/icedtea6-native.inc
index 1414ac3..4a613ff 100644
--- a/recipes-core/icedtea/icedtea6-native.inc
+++ b/recipes-core/icedtea/icedtea6-native.inc
@@ -107,6 +107,13 @@  do_configure_append() {
 			-e"s|g++\$(GCC_SUFFIX)|${CXX}|" \
 			$F
 	done
+
+	for F in openjdk/hotspot/make/linux/Makefile openjdk-ecj/hotspot/make/linux/Makefile ;
+	do
+		sed -i \
+			-e"s|SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7%|SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3%|" \
+			$F
+	done
 }
 
 EXTRA_OEMAKE = ' \