summaryrefslogtreecommitdiff
path: root/package/openjdk/patches/disable-sizers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/openjdk/patches/disable-sizers.patch')
-rw-r--r--package/openjdk/patches/disable-sizers.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/openjdk/patches/disable-sizers.patch b/package/openjdk/patches/disable-sizers.patch
new file mode 100644
index 000000000..b80ee0e69
--- /dev/null
+++ b/package/openjdk/patches/disable-sizers.patch
@@ -0,0 +1,14 @@
+diff -Nur w-openjdk-6.orig//openjdk-6/jdk/make/sun/xawt/Makefile w-openjdk-6/openjdk-6/jdk/make/sun/xawt/Makefile
+--- w-openjdk-6.orig//openjdk-6/jdk/make/sun/xawt/Makefile 2011-02-28 17:06:12.000000000 +0100
++++ w-openjdk-6/openjdk-6/jdk/make/sun/xawt/Makefile 2011-04-11 19:50:34.000000000 +0200
+@@ -237,7 +237,9 @@
+ $(BOOT_JAVA_CMD) -cp $(WRAPPER_GENERATOR_TEMPDIR) WrapperGenerator \
+ $(SIZER_DIR) $(XLIBTYPES) "sizer" $(subst .,,$(suffix $(basename $@)))
+
+-$(SIZES): $(SIZERS)
++#$(SIZES): $(SIZERS)
++$(SIZES):
++ @$(prep-target)
+ @if [ "$(DOHACK)$@" = "true$(PREDEFINED_SIZES)" ]; then \
+ $(ECHO) COPYING $(PREDEFINED_SIZES_TMPL) into $@; \
+ $(CP) $(PREDEFINED_SIZES_TMPL) $@; \