summaryrefslogtreecommitdiff
path: root/lang/J/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/J/files')
-rw-r--r--lang/J/files/jconsole.in2
-rw-r--r--lang/J/files/patch-Makefile7
-rw-r--r--lang/J/files/patch-jlibrary_system_config_base.cfg22
-rw-r--r--lang/J/files/patch-jlibrary_system_main_regex.ijs27
-rw-r--r--lang/J/files/patch-jlibrary_system_main_stdlib.ijs18
-rw-r--r--lang/J/files/patch-jsrc_jeload.c11
-rw-r--r--lang/J/files/patch-make_build__jconsole.sh18
-rw-r--r--lang/J/files/patch-make_build__libj.sh50
-rw-r--r--lang/J/files/patch-make_build__tsdll.sh30
-rw-r--r--lang/J/files/patch-make_domake.sh24
-rw-r--r--lang/J/files/patch-make_jvars.sh27
-rw-r--r--lang/J/files/patch-make_makefile12
-rw-r--r--lang/J/files/patch-netdefs_netdefs.c16
-rw-r--r--lang/J/files/profile.ijs.in1
14 files changed, 149 insertions, 116 deletions
diff --git a/lang/J/files/jconsole.in b/lang/J/files/jconsole.in
index 0c70d925f898..f1ce5aa2f6f5 100644
--- a/lang/J/files/jconsole.in
+++ b/lang/J/files/jconsole.in
@@ -1,5 +1,3 @@
#!/bin/sh
-# $FreeBSD$
-
exec %%LOCALBASE%%/lib/j/bin/jconsole -jprofile %%LOCALBASE%%/share/j/profile.ijs
diff --git a/lang/J/files/patch-Makefile b/lang/J/files/patch-Makefile
index 3d78596e1887..51baac860247 100644
--- a/lang/J/files/patch-Makefile
+++ b/lang/J/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig 2018-04-09 18:07:38 UTC
+++ Makefile
-@@ -0,0 +1,21 @@
+@@ -0,0 +1,18 @@
+.PHONY: all
+all: make-${ARCH}
+
@@ -10,11 +10,8 @@
+.PHONY: make-i386
+make-i386: build-j32
+
-+.PHONY: init
-+init:
++build-%:
+ make/install.sh
-+
-+build-%: init
+ make/build_jconsole.sh $*
+ make/build_libj.sh $*
+ make/build_tsdll.sh $*
diff --git a/lang/J/files/patch-jlibrary_system_config_base.cfg b/lang/J/files/patch-jlibrary_system_config_base.cfg
index 3570bb64a0f5..fc2f35366713 100644
--- a/lang/J/files/patch-jlibrary_system_config_base.cfg
+++ b/lang/J/files/patch-jlibrary_system_config_base.cfg
@@ -1,21 +1,21 @@
---- jlibrary/system/config/base.cfg.orig 2016-11-25 19:04:24 UTC
+--- jlibrary/system/config/base.cfg.orig 2019-01-06 11:06:00 UTC
+++ jlibrary/system/config/base.cfg
-@@ -93,6 +93,18 @@ case. 'Linux' do.
- XDiff=: '/usr/bin/meld'
- Editor=: 'geany +%l %f'
- Editor_nox=: 'vi -c%l %f'
+@@ -90,6 +90,18 @@ case. 'Linux' do.
+ XDiff=: ''
+ Editor=: ''
+ Editor_nox=: ''
+case. 'FreeBSD' do.
+ BoxForm=: 0
+ Browser=: ''
-+ Browser_nox=: '/usr/bin/w3m'
-+ EPSReader=: '/usr/bin/evince'
++ Browser_nox=: ''
++ EPSReader=: ''
+ ImageViewer=: ''
+ ImageViewer_nox=: ''
-+ PDFReader=: '/usr/bin/evince'
++ PDFReader=: ''
+ PDFReader_nox=: ''
-+ XDiff=: '/usr/bin/meld'
-+ Editor=: 'geany +%l %f'
-+ Editor_nox=: 'vi -c%l %f'
++ XDiff=: ''
++ Editor=: ''
++ Editor_nox=: ''
case. 'Win' do.
BoxForm=: 1
Browser=: ''
diff --git a/lang/J/files/patch-jlibrary_system_main_regex.ijs b/lang/J/files/patch-jlibrary_system_main_regex.ijs
index f93061a5bf9a..95bb4c9cfe75 100644
--- a/lang/J/files/patch-jlibrary_system_main_regex.ijs
+++ b/lang/J/files/patch-jlibrary_system_main_regex.ijs
@@ -1,10 +1,19 @@
---- jlibrary/system/main/regex.ijs.orig 2018-03-07 18:59:01 UTC
+--- jlibrary/system/main/regex.ijs.orig 2019-01-06 11:11:14 UTC
+++ jlibrary/system/main/regex.ijs
-@@ -101,6 +101,7 @@ NB. rxdll is in bin or tools/regex
- select. UNAME
- case. 'Win' do. t=. 'jpcre.dll'
- case. 'Darwin' do. t=. 'libjpcre.dylib'
-+case. 'FreeBSD' do. t=. 'libpcreposix.so'
- fcase. 'Linux' do.
- if. 2 0-:('libpcreposix.so.3 dummyfunction n')&(15!:0) ::(15!:10) '' do.
- rxdll=: 'libpcreposix.so.3'
+@@ -179,6 +179,7 @@ select. UNAME
+ case. 'Win' do. t=. 'jpcre2.dll'
+ case. 'Darwin' do. t=. 'libjpcre2.dylib'
+ case. 'Linux' do. t=. 'libjpcre2.so'
++case. 'FreeBSD' do. t=. 'libjpcre2.so'
+ case. 'Android' do. t=. 'libjpcre2.so'
+ end.
+
+@@ -191,6 +192,8 @@ NB. fall back one more time
+ if. ('Android'-:UNAME) *. 0 = 1!:4 :: 0: <f do.
+ f=. (({.~i:&'/')LIBFILE),'/',t
+ elseif. ('Linux'-:UNAME) *. (IFUNIX>'/'e.LIBFILE) *. 0 = 1!:4 :: 0: <f do.
++ f=. 'libpcre2-8.so.0'
++elseif. ('FreeBSD'-:UNAME) *. (IFUNIX>'/'e.LIBFILE) *. 0 = 1!:4 :: 0: <f do.
+ f=. 'libpcre2-8.so.0'
+ elseif. 0 = 1!:4 :: 0: <f do.
+ f=. t
diff --git a/lang/J/files/patch-jlibrary_system_main_stdlib.ijs b/lang/J/files/patch-jlibrary_system_main_stdlib.ijs
index 5ec733fb90cb..1e8bfcb9a0bb 100644
--- a/lang/J/files/patch-jlibrary_system_main_stdlib.ijs
+++ b/lang/J/files/patch-jlibrary_system_main_stdlib.ijs
@@ -1,6 +1,14 @@
---- jlibrary/system/main/stdlib.ijs.orig 2016-11-25 19:04:24 UTC
+--- jlibrary/system/main/stdlib.ijs.orig 2018-10-02 13:24:06 UTC
+++ jlibrary/system/main/stdlib.ijs
-@@ -93,6 +93,7 @@ if. (<'home') -.@e. {."1 SystemFolders d
+@@ -44,6 +44,7 @@ if. notdef 'FHS' do.
+ FHS=: IFUNIX>'/'e.LIBFILE
+ end.
+ 'libc.so.6 setlocale > x i *c'&(15!:0)^:(UNAME-:'Linux') 1;,'C'
++'libc.so.7 setlocale > x i *c'&(15!:0)^:(UNAME-:'FreeBSD') 1;,'C'
+ if. notdef 'IFRASPI' do.
+ if. UNAME -: 'Linux' do.
+ cpu=. 2!:0 'cat /proc/cpuinfo'
+@@ -106,6 +107,7 @@ if. (<'home') -.@e. {."1 SystemFolders do.
elseif. 'Android'-:UNAME do. t=. '/sdcard'
elseif. 'Darwin'-:UNAME do. t=. (0-:t){::'';~t=. 2!:5'HOME'
elseif. 'Linux'-:UNAME do. t=. (0-:t){::'';~t=. 2!:5'HOME'
@@ -8,7 +16,7 @@
elseif. do. t=. ''
end.
if. (''-:t)+.((,'/')-:t)+.('/root'-:t)+.('/usr/'-:5{.t) do.
-@@ -107,6 +108,7 @@ if. (<'temp') -.@e. {."1 SystemFolders d
+@@ -120,6 +122,7 @@ if. (<'temp') -.@e. {."1 SystemFolders do.
elseif. 'Android'-:UNAME do. t=. '/sdcard'
elseif. 'Darwin'-:UNAME do. 1!:5 ::] <t=. '/tmp/',":2!:6''
elseif. 'Linux'-:UNAME do. 1!:5 ::] <t=. '/tmp/',":2!:6''
@@ -16,7 +24,7 @@
elseif. do. t=. ''
end.
SystemFolders=: SystemFolders, 'temp';t
-@@ -119,14 +121,14 @@ end.
+@@ -132,14 +135,14 @@ end.
18!:4 <'z'
18!:4 <'z'
UNXLIB=: ([: <;._1 ' ',]);._2 (0 : 0)
@@ -36,7 +44,7 @@
(<r,c) {:: UNXLIB_z_
)
18!:4 <'z'
-@@ -1337,7 +1339,7 @@ require 'pacman'
+@@ -1343,7 +1346,7 @@ require 'pacman'
do_install_jpacman_ y
)
getqtbin=: 3 : 0
diff --git a/lang/J/files/patch-jsrc_jeload.c b/lang/J/files/patch-jsrc_jeload.c
new file mode 100644
index 000000000000..c8f812367f32
--- /dev/null
+++ b/lang/J/files/patch-jsrc_jeload.c
@@ -0,0 +1,11 @@
+--- jsrc/jeload.c.orig 2019-03-10 11:13:19 UTC
++++ jsrc/jeload.c
+@@ -330,6 +330,8 @@ int jefirst(int type,char* arg)
+ strcat(input,"[UNAME_z_=:'Win'");
+ #elif defined(__MACH__)
+ strcat(input,"[UNAME_z_=:'Darwin'");
++#elif defined(__FreeBSD__)
++ strcat(input,"[UNAME_z_=:'FreeBSD'");
+ #elif !defined(ANDROID)
+ strcat(input,"[UNAME_z_=:'Linux'");
+ #endif
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
diff --git a/lang/J/files/patch-make_build__libj.sh b/lang/J/files/patch-make_build__libj.sh
index ed409dc08a90..460cdad2285c 100644
--- a/lang/J/files/patch-make_build__libj.sh
+++ b/lang/J/files/patch-make_build__libj.sh
@@ -1,42 +1,42 @@
---- make/build_libj.sh.orig 2018-04-09 18:12:26 UTC
+--- make/build_libj.sh.orig 2019-03-10 15:39:26 UTC
+++ make/build_libj.sh
-@@ -1,7 +1,6 @@
+@@ -1,6 +1,6 @@
#!/usr/local/bin/bash
# $1 is j32 or j64
-cd ~
--. jvars.sh
+. make/jvars.sh
# gcc 5 vs 4 - killing off linux asm routines (overflow detection)
# new fast code uses builtins not available in gcc 4
-@@ -15,6 +14,8 @@ common="-fPIC -O1 -fno-if-conversion2 -f
- # clang
- # common="-Werror -fPIC -O1 -fwrapv -fno-strict-aliasing -Wextra -Wno-clobbered -Wno-maybe-uninitialized -Wno-unused-parameter -Wno-sign-compare -Wno-empty-body -Wno-unused-value -Wno-pointer-sign -Wno-parentheses -Wno-unsequenced -Wno-string-plus-int"
- darwin="-fPIC -O1 -fwrapv -fno-strict-aliasing -Wno-string-plus-int -Wno-empty-body -Wno-unsequenced -Wno-unused-value -Wno-pointer-sign -Wno-parentheses -Wno-return-type -Wno-constant-logical-operand -Wno-comment -Wno-unsequenced"
-+freebsd="-fPIC -O1 -fwrapv -fno-strict-aliasing -Wno-string-plus-int -Wno-empty-body -Wno-unsequenced -Wno-unused-value -Wno-pointer-sign -Wno-parentheses -Wno-return-type -Wno-constant-logical-operand -Wno-comment -Wno-unsequenced"
-+
-
- case $jplatform\_$1 in
-
-@@ -50,6 +51,21 @@ TARGET=libj.dylib
- COMPILE="$darwin -mmacosx-version-min=10.5"
- LINK=" -dynamiclib -lm -ldl -mmacosx-version-min=10.5 -o libj.dylib"
- ;;
+@@ -14,7 +14,7 @@ if [ $USE_OPENMP -eq 1 ] ; then
+ OPENMP=" -fopenmp "
+ LDOPENMP=" -fopenmp "
+ if [ "x$compiler" = x'gcc' ] ; then
+-LDOPENMP32=" -l:libgomp.so.1 " # gcc
++LDOPENMP32=" -l:libgomp.so " # gcc
+ else
+ LDOPENMP32=" -l:libomp.so.5 " # clang
+ fi
+@@ -92,6 +92,22 @@ TARGET=libj.dylib
+ COMPILE="$darwin -mavx -mmacosx-version-min=10.5 -DC_AVX=1"
+ LINK=" -dynamiclib -lm -ldl $LDOPENMP -mmacosx-version-min=10.5 -o libj.dylib"
+ OBJS_FMA=" blis/gemm_int-fma.o "
++;;
+
+freebsd_j32) # freebsd x86
+TARGET=libj.so
+# faster, but sse2 not available for 32-bit amd cpu
+# sse does not support mfpmath=sse in 32-bit gcc
-+COMPILE="$freebsd -m32 -msse2 -mfpmath=sse -DC_NOMULTINTRINSIC "
++COMPILE="$common -m32 -msse2 -mfpmath=sse -DC_NOMULTINTRINSIC "
+# slower, use 387 fpu and truncate extra precision
-+# COMPILE="$freebsd -m32 -ffloat-store "
-+LINK=" -shared -Wl,-soname,libj.so -m32 -lm -o libj.so "
++# COMPILE="$common -m32 -ffloat-store "
++LINK=" -shared -Wl,-soname,libj.so -m32 -lm -ldl $LDOPENMP32 -o libj.so "
+;;
-+freebsd_j64) # freebsd x86
++
++freebsd_j64) # freebsd amd64
+TARGET=libj.so
-+COMPILE="$freebsd -DC_NOMULTINTRINSIC "
-+LINK=" -shared -Wl,-soname,libj.so -lm -o libj.so "
-+;;
++COMPILE="$common -DC_NOMULTINTRINSIC "
++LINK=" -shared -Wl,-soname,libj.so -lm -ldl $LDOPENMP -o libj.so "
+ ;;
+
*)
- echo no case for those parameters
- exit
diff --git a/lang/J/files/patch-make_build__tsdll.sh b/lang/J/files/patch-make_build__tsdll.sh
index 6bfa8cb9b640..0544b4b2e7be 100644
--- a/lang/J/files/patch-make_build__tsdll.sh
+++ b/lang/J/files/patch-make_build__tsdll.sh
@@ -1,21 +1,34 @@
---- make/build_tsdll.sh.orig 2018-04-09 18:00:06 UTC
+--- make/build_tsdll.sh.orig 2019-03-10 15:32:23 UTC
+++ make/build_tsdll.sh
-@@ -1,9 +1,8 @@
+@@ -1,9 +1,22 @@
#!/usr/local/bin/bash
# $1 is j32 or j64
-cd ~
--. jvars.sh
+. make/jvars.sh
--common=" -fPIC -O1 -Werror -Wextra -Wno-unused-parameter"
-+common=" -fPIC -Werror -Wextra -Wno-unused-parameter"
++compiler=${CC:0:3}
++
+ common=" -fPIC -O1 -Werror -Wextra -Wno-unused-parameter"
++if [ "x$compiler" = x'gcc' ] ; then
++OVER_GCC_VER7=$(echo `$CC -dumpversion | cut -f1 -d.` \>= 7 | bc)
++if [ $OVER_GCC_VER7 -eq 1 ] ; then
++common="$common -Wno-implicit-fallthrough"
++fi
++OVER_GCC_VER8=$(echo `$CC -dumpversion | cut -f1 -d.` \>= 8 | bc)
++if [ $OVER_GCC_VER8 -eq 1 ] ; then
++common="$common -Wno-cast-function-type"
++fi
++fi
++
case $jplatform\_$1 in
-@@ -33,6 +32,16 @@ TARGET=libtsdll.dylib
+ linux_j32)
+@@ -35,6 +48,16 @@ darwin_j64)
+ TARGET=libtsdll.dylib
COMPILE="$common "
LINK=" -dynamiclib -o libtsdll.dylib "
- ;;
++;;
+freebsd_j32)
+TARGET=libtsdll.so
+COMPILE="$common -m32 "
@@ -25,7 +38,6 @@
+TARGET=libtsdll.so
+COMPILE="$common "
+LINK=" -shared -Wl,-soname,libtsdll.so -o libtsdll.so "
-+;;
+ ;;
*)
echo no case for those parameters
- exit
diff --git a/lang/J/files/patch-make_domake.sh b/lang/J/files/patch-make_domake.sh
index 881ba0478490..6b77cd9186d4 100644
--- a/lang/J/files/patch-make_domake.sh
+++ b/lang/J/files/patch-make_domake.sh
@@ -1,19 +1,11 @@
---- make/domake.sh.orig 2018-04-09 18:08:56 UTC
+--- make/domake.sh.orig 2019-01-06 11:36:39 UTC
+++ make/domake.sh
-@@ -3,8 +3,7 @@
- # run by build_jconsole and build_libj
- # $1 is j32 or j64
+@@ -15,7 +15,7 @@ if [ $1 = "j64nonavx" ] ; then
+ avx=-nonavx
+ fi
--cd ~
--. jvars.sh
-+. make/jvars.sh
-
- echo $TARGET
- echo $COMPILE
-@@ -12,5 +11,5 @@ echo $LINK
- mkdir -p $jbld/jout/$TARGET/$1
- cd $jbld/jout/$TARGET/$1
-
--make -f $jmake/makefile
+-echo "building $jbld/$targ/bin/$TARGET $avx"
+gmake -f $jmake/makefile
- cp $TARGET $jbld/$1/bin
+ echo "output in $jbld/$targ/bin/build_$TARGET$avx.txt"
+ make -f $jmake/makefile >$jbld/$targ/bin/build_$TARGET$avx.txt 2>&1
+ echo `egrep -w 'warning|error|note' $jbld/$targ/bin/build_$TARGET$avx.txt`
diff --git a/lang/J/files/patch-make_jvars.sh b/lang/J/files/patch-make_jvars.sh
index 2a76845f23d0..946183ac9f82 100644
--- a/lang/J/files/patch-make_jvars.sh
+++ b/lang/J/files/patch-make_jvars.sh
@@ -1,16 +1,25 @@
---- make/jvars.sh.orig 2018-04-09 18:05:09 UTC
+--- make/jvars.sh.orig 2019-03-10 15:55:44 UTC
+++ make/jvars.sh
-@@ -1,11 +1,11 @@
+@@ -2,7 +2,7 @@
# source shell script (read with . jvars.sh) so stuff is easy to find
# edit following if your install is not standard
--jgit=~/gitdev/jsource # git jsource folder
-+jgit=~/jsource-j808-release # git jsource folder
- jbld=~/jbld # test libraries and binaries will be put here
+-jgit=~/git/jsource # git jsource folder
++jgit=~/jsource-j807-release # git jsource folder
+ jbld=~/jbld # test libraries and binaries will be put here
- # edit platform to build - linux darwin raspberry
--jplatform=linux
-+jplatform=freebsd
+ # platform and shared library suffix
+@@ -10,7 +10,12 @@ jplatform=`uname|tr '[:upper:]' '[:lower:]'`
+ jsuffix=so
+ if [ $jplatform = "darwin" ] ; then jsuffix=dylib ; fi
+
+-CC=clang # compiler
++USE_OPENMP="${USE_OPENMP:=0}"
++if [ $USE_OPENMP -eq 1 ] ; then
++ CC=gcc8
++else
++ CC=clang # compiler
++fi
# should not be necessary to edit after here
- j32=$jbld/j32/bin/jconsole
+ tsu=$jgit/test/tsu.ijs
diff --git a/lang/J/files/patch-make_makefile b/lang/J/files/patch-make_makefile
index dde7365c7252..5a618610997b 100644
--- a/lang/J/files/patch-make_makefile
+++ b/lang/J/files/patch-make_makefile
@@ -1,9 +1,11 @@
---- make/makefile.orig 2016-11-25 19:04:24 UTC
+--- make/makefile.orig 2018-10-02 13:24:06 UTC
+++ make/makefile
-@@ -1,5 +1,5 @@
- vpath % $(jgit)/jsrc
+@@ -3,7 +3,7 @@ vpath % $(jgit)/jsrc
+ %.o: %.c
+ $(CC) -c $(CFLAGS) $(CFLAGS_FMA) -o$@ $^
-CFLAGS=$(COMPILE)
+CFLAGS+=$(COMPILE)
- $(TARGET) : $(OBJS)
- $(CC) $(OBJS) $(LINK)
+ $(OBJS_FMA) : CFLAGS_FMA := -mfma
+ $(TARGET) : $(OBJS) $(OBJS_FMA)
+ $(CC) $(OBJS) $(OBJS_FMA) $(LINK)
diff --git a/lang/J/files/patch-netdefs_netdefs.c b/lang/J/files/patch-netdefs_netdefs.c
index cafbfc75f2fc..0e43838d1216 100644
--- a/lang/J/files/patch-netdefs_netdefs.c
+++ b/lang/J/files/patch-netdefs_netdefs.c
@@ -1,11 +1,11 @@
---- netdefs/netdefs.c.orig 2016-11-25 19:04:24 UTC
+--- netdefs/netdefs.c.orig 2019-01-06 15:19:53 UTC
+++ netdefs/netdefs.c
-@@ -147,7 +147,7 @@ int main(){
- printf ("msg_iov_sz=: %d\n",sizeof(((struct msghdr*)0)->msg_iov));
- printf ("msg_iovlen_off=: %d\n",offset(struct msghdr,msg_iovlen));
- printf ("msg_iovlen_sz=: %d\n",sizeof(((struct msghdr*)0)->msg_iovlen));
+@@ -152,7 +152,7 @@ int main(){
+ printf ("msg_iov_sz=: " FMTI "\n",sizeof(((struct msghdr*)0)->msg_iov));
+ printf ("msg_iovlen_off=: " FMTI "\n",offset(struct msghdr,msg_iovlen));
+ printf ("msg_iovlen_sz=: " FMTI "\n",sizeof(((struct msghdr*)0)->msg_iovlen));
-#if defined(linux) || defined(Darwin)
+#if defined(linux) || defined(Darwin) || defined(__FreeBSD__)
- printf ("msg_control_off=: %d\n",offset(struct msghdr,msg_control));
- printf ("msg_control_sz=: %d\n",sizeof(((struct msghdr*)0)->msg_control));
- printf ("msg_controllen_off=: %d\n",offset(struct msghdr,msg_controllen));
+ printf ("msg_control_off=: " FMTI "\n",offset(struct msghdr,msg_control));
+ printf ("msg_control_sz=: " FMTI "\n",sizeof(((struct msghdr*)0)->msg_control));
+ printf ("msg_controllen_off=: " FMTI "\n",offset(struct msghdr,msg_controllen));
diff --git a/lang/J/files/profile.ijs.in b/lang/J/files/profile.ijs.in
index 8a85a66649ed..da4a9a1a689c 100644
--- a/lang/J/files/profile.ijs.in
+++ b/lang/J/files/profile.ijs.in
@@ -1,7 +1,6 @@
NB. J profile
NB. JFE sets BINPATH_z_ and ARGV_z_
NB. add your sentences in startup.ijs
-NB. $FreeBSD$
systype=. 9!:12''
jpathsep_z_=: '/'&(('\' I.@:= ])})