>>> 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 1764751243.64 ===> converters/ish ===> Building from scratch ish-2.01a5p3 ===> Verifying specs: c ===> found c.102.2 ===> Checking files for ish-2.01a5p3 `/exopi-cvs/ports/distfiles/ish201a5.tar.gz' is up to date. >> (SHA256) all files: 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 C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 76 | 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] 67 | 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] 75 | 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] 79 | 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] 82 | 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] 96 | if (chkcrc(obuf, l)) { | ^ ./ish.h:38:35: note: expanded from macro 'chkcrc' 38 | #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 C23 [-Wdeprecated-non-prototype] 101 | 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] 103 | 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 C23 [-Wdeprecated-non-prototype] 191 | 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 C23 [-Wdeprecated-non-prototype] 283 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | void hedprn(); | ^ decode.c:309:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 309 | 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] 317 | 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] 324 | 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] 329 | 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] 333 | 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] 335 | 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] 380 | 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] 387 | 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] 391 | 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] 405 | 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] 406 | 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] 409 | 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] 410 | 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] 416 | 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] 417 | 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] 433 | 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] 434 | 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] 441 | 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] 442 | close(fp); | ^ decode.c:447:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 447 | 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] 462 | 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] 472 | 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] 474 | 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] 476 | if(chkcrc(obuf,k) != 0) | ^ ./ish.h:38:35: note: expanded from macro 'chkcrc' 38 | #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] 485 | 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] 487 | if (chkcrc(obuf,k) == 0) | ^ ./ish.h:38:35: note: expanded from macro 'chkcrc' 38 | #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] 532 | if (ecc(err, bad[0], bad[1]) == 0){ | ^ decode.c:536:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 536 | else | ^ decode.c:551:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 551 | 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] 557 | 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] 559 | 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] 561 | 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] 563 | 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 C23 [-Wdeprecated-non-prototype] 551 | 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] 576 | ecc(err, e1, e2) | ^ | int decode.c:602:12: warning: enumeration value 'OJIS' not handled in switch [-Wswitch] 602 | 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 C23 [-Wdeprecated-non-prototype] 576 | 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 C23 [-Wdeprecated-non-prototype] 649 | 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 C23 [-Wdeprecated-non-prototype] 674 | 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] 690 | 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 C23 [-Wdeprecated-non-prototype] 722 | 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 C23 [-Wdeprecated-non-prototype] 740 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | 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 C23 [-Wdeprecated-non-prototype] 776 | 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] 40 | 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] 49 | 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] 54 | 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 C23 [-Wdeprecated-non-prototype] 40 | encode(oflg) | ^ encode.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | 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] 94 | 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] 113 | setcrc(buff, JIS8_L-2); | ^ ./ish.h:39:44: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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] 114 | 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] 117 | setcrc(buff, JIS7_L-2); | ^ ./ish.h:39:44: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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] 118 | 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 C23 [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 121 | 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 C23 [-Wdeprecated-non-prototype] 122 | 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] 140 | 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] 141 | 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 C23 [-Wdeprecated-non-prototype] 145 | 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] 162 | setcrc(buff, jis-2); | ^ ./ish.h:39:44: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] 163 | 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 C23 [-Wdeprecated-non-prototype] 164 | 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 C23 [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 168 | setcrc(tatesum, jis-2); | ^ ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] 169 | 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 C23 [-Wdeprecated-non-prototype] 170 | 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 C23 [-Wdeprecated-non-prototype] 171 | 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 C23 [-Wdeprecated-non-prototype] 180 | setcrc(yokosum, jis-2); | ^ ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] 181 | 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 C23 [-Wdeprecated-non-prototype] 182 | 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 C23 [-Wdeprecated-non-prototype] 63 | 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] 201 | 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] 204 | 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] 207 | 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] 210 | enc_njis(argv,jis); | ^ encode.c:199:12: warning: enumeration value 'OJIS' not handled in switch [-Wswitch] 199 | 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 C23 [-Wdeprecated-non-prototype] 196 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | void chksum(), print(), puttitle(), encd(), | ^ encode.c:249:12: warning: enumeration value 'OJIS' not handled in switch [-Wswitch] 249 | 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 C23 [-Wdeprecated-non-prototype] 390 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | 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 C23 [-Wdeprecated-non-prototype] 398 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | 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 C23 [-Wdeprecated-non-prototype] 423 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | 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] 68 | void main(argc, argv) | ^ ish.c:68:1: note: change return type to 'int' 68 | 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 C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 74 | 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] 114 | 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] 118 | 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] 154 | title = atoi(&argv[0][2]); | ^ ish.c:232:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 232 | else | ^ ish.c:238:5: warning: call to undeclared function 'encode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | 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] 240 | 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] 252 | 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] 272 | 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 C23 [-Wdeprecated-non-prototype] 68 | void main(argc, argv) | ^ cc -O2 -pipe -c jis7.c 11 warnings generated. jis7.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | 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] 89 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 67 | 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] 89 | 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 C23 [-Wdeprecated-non-prototype] cc -O2 -pipe -c sjis.c 3 warnings generated. sjis.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | 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] 216 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 89 | 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] 164 | 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 C23 [-Wdeprecated-non-prototype] njis.c:174:1: warning: non-void function does not return a value [-Wreturn-type] 174 | } | ^ njis.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 73 | 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] 135 | 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 C23 [-Wdeprecated-non-prototype] 107 | 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 C23 [-Wdeprecated-non-prototype] 182 | 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] 247 | 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] 248 | 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 C23 [-Wdeprecated-non-prototype] 269 | 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] 35 | 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 C23 [-Wdeprecated-non-prototype] 50 | 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] 54 | 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] 62 | 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] 63 | 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] 64 | 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 C23 [-Wdeprecated-non-prototype] 72 | 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 C23 [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 110 | 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] 118 | 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] 119 | 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] 142 | setcrc(buff, JIS8_L-2); | ^ ./ish.h:39:44: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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] 143 | 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] 146 | setcrc(buff, JIS7_L-2); | ^ ./ish.h:39:44: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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] 147 | 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 C23 [-Wdeprecated-non-prototype] 150 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 152 | 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] 172 | 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] 177 | 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 C23 [-Wdeprecated-non-prototype] 182 | 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] 199 | setcrc(buff, jis-2); | ^ ./ish.h:39:44: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] 200 | 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 C23 [-Wdeprecated-non-prototype] 201 | 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 C23 [-Wdeprecated-non-prototype] 202 | 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 C23 [-Wdeprecated-non-prototype] 205 | setcrc(tatesum, jis-2); | ^ ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] 206 | 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 C23 [-Wdeprecated-non-prototype] 207 | 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 C23 [-Wdeprecated-non-prototype] 208 | 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 C23 [-Wdeprecated-non-prototype] 217 | setcrc(yokosum, jis-2); | ^ ./ish.h:39:33: note: expanded from macro 'setcrc' 39 | #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 C23 [-Wdeprecated-non-prototype] 218 | 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 C23 [-Wdeprecated-non-prototype] 219 | 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 C23 [-Wdeprecated-non-prototype] 35 | 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 C23 [-Wdeprecated-non-prototype] 235 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | long calcline(); | ^ 39 warnings generated. Loading ish ... ld: warning: ish.c(ish.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: 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] 96 | 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 C23 [-Wdeprecated-non-prototype] 116 | 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 C23 [-Wdeprecated-non-prototype] 150 | long filelength(fd) | ^ dispish.c:158:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 158 | unsigned char main(argc,argv) | ^ dispish.c:158:1: note: change return type to 'int' 158 | 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] 179 | 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] 196 | 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] 198 | 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 C23 [-Wdeprecated-non-prototype] 158 | unsigned char main(argc,argv) | ^ dispish.c:217:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 217 | } | ^ 9 warnings generated. >>> Running package in converters/ish at 1764751248.54 ===> 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|*********** | 17% archiving|****************************************************************|100% >>> Running clean in converters/ish at 1764751251.16 ===> converters/ish ===> Cleaning for ish-2.01a5p3 >>> Ended at 1764751252.14 max_stuck=0.00/build=4.58/package=2.79/clean=1.19