aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-09-27 04:04:59 +0800
committerglewis <glewis@FreeBSD.org>2003-09-27 04:04:59 +0800
commit1878bfb35b4ce47fdf15c232ec7b19250013d22f (patch)
tree43cb71e681c9bde853a610b1a6ba4d8def5949e4 /java
parent17094935505888aac3e53009e1eae9abb7c4690e (diff)
downloadfreebsd-ports-gnome-1878bfb35b4ce47fdf15c232ec7b19250013d22f.tar.gz
freebsd-ports-gnome-1878bfb35b4ce47fdf15c232ec7b19250013d22f.tar.zst
freebsd-ports-gnome-1878bfb35b4ce47fdf15c232ec7b19250013d22f.zip
. Set EXPR_COMPAT so 5.x expr doesn't get confused by having "-" at the start
of an argument. Submitted by: jmallett
Diffstat (limited to 'java')
-rw-r--r--java/jdk11/files/patch-.extract_args10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/jdk11/files/patch-.extract_args b/java/jdk11/files/patch-.extract_args
new file mode 100644
index 000000000000..171ab97f97e7
--- /dev/null
+++ b/java/jdk11/files/patch-.extract_args
@@ -0,0 +1,10 @@
+--- bin/i386/green_threads/.extract_args.orig Wed Sep 17 23:13:11 2003
++++ bin/i386/green_threads/.extract_args Wed Sep 17 23:14:57 2003
+@@ -10,6 +10,7 @@
+
+ RUNTIME_ARGS=""
+ APP_ARGS=""
++EXPR_COMPAT=yes; export EXPR_COMPAT
+ for a in "$@"
+ do
+ if ja=`expr "$a" : '-J\(..*\)'`