pkgsrc/lang/openjdk7/patches/patch-jdk_make_common_Rules.gmk
ryoon 2860662987 Update to 1.7.71
* Update icedtea* to latest
* UTF-8 build patch
These are based on the patches from richard@.

Changelog:
From: http://www.oracle.com/technetwork/java/javase/7u71-relnotes-2296187.html

The full version string for this update release is 1.7.0_71-b14 (where "b" means "build"). The version number is 7u71.
IANA Data 2014c

JDK 7u71 contains IANA time zone data version 2014c. For more information, refer to Timezone Data Versions in the JRE Software.
2014-11-03 12:25:36 +00:00

17 lines
815 B
Text

$NetBSD: patch-jdk_make_common_Rules.gmk,v 1.1 2014/11/03 12:25:36 ryoon Exp $
* add '-encoding UTF-8' to JAVAC_CMD to support the " ˇ" character string in
* classes/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java
* avoiding "unmappable character for encoding ascii" error
--- jdk/make/common/Rules.gmk.orig 2014-01-01 05:53:33.000000000 +0000
+++ jdk/make/common/Rules.gmk
@@ -256,7 +256,7 @@ classes : $(CLASSES_INIT) .delete.classl
$(CAT) $<.filtered; \
$(ECHO) "# Running javac:"; \
$(ECHO) $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$<.filtered; \
- $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$<.filtered; \
+ $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -encoding UTF-8 -d $(CLASSDESTDIR) @$<.filtered; \
fi
@$(java-vm-cleanup)