From 2dcff5266a6c1ed39e49b24b8d2984a165ad9c35 Mon Sep 17 00:00:00 2001 From: Jens Rehsack Date: Fri, 16 Oct 2015 19:29:38 +0200 Subject: openjdk-6: remove Since OpenJDK-6 is not maintained anymore, it's more reasonable to move to OpenJDK-8 instead of sticking at unmaintained, upstream not supported VM version. Signed-off-by: Jens Rehsack Signed-off-by: Otavio Salvador --- .../openjdk/openjdk-6-6b27/build-hacks.patch | 86 ---------------------- 1 file changed, 86 deletions(-) delete mode 100644 recipes-core/openjdk/openjdk-6-6b27/build-hacks.patch (limited to 'recipes-core/openjdk/openjdk-6-6b27/build-hacks.patch') diff --git a/recipes-core/openjdk/openjdk-6-6b27/build-hacks.patch b/recipes-core/openjdk/openjdk-6-6b27/build-hacks.patch deleted file mode 100644 index 1ecdef6..0000000 --- a/recipes-core/openjdk/openjdk-6-6b27/build-hacks.patch +++ /dev/null @@ -1,86 +0,0 @@ -Index: icedtea6-1.12.4/Makefile.am -=================================================================== ---- icedtea6-1.12.4.orig/Makefile.am 2013-03-04 22:31:44.256894152 +0100 -+++ icedtea6-1.12.4/Makefile.am 2013-03-10 14:30:16.089527572 +0100 -@@ -656,6 +656,11 @@ - JAVAC="" \ - JAVA_HOME="" \ - JDK_HOME="" \ -+ OE_CFLAGS="$(OE_CFLAGS)" \ -+ OE_CPPFLAGS="$(OE_CPPFLAGS)" \ -+ OE_CXXFLAGS="$(OE_CXXFLAGS)" \ -+ OE_LDFLAGS="$(OE_LDFLAGS)" \ -+ OE_LAUNCHER_LDFLAGS="$(OE_LAUNCHER_LDFLAGS)" \ - ANT_RESPECT_JAVA_HOME="TRUE" \ - DISTRIBUTION_ID="$(DIST_ID)" \ - DERIVATIVE_ID="$(ICEDTEA_NAME) $(PACKAGE_VERSION)$(ICEDTEA_REV)" \ -@@ -2249,10 +2254,14 @@ - if BUILD_JAMVM - cd jamvm/jamvm && \ - LDFLAGS="-Xlinker -z -Xlinker noexecstack" \ -- ./autogen.sh --with-java-runtime-library=openjdk6 \ -- --prefix=$(abs_top_builddir)/jamvm/install ; \ -- $(MAKE) ; \ -- $(MAKE) install -+ $(ARCH_PREFIX) ./autogen.sh --with-java-runtime-library=openjdk6 \ -+ --prefix=$(abs_top_builddir)/jamvm/install \ -+ --host=$(host_alias) \ -+ --build=$(build_alias) \ -+ --target=$(target_alias) \ -+ --with-libtool-sysroot=${ALT_FREETYPE_LIB_PATH} ; \ -+ $(ARCH_PREFIX) $(MAKE) ; \ -+ $(ARCH_PREFIX) $(MAKE) install - mkdir -p $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server - cp $(abs_top_builddir)/jamvm/install/lib/libjvm.so $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server - ln -sf server $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/client -@@ -2316,6 +2325,7 @@ - --host=$(host_alias) \ - --build=$(build_alias) \ - --target=$(target_alias) \ -+ --with-libtool-sysroot=${ALT_FREETYPE_LIB_PATH} \ - --prefix=$(abs_top_builddir)/cacao/install \ - --with-java-runtime-library=openjdk \ - --with-java-runtime-library-prefix=$(abs_top_builddir)/openjdk \ -@@ -2384,7 +2394,7 @@ - # configure script arguments, quoted in single quotes - CONFIGURE_ARGS = @CONFIGURE_ARGS@ - ADD_ZERO_CONFIGURE_ARGS = \ -- --with-jdk-home=$(BUILD_OUTPUT_DIR)/j2sdk-image \ -+ --with-jdk-home=$(abs_top_builddir)/bootstrap/jdk1.6.0 \ - --enable-zero - if ADD_SHARK_BUILD - ADD_ZERO_CONFIGURE_ARGS += \ -Index: icedtea6-1.12.4/javac.in -=================================================================== ---- icedtea6-1.12.4.orig/javac.in 2013-03-04 22:29:36.932613635 +0100 -+++ icedtea6-1.12.4/javac.in 2013-03-10 14:20:35.244778409 +0100 -@@ -18,7 +18,7 @@ - { - my @new_args = @{$_[0]}; - -- for my $opt (NO_DUP_ARGS) -+ for my $opt (NO_DUP_ARGS) - { - my @indices = reverse grep {$new_args[$_] eq $opt} 0..$#new_args; - if (@indices > 1) { -@@ -27,7 +27,7 @@ - } - } - -- for my $opt (STRIP_ARGS) -+ for my $opt (STRIP_ARGS) - { - my @indices = reverse grep {$new_args[$_] eq $opt} 0..$#new_args; - splice @new_args, $_, 1 for @indices; -@@ -69,7 +69,10 @@ - my @CLASSPATH = ('@ECJ_JAR@'); - push @CLASSPATH, split /:/, $ENV{"CLASSPATH"} if exists $ENV{"CLASSPATH"}; - $ENV{"CLASSPATH"} = join ':', @CLASSPATH; -- exec '@JAVA@', @$vm_args, 'org.eclipse.jdt.internal.compiler.batch.Main', @ecj_parms, @$javac_args; -+ -+ # Compiling hotspot-tools consumes tons of memory and exceeds any default -+ # limits for jamvm and cacao. -+ exec '@JAVA@', '-Xmx1024m', @$vm_args, 'org.eclipse.jdt.internal.compiler.batch.Main', @ecj_parms, @$javac_args; - } - else - { -- cgit v1.2.3-54-g00ecf