summaryrefslogtreecommitdiff
path: root/lang/J/files/patch-make_build__jconsole.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang/J/files/patch-make_build__jconsole.sh')
-rw-r--r--lang/J/files/patch-make_build__jconsole.sh18
1 files changed, 7 insertions, 11 deletions
diff --git a/lang/J/files/patch-make_build__jconsole.sh b/lang/J/files/patch-make_build__jconsole.sh
index 4de9eafb7eef..ab90539c3117 100644
--- a/lang/J/files/patch-make_build__jconsole.sh
+++ b/lang/J/files/patch-make_build__jconsole.sh
@@ -1,21 +1,18 @@
---- make/build_jconsole.sh.orig 2018-04-09 17:54:22 UTC
+--- make/build_jconsole.sh.orig 2019-01-06 17:19:19 UTC
+++ make/build_jconsole.sh
-@@ -1,9 +1,8 @@
+@@ -1,6 +1,6 @@
#!/usr/local/bin/bash
# $1 is j32 or j64
-cd ~
--. jvars.sh
+. make/jvars.sh
--common=" -fPIC -O1 -Wextra "
-+common=" -fPIC -Wextra "
+ common=" -fPIC -O1 -Wextra -Wno-unused-parameter "
- case $jplatform\_$1 in
-
-@@ -27,6 +26,14 @@ darwin_j64)
+@@ -29,6 +29,14 @@ LINK=" -ledit -ldl -lncurses -m32 -mmacosx-version-min
+ darwin_j64)
COMPILE="$common -DREADLINE -mmacosx-version-min=10.5"
LINK=" -ledit -ldl -lncurses -mmacosx-version-min=10.5 -o jconsole "
- ;;
++;;
+freebsd_j32)
+COMPILE="$common -m32 -DREADLINE"
+LINK="-L${LOCALBASE}/lib -ledit -m32 -o jconsole "
@@ -23,7 +20,6 @@
+freebsd_j64)
+COMPILE="$common -DREADLINE"
+LINK="-L${LOCALBASE}/lib -ledit -o jconsole "
-+;;
+ ;;
*)
echo no case for those parameters
- exit