diff options
author | Guillermo Rodríguez <guille.rodriguez@gmail.com> | 2018-11-20 16:51:52 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-11-22 06:51:00 +0100 |
commit | 645d8512f380c50af259e9b6d7781d209cbcd47a (patch) | |
tree | ba8290aad6849318448c8f5e395edb8784998909 /patches | |
parent | 2854a6b5164b2ce99bf3adc85cb30fb178bb5a11 (diff) | |
download | ptxdist-645d8512f380c50af259e9b6d7781d209cbcd47a.tar.gz ptxdist-645d8512f380c50af259e9b6d7781d209cbcd47a.tar.xz |
classpath: Fix building when default locale is not UTF-8
Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
[mol: cleanup patch header]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/classpath-0.99/0002-Fix-unmappable-character-error.patch | 23 | ||||
-rw-r--r-- | patches/classpath-0.99/series | 4 |
2 files changed, 27 insertions, 0 deletions
diff --git a/patches/classpath-0.99/0002-Fix-unmappable-character-error.patch b/patches/classpath-0.99/0002-Fix-unmappable-character-error.patch new file mode 100644 index 000000000..1427ea3c1 --- /dev/null +++ b/patches/classpath-0.99/0002-Fix-unmappable-character-error.patch @@ -0,0 +1,23 @@ +From: =?UTF-8?q?Guillermo=20Rodr=C3=ADguez?= <guille.rodriguez@gmail.com> +Date: Thu, 22 Nov 2018 06:44:55 +0100 +Subject: [PATCH] Fix unmappable character error + +Fix unmappable character to make it possible to build when +default locale is not UTF-8. +--- + java/util/regex/Matcher.java | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/java/util/regex/Matcher.java b/java/util/regex/Matcher.java +index 8d033d5e3160..584d9a4f8c8e 100644 +--- a/java/util/regex/Matcher.java ++++ b/java/util/regex/Matcher.java +@@ -620,7 +620,7 @@ public final class Matcher implements MatchResult + * + * @param s the string to literalize. + * @return the literalized string. +- * @since 1.5 ++ * @since 1.5 + */ + public static String quoteReplacement(String s) + { diff --git a/patches/classpath-0.99/series b/patches/classpath-0.99/series index 1fffdbd87..e43938734 100644 --- a/patches/classpath-0.99/series +++ b/patches/classpath-0.99/series @@ -1 +1,5 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 0001-Fix-building-with-OpenJDK-1.8.patch +0002-Fix-unmappable-character-error.patch +# 3ac111393d482d13349d5b5141d89368 - git-ptx-patches magic |