>>> Building on exopi-2 under converters/ish DIST = [converters/ish:ish201a5.tar.gz] FULLPKGNAME = ish-2.01a5p3 distfiles size=25803 >>> Running build in converters/ish at 1714025877.39 ===> converters/ish ===> Building from scratch ish-2.01a5p3 ===> Verifying specs: c ===> found c.100.0 ===> Checking files for ish-2.01a5p3 `/exopi-cvs/ports/distfiles/ish201a5.tar.gz' is up to date. >> (SHA256) ish201a5.tar.gz: OK ===> Extracting for ish-2.01a5p3 ===> Patching for ish-2.01a5p3 ===> Applying OpenBSD patch patch-crc32_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix: Multi-volume format cannot handle on 64bit environment. | |--- crc32.c.orig Wed Apr 20 06:23:00 1994 |+++ crc32.c Fri Dec 30 23:09:44 2011 -------------------------- Patching file crc32.c using Plan A... Hunk #1 succeeded at 78. done ===> Applying OpenBSD patch patch-decode_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Hunk #1: Provide prototype to appease clang 15 |Hunk #2: When decoding, the status display has Y2K problem. |Hunks #3 & #4: NUL vs NULL mismatch |Hunk #5: fix an infinite loop on unsigned char archs (powerpc and arm*) | |Index: decode.c |--- decode.c.orig |+++ decode.c -------------------------- Patching file decode.c using Plan A... Hunk #1 succeeded at 35. Hunk #2 succeeded at 274. Hunk #3 succeeded at 345. Hunk #4 succeeded at 666. Hunk #5 succeeded at 676. done ===> Applying OpenBSD patch patch-ish_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: ish.c |--- ish.c.orig |+++ ish.c -------------------------- Patching file ish.c using Plan A... Hunk #1 succeeded at 52. Hunk #2 succeeded at 75. done ===> Applying OpenBSD patch patch-mvol_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |- Fix multi-volume format cannot handle on 64bit environment |- Add missing includes |- Add non-implicit return type to fix build with clang | |--- mvol.c.orig Sun Jan 7 21:47:17 1996 |+++ mvol.c Sat Apr 22 11:59:17 2017 -------------------------- Patching file mvol.c using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 18. Hunk #3 succeeded at 213. Hunk #4 succeeded at 251. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for ish-2.01a5p3 ===> Configuring for ish-2.01a5p3 ===> Building for ish-2.01a5p3 cc -O2 -pipe -c crc.c crc.c:43:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int calcrc(arg, len, crc) ^ 1 warning generated. cc -O2 -pipe -c crc32.c crc32.c:76:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int calcrc32(arg, len, crc) ^ 1 warning generated. cc -O2 -pipe -c decode.c decode.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] decode() ^ int decode.c:75:16: warning: call to undeclared function 'readln'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while((l = readln(ipath, buff, LBUFLEN)) > 0) { ^ decode.c:79:7: warning: call to undeclared function 'dec_jis7'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] l = dec_jis7(buff, l); ^ decode.c:82:7: warning: call to undeclared function 'dec_jis8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] l = dec_jis8(buff, l); ^ decode.c:96:7: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (chkcrc(obuf, l)) { ^ ./ish.h:38:35: note: expanded from macro 'chkcrc' #define chkcrc(argv,len) (0x1d0f==calcrc(argv,len,0xffff)) ^ decode.c:101:14: warning: passing arguments to 'hedprn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hedprn(obuf); ^ decode.c:103:15: warning: call to undeclared function 'decish'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] skip = decish(); ^ decode.c:191:12: warning: passing arguments to 'init_mhead' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_mhead((char *)head); ^ decode.c:283:31: warning: passing arguments to 'seconds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] timep[0] = timep[1] = seconds(&tm); ^ decode.c:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void hedprn(head) ^ decode.c:37:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void hedprn(); ^ decode.c:309:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] decish() ^ int decode.c:317:12: warning: call to undeclared function 'mvol_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((fp = mvol_name(tname)) == -1) { ^ decode.c:324:6: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (access(name,0) == 0) { ^ decode.c:329:7: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (read(0, buff, LBUFLEN) <= 0) ^ decode.c:333:7: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(0); ^ decode.c:333:7: note: include the header or explicitly provide a declaration for 'exit' decode.c:335:10: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(unlink(name) != ERR) ^ decode.c:380:6: warning: call to undeclared function 'decblk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (decblk() != 0) ^ decode.c:387:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close(fp); ^ decode.c:391:7: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink(name); ^ decode.c:405:9: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] crc = calcrc(&decbuf[i][1], j, crc); ^ decode.c:406:3: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write(fp, &decbuf[i][1], j); ^ decode.c:409:9: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] crc = calcrc(&decbuf[i][1], j-1, crc); ^ decode.c:410:3: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write(fp, &decbuf[i][1], j-1); ^ decode.c:416:10: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] crc = calcrc(&decbuf[i][1], j-2, crc); ^ decode.c:417:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write(fp, &decbuf[i][1], j-2); ^ decode.c:433:10: warning: call to undeclared function 'mvol_ok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (mvol_ok(fp, this_vol) != 0) ^ decode.c:434:3: warning: call to undeclared function 'utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] utime(name, timep); ^ decode.c:441:9: warning: call to undeclared function 'utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] utime(name, timep); ^ decode.c:442:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close(fp); ^ decode.c:447:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] decblk() ^ int decode.c:462:17: warning: call to undeclared function 'readln'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((i = readln(ipath, buff, LBUFLEN)) > 0) { ^ decode.c:472:9: warning: call to undeclared function 'dec_jis7'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] k=dec_jis7(buff,i); ^ decode.c:474:9: warning: call to undeclared function 'dec_jis8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] k=dec_jis8(buff,i); ^ decode.c:476:10: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(chkcrc(obuf,k) != 0) ^ ./ish.h:38:35: note: expanded from macro 'chkcrc' #define chkcrc(argv,len) (0x1d0f==calcrc(argv,len,0xffff)) ^ decode.c:485:15: warning: call to undeclared function 'dec_j'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((k = dec_j(buff, i)) < jis) ^ decode.c:487:10: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (chkcrc(obuf,k) == 0) ^ ./ish.h:38:35: note: expanded from macro 'chkcrc' #define chkcrc(argv,len) (0x1d0f==calcrc(argv,len,0xffff)) ^ decode.c:532:6: warning: call to undeclared function 'ecc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (ecc(err, bad[0], bad[1]) == 0){ ^ decode.c:536:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ decode.c:551:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dec_j(argv, len) ^ int decode.c:557:9: warning: call to undeclared function 'dec_jis7'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return dec_jis7(argv, len); ^ decode.c:559:9: warning: call to undeclared function 'dec_jis8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return dec_jis8(argv, len); ^ decode.c:561:9: warning: call to undeclared function 'dec_njis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return dec_njis(argv, len); ^ decode.c:563:9: warning: call to undeclared function 'dec_sjis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return dec_sjis(argv, len); ^ decode.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dec_j(argv, len) ^ decode.c:576:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ecc(err, e1, e2) ^ int decode.c:602:12: warning: enumeration value 'OJIS' not handled in switch [-Wswitch] switch(edmode) { ^~~~~~ decode.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ecc(err, e1, e2) ^ decode.c:649:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int readln(ipath, buff, maxlen) ^ decode.c:674:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int readln2(ipath,buff,maxlen) /* readln for -lf option */ ^ decode.c:690:12: warning: call to undeclared function 'topchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(topchar(l2buf[i])) ^ decode.c:722:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int days(t) ^ decode.c:740:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] time_t seconds(t) ^ decode.c:41:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] time_t timep[2], seconds(); ^ decode.c:776:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int topchar(c) ^ 55 warnings generated. cc -O2 -pipe -c encode.c encode.c:40:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] encode(oflg) ^ int encode.c:49:9: warning: call to undeclared function 'encode1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return encode1(oflg); /* single volume */ ^ encode.c:54:13: warning: call to undeclared function 'mencode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while((err=mencode(oflg)) == 0) ^ encode.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encode(oflg) ^ encode.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] encode1(oflg) ^ int encode.c:94:10: warning: call to undeclared function 'calcline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] size=calcline(jis-3,lsize,0); ^ encode.c:113:2: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setcrc(buff, JIS8_L-2); ^ ./ish.h:39:44: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ encode.c:113:2: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ encode.c:114:2: warning: call to undeclared function 'enc_jis8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enc_jis8(buff, JIS8_L); ^ encode.c:117:2: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setcrc(buff, JIS7_L-2); ^ ./ish.h:39:44: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ encode.c:117:2: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ encode.c:118:2: warning: call to undeclared function 'enc_jis7'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enc_jis7(buff, JIS7_L); ^ encode.c:120:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ encode.c:121:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ encode.c:122:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ encode.c:140:10: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] j = read(path, buff+1, jis-3); ^ encode.c:141:12: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] crc = calcrc(buff+1, j, crc); ^ encode.c:145:13: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setwrd(buff+j+1, crc); ^ encode.c:162:2: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setcrc(buff, jis-2); ^ ./ish.h:39:44: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ encode.c:162:2: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ encode.c:163:6: warning: passing arguments to 'encd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encd(buff); ^ encode.c:164:8: warning: passing arguments to 'chksum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chksum(lin-1, jis-2, buff); ^ encode.c:165:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ encode.c:168:6: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setcrc(tatesum, jis-2); ^ ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ encode.c:169:10: warning: passing arguments to 'encd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encd(tatesum); ^ encode.c:170:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ encode.c:171:12: warning: passing arguments to 'chksum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chksum(jis-2, jis-2, tatesum); ^ encode.c:180:6: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setcrc(yokosum, jis-2); ^ ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ encode.c:181:10: warning: passing arguments to 'encd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encd(yokosum); ^ encode.c:182:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ encode.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encode1(oflg) ^ encode.c:201:2: warning: call to undeclared function 'enc_jis7'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enc_jis7(argv,jis); ^ encode.c:204:2: warning: call to undeclared function 'enc_jis8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enc_jis8(argv,jis); ^ encode.c:207:2: warning: call to undeclared function 'enc_sjis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enc_sjis(argv,jis); ^ encode.c:210:2: warning: call to undeclared function 'enc_njis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enc_njis(argv,jis); ^ encode.c:199:12: warning: enumeration value 'OJIS' not handled in switch [-Wswitch] switch(edmode) { ^~~~~~ encode.c:196:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void encd(argv) ^ encode.c:29:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void chksum(), print(), puttitle(), encd(), ^ encode.c:249:12: warning: enumeration value 'OJIS' not handled in switch [-Wswitch] switch(edmode) { ^~~~~~ encode.c:390:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void setwrd(adr,dat) ^ encode.c:30:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] hdprint(), sethed(), setwrd(), prtitle(); ^ encode.c:398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void print(argv) ^ encode.c:29:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void chksum(), print(), puttitle(), encd(), ^ encode.c:423:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void chksum(no, len, argv) ^ encode.c:29:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void chksum(), print(), puttitle(), encd(), ^ 45 warnings generated. cc -O2 -pipe -c ish.c ish.c:68:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(argc, argv) ^ ish.c:68:1: note: change return type to 'int' void main(argc, argv) ^~~~ int ish.c:74:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *fopen(); ^ ish.c:114:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(225); /* bad para err */ ^ ish.c:114:3: note: include the header or explicitly provide a declaration for 'exit' ish.c:118:15: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mline = atoi(&argv[0][3]); ^ ish.c:154:11: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] title = atoi(&argv[0][2]); ^ ish.c:232:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ish.c:238:5: warning: call to undeclared function 'encode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(encode(oflg) == ERR) ^ ish.c:240:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close(path); ^ ish.c:252:10: warning: call to undeclared function 'decode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (decode() == 0) ^ ish.c:272:7: warning: call to undeclared function 'decode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (decode() == 0) ^ ish.c:68:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void main(argc, argv) ^ 11 warnings generated. cc -O2 -pipe -c jis7.c jis7.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void enc_jis7(argv, len) ^ jis7.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dec_jis7(argv, len) ^ int jis7.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 3 warnings generated. cc -O2 -pipe -c jis8.c jis8.c:67:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void enc_jis8(argv, len) ^ jis8.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dec_jis8(argv, len) ^ int jis8.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 3 warnings generated. cc -O2 -pipe -c sjis.c sjis.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void enc_sjis(argv, len) ^ sjis.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dec_sjis(argv, len) ^ int sjis.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 3 warnings generated. cc -O2 -pipe -c njis.c njis.c:89:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void enc_njis(argv, len) ^ njis.c:164:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ins14(d) ^ int njis.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] njis.c:174:1: warning: non-void function does not return a value [-Wreturn-type] } ^ njis.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dec_njis(argv, len) ^ int njis.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 6 warnings generated. cc -O2 -pipe -c mvol.c mvol.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_mhead(head) ^ mvol.c:135:10: warning: call to undeclared function 'mvol_check'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (mvol_check(name, n)) { ^ mvol.c:107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int mvol_name(name) ^ mvol.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int mvol_ok(fp, n) ^ mvol.c:247:10: warning: call to undeclared function 'calcrc32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] crc32 = calcrc32(buf, l, crc32); ^ mvol.c:248:10: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] crc16 = calcrc(buf, l, crc16); ^ mvol.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mvol_check(name, n) ^ 7 warnings generated. cc -O2 -pipe -c mencode.c mencode.c:35:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] mencode(oflg) ^ int mencode.c:50:15: warning: passing arguments to 'calcline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] size=calcline(jis-3,lsize,0); ^ mencode.c:54:6: warning: call to undeclared function 'encode1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] encode1(oflg); ^ mencode.c:62:8: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] j=read(path,buff,LBUFLEN); ^ mencode.c:63:13: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fcrc16=calcrc(buff,j,fcrc16); ^ mencode.c:64:13: warning: call to undeclared function 'calcrc32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fcrc32=calcrc32(buff,j,fcrc32); ^ mencode.c:72:24: warning: passing arguments to 'calcline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while(mline < calcline(j,xlen2*(j*j+2),1)) ^ mencode.c:78:15: warning: passing arguments to 'calcline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] size=calcline(j,vsize,1)*(vmax-1); ^ mencode.c:79:16: warning: passing arguments to 'calcline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] size+=calcline(j,lsize-vsize*(vmax-1),1); ^ mencode.c:110:19: warning: passing arguments to 'calcline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vline=calcline(jis-3,vsize2,1); ^ mencode.c:118:4: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] j=read(path,buff,j); ^ mencode.c:119:9: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] vcrc16=calcrc(buff,j,vcrc16); ^ mencode.c:142:2: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setcrc(buff, JIS8_L-2); ^ ./ish.h:39:44: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ mencode.c:142:2: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ mencode.c:143:2: warning: call to undeclared function 'enc_jis8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enc_jis8(buff, JIS8_L); ^ mencode.c:146:2: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setcrc(buff, JIS7_L-2); ^ ./ish.h:39:44: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ mencode.c:146:2: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ mencode.c:147:2: warning: call to undeclared function 'enc_jis7'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enc_jis7(buff, JIS7_L); ^ mencode.c:150:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ mencode.c:151:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ mencode.c:152:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ mencode.c:172:5: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] j=read(path,buff+1,vtmp); ^ mencode.c:177:12: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] crc = calcrc(buff+1, j, crc); ^ mencode.c:182:13: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setwrd(buff+j+1, crc); ^ mencode.c:199:2: warning: call to undeclared function 'calcrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setcrc(buff, jis-2); ^ ./ish.h:39:44: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ mencode.c:199:2: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ mencode.c:200:6: warning: passing arguments to 'encd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encd(buff); ^ mencode.c:201:8: warning: passing arguments to 'chksum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chksum(lin-1, jis-2, buff); ^ mencode.c:202:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ mencode.c:205:6: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setcrc(tatesum, jis-2); ^ ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ mencode.c:206:10: warning: passing arguments to 'encd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encd(tatesum); ^ mencode.c:207:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ mencode.c:208:12: warning: passing arguments to 'chksum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chksum(jis-2, jis-2, tatesum); ^ mencode.c:217:6: warning: passing arguments to 'setwrd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setcrc(yokosum, jis-2); ^ ./ish.h:39:33: note: expanded from macro 'setcrc' #define setcrc(argv,len) (setwrd(argv+len,~calcrc(argv,len,0xffff))) ^ mencode.c:218:10: warning: passing arguments to 'encd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encd(yokosum); ^ mencode.c:219:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(obuf); ^ mencode.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mencode(oflg) ^ mencode.c:235:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] long calcline(max,len,sw) ^ mencode.c:25:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] long calcline(); ^ 39 warnings generated. Loading ish ... encode.c(encode.o:(encode1)): warning: strcpy() is almost always misused, please use strlcpy() mvol.c(mvol.o:(mvol_name)): warning: sprintf() is often misused, please use snprintf() done cc -O2 -pipe -o dispish dispish.c dispish.c:96:30: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] printf("= %ld:%02d:%02d>)", tim/3600, i/60, i%60); ~~~ ^~~~~~~~ %d dispish.c:116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void disp_volume(max_division,flag) ^ dispish.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] long filelength(fd) ^ dispish.c:158:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] unsigned char main(argc,argv) ^ dispish.c:158:1: note: change return type to 'int' unsigned char main(argc,argv) ^~~~~~~~~~~~~ int dispish.c:179:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(1); ^ dispish.c:179:2: note: include the header or explicitly provide a declaration for 'exit' dispish.c:196:8: warning: call to undeclared library function 'bcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (bcmp((char *)idblock.id_block_size, (char *)h, 0x20) == 0 && ^ dispish.c:196:8: note: include the header or explicitly provide a declaration for 'bcmp' dispish.c:198:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strncmp(idblock.id_block_id, ID, 96) == 0 && ^ dispish.c:198:8: note: include the header or explicitly provide a declaration for 'strncmp' dispish.c:158:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned char main(argc,argv) ^ dispish.c:217:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 9 warnings generated. >>> Running package in converters/ish at 1714025884.38 ===> converters/ish ===> Faking installation for ish-2.01a5p3 cd /exopi-obj/pobj/ish-2.01a5/ish201a5; /exopi-obj/pobj/ish-2.01a5/bin/install -c -s -m 755 ish dispish /exopi-obj/pobj/ish-2.01a5/fake-amd64/usr/local/bin ===> Building package for ish-2.01a5p3 Create /exopi-cvs/ports/packages/amd64/all/ish-2.01a5p3.tgz Creating package ish-2.01a5p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|****** | 10% checksumming|************ | 20% checksumming|****************** | 30% checksumming|************************ | 40% checksumming|******************************* | 50% checksumming|************************************* | 60% checksumming|******************************************* | 70% checksumming|************************************************* | 80% checksumming|******************************************************* | 90% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 1% archiving|************ | 19% archiving|****************************************************************|100% >>> Running clean in converters/ish at 1714025887.31 ===> converters/ish ===> Cleaning for ish-2.01a5p3 >>> Ended at 1714025888.76 max_stuck=0.00/build=5.81/package=4.09/clean=1.51