I am in the process of rebuilding all ports.
I am using for this:
# portmaster --no-confirm --no-term-title -D -G archivers/arj
Unfortunately, archivers/arj fails to build:
cc -DSFL=4 -c -Ifreebsd10.1 -I./freebsd10.1/POSIX/rs -I. -O2 -pipe
-fPIC -fstack-protector -fno-strict-aliasing -DLOCALE=LANG_POSIX
-DLOCALE_DESC=\POSIX\ -DPKGLIBDIR=\/usr/local/lib/arj\ -D_UNIX
-O2 -pipe -fPIC -fstack-protector -fno-strict-aliasing
-ofreebsd10.1/POSIX/rs/arj/integr.o integr.c cc -DSFL=4 -c
-Ifreebsd10.1 -I./freebsd10.1/POSIX/rs -I. -O2 -pipe -fPIC
-fstack-protector -fno-strict-aliasing -DLOCALE=LANG_POSIX
-DLOCALE_DESC=\POSIX\ -DPKGLIBDIR=\/usr/local/lib/arj\ -D_UNIX
-O2 -pipe -fPIC -fstack-protector -fno-strict-aliasing
-ofreebsd10.1/POSIX/rs/arj/file_reg.o file_reg.c file_reg.c:57:10:
warning: passing 'unsigned char *' to parameter of type 'char *'
converts between pointers to integer types with different sign
[-Wpointer-sign] alltrim(regdata+REG_KEY1_SHIFT);
^~ ./arj_proc.h:58:20: note: passing argument to
parameter 'cmd' here void alltrim(char *cmd); ^ 1 warning generated. cc
-DSFL=4 -c -Ifreebsd10.1 -I./freebsd10.1/POSIX/rs -I. -O2 -pipe -fPIC
-fstack-protector -fno-strict-aliasing -DLOCALE=LANG_POSIX
-DLOCALE_DESC=\POSIX\ -DPKGLIBDIR=\/usr/local/lib/arj\ -D_UNIX
-O2 -pipe -fPIC -fstack-protector -fno-strict-aliasing
-ofreebsd10.1/POSIX/rs/arj/decode.o decode.c decode.c:73:19: warning:
passing 'unsigned char *' to parameter of type 'char *' converts
between pointers to integer types with different sign [-Wpointer-sign]
garble_decode(byte_buf, 1); ^ ./garble.h:15:26: note: passing
argument to parameter 'data' here void garble_decode(char *data, int
len); ^ decode.c:124:24: error: use of undeclared identifier
'M_BADTABLE_G' msg_cprintf(H_ERR, M_BADTABLE_G); ^ decode.c:131:24:
error: use of undeclared identifier 'M_BADTABLE' msg_cprintf(H_ERR,
M_BADTABLE); ^ decode.c:173:27: error: use of undeclared identifier
'M_BADTABLE_G' msg_cprintf(H_ERR, M_BADTABLE_G); ^
decode.c:180:27: error: use of undeclared identifier 'M_BADTABLE'
msg_cprintf(H_ERR, M_BADTABLE);
^
decode.c:395:10: error: use of undeclared identifier 'M_OUT_OF_MEMORY'
error(M_OUT_OF_MEMORY);
^
decode.c:397:10: error: use of undeclared identifier 'M_OUT_OF_MEMORY'
error(M_OUT_OF_MEMORY);
^
decode.c:445:25: warning: passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
if(extraction_stub(dec_text, DICSIZ, action))
^~~~
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
^
decode.c:470:27: warning: passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
if(extraction_stub(dec_text, DICSIZ, action))
^~~~
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
^
decode.c:483:19: warning: passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
extraction_stub(dec_text, r, action);
^~~~
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
^
decode.c:565:24: warning: passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
if(extraction_stub(ntext, FDICSIZ, action))
^
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
^
decode.c:582:25: warning: passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
if(extraction_stub(ntext, FDICSIZ, action))
^
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
^
decode.c:591:19: warning: passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
extraction_stub(ntext, r, action);
^
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
^
7 warnings and 6 errors generated.
GNUmakefile:132: recipe for target 'freebsd10.1/POSIX/rs/arj/decode.o'
failed gmake[2]: *** [freebsd10.1/POSIX/rs/arj/decode.o] Error 1
gmake[2]: Leaving directory '/usr/ports