aboutsummaryrefslogtreecommitdiff
path: root/java/jdk16/files
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2008-02-03 18:46:25 +0000
committerGreg Lewis <glewis@FreeBSD.org>2008-02-03 18:46:25 +0000
commit563540b87fb20df3b111cef19eada2a0fe6fac38 (patch)
treede8e7da57d37d56c961c5f770a0db0a503e5e8e3 /java/jdk16/files
parent8742a6b54c49d30fa0b979beda4e95e8444a0457 (diff)
. Fix locale generation and hence locale handling in general.
PR: 119397 Submitted by: Bernhard Froehlich <decke@bluelife.at>
Notes
Notes: svn path=/head/; revision=206672
Diffstat (limited to 'java/jdk16/files')
-rw-r--r--java/jdk16/files/patch-j2se-java-localegen.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-j2se-java-localegen.sh b/java/jdk16/files/patch-j2se-java-localegen.sh
new file mode 100644
index 000000000000..fbc6351c4f84
--- /dev/null
+++ b/java/jdk16/files/patch-j2se-java-localegen.sh
@@ -0,0 +1,15 @@
+$FreeBSD$
+
+--- ../../j2se/make/java/java/localegen.sh.orig 2008-01-06 16:38:14.000000000 +0100
++++ ../../j2se/make/java/java/localegen.sh 2008-01-06 16:51:26.000000000 +0100
+@@ -22,7 +22,7 @@
+ localelist=
+ getlocalelist() {
+ localelist=""
+- localelist=`$NAWK -F$1_ '{print $2}' $2 | sort`
++ localelist=`$SED -e 'y/ /\n/' -e 's/\\\n//g' $2 | $NAWK -F$1_ '{print \$2}' | sort`
+ }
+
+ sed_script="$SED -e \"s@^#warn .*@// -- This file was mechanically generated: Do not edit! -- //@\" "
+
+