>>> Building on exopi-2 under archivers/zip DIST = [archivers/zip:zip30.tar.gz] FULLPKGNAME = zip-3.0p3 distfiles size=1118845 >>> Running build in archivers/zip at 1764442998.79 ===> archivers/zip ===> Building from scratch zip-3.0p3 ===> Verifying specs: c ===> found c.102.2 ===> Checking files for zip-3.0p3 `/exopi-cvs/ports/distfiles/zip30.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for zip-3.0p3 ===> Patching for zip-3.0p3 ===> Applying OpenBSD patch patch-match_S Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Do not use i386 non-PIC assembly code. | |Index: match.S |--- match.S.orig |+++ match.S -------------------------- Patching file match.S using Plan A... Hunk #1 succeeded at 18. done ===> Applying OpenBSD patch patch-unix_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- unix/configure.orig Fri Dec 12 22:58:30 2008 |+++ unix/configure Fri Dec 12 22:59:38 2008 -------------------------- Patching file unix/configure using Plan A... Hunk #1 succeeded at 98. Hunk #2 succeeded at 109. Hunk #3 succeeded at 242. done ===> Applying OpenBSD patch patch-unix_unix_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- unix/unix.c.orig Fri Dec 12 23:07:25 2008 |+++ unix/unix.c Fri Dec 12 23:08:04 2008 -------------------------- Patching file unix/unix.c using Plan A... Hunk #1 succeeded at 344. Hunk #2 succeeded at 570. Hunk #3 succeeded at 695. done ===> Applying OpenBSD patch patch-zipnote_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix applying edits via zipnote. From upstream, at least according to | |https://www.linuxquestions.org/questions/linux-software-2/problems-with-zipnote-writing-to-files-4175502552/ | |Index: zipnote.c |--- zipnote.c.orig |+++ zipnote.c -------------------------- Patching file zipnote.c using Plan A... Hunk #1 succeeded at 661. 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 zip-3.0p3 ===> Configuring for zip-3.0p3 ===> Building for zip-3.0p3 sh unix/configure "cc" "-O2 -pipe -I. -DUNIX" "" Check C compiler type (optimization options) GNU C () Check bzip2 support Check for bzip2 in bzip2 directory Check if OS already has bzip2 library installed -- Either bzlib.h or libbz2.a not found - no bzip2 Check for the C preprocessor Check if we can use asm code Check for ANSI options Check for prototypes Check the handling of const Check for time_t Check for size_t Check for off_t Check size of UIDs and GIDs (Now zip stores variable size UIDs/GIDs using a new extra field. This tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage should also be used for backward compatibility.) s.st_uid is 4 bytes s.st_gid is 4 bytes -- UID not 2 bytes - disabling old 16-bit UID/GID support Check for Large File Support off_t is 8 bytes -- yes we have Large File Support! Check for wide char support -- have wchar_t - enabling Unicode support Check for gcc no-builtin flag Check for rmdir Check for strchr Check for strrchr Check for rename Check for mktemp Check for mktime Check for mkstemp Check for memset Check for memmove Check for strerror Check for errno declaration Check for directory libraries Check for readlink Check for directory include file Check for nonexistent include files Check for term I/O include file Check for valloc Check for /usr/local/bin and /usr/local/man Check for OS-specific flags Check for symbolic links eval /usr/bin/make -f unix/Makefile zips `cat flags` cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c zip.c:239:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | local int finish(e) | ^ zip.c:330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | void ziperr(c, h) | ^ zip.c:440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | void error(h) | ^ zip.c:448:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | local void handler(s) | ^ zip.c:466:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | void zipmessage_nl(a, nl) | ^ zip.c:505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | void zipmessage(a, b) | ^ zip.c:526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | void zipwarn(a, b) | ^ zip.c:1031:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1031 | printf(text[i]); | ^~~~~~~ zip.c:1031:12: note: treat the string as an argument to avoid this 1031 | printf(text[i]); | ^ | "%s", zip.c:1228:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1228 | printf(cryptnote[i]); | ^~~~~~~~~~~~ zip.c:1228:12: note: treat the string as an argument to avoid this 1228 | printf(cryptnote[i]); | ^ | "%s", zip.c:1282:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | local int check_unzip_version(unzippath) | ^ zip.c:1326:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | local void check_zipfile(zipname, zippath) | ^ zip.c:1531:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | local int add_filter(flag, pattern) | ^ zip.c:1646:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | local long add_name(filearg) | ^ zip.c:1786:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | int encr_passwd(modeflag, pwbuf, size, zfn) | ^ zip.c:1825:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | int rename_split(temp_name, out_path) | ^ zip.c:1845:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | int set_filetype(out_path) | ^ zip.c:2119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | int main(argc, argv) | ^ 17 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c zipfile.c:243:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | local int zqcmp(a, b) | ^ zipfile.c:255:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | local int zuqcmp(a, b) | ^ zipfile.c:275:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | local int rqcmp(a, b) | ^ zipfile.c:285:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | local int zbcmp(n, z) | ^ zipfile.c:295:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | local int zubcmp(n, z) | ^ zipfile.c:333:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | struct zlist far *zsearch(n) | ^ zipfile.c:361:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | char *ziptyp(s) | ^ zipfile.c:469:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | local void write_ulong_to_mem(uValue, pPtr) | ^ zipfile.c:479:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | local void write_int64_to_mem(l64Value,pPtr) | ^ zipfile.c:492:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | local void write_string_to_mem(strValue, pPtr) | ^ zipfile.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | local void append_ulong_to_mem(uValue, pPtr, offset, blocksize) | ^ zipfile.c:607:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | local void append_int64_to_mem(l64Value, pPtr, offset, blocksize) | ^ zipfile.c:636:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | local void append_string_to_mem(strValue, strLength, pPtr, offset, blocksize) | ^ zipfile.c:715:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | char *copy_nondup_extra_fields(oldExtra, oldExtraLen, newExtra, newExtraLen, newLen) | ^ zipfile.c:783:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | local void read_Unicode_Path_entry(pZipListEntry) | ^ zipfile.c:887:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | local void read_Unicode_Path_local_entry(pZipListEntry) | ^ zipfile.c:997:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | local void adjust_zip_central_entry(pZipListEntry) | ^ zipfile.c:1045:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | local int adjust_zip_local_entry(pZipListEntry) | ^ zipfile.c:1080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | local int add_central_zip64_extra_field(pZipListEntry) | ^ zipfile.c:1322:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | local int add_local_zip64_extra_field(pZEntry) | ^ zipfile.c:1416:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | local int add_Unicode_Path_local_extra_field(pZEntry) | ^ zipfile.c:1548:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | local int add_Unicode_Path_cen_extra_field(pZEntry) | ^ zipfile.c:1692:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | zoff_t ffile_size( file) | ^ zipfile.c:1766:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | local void zipoddities(z) | ^ zipfile.c:2159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2159 | int readlocal(localz, z) | ^ zipfile.c:2955:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2955 | local int find_next_signature(f) | ^ zipfile.c:3034:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3034 | local int find_signature(f, signature) | ^ zipfile.c:3080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3080 | local int is_signature(sig1, sig2) | ^ zipfile.c:3128:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3128 | local int at_signature(f, signature) | ^ zipfile.c:5271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5271 | int putlocal(z, rewrite) | ^ zipfile.c:5509:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5509 | int putextended(z) | ^ zipfile.c:5610:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5610 | int putcentral(z) | ^ zipfile.c:6003:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6003 | int zipcopy(z) | ^ zipfile.c:6544:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6544 | local int ef_scan_ut_time(ef_buf, ef_len, ef_is_cent, z_utim) | ^ zipfile.c:6661:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6661 | int get_ef_ut_ztime(z, z_utim) | ^ zipfile.c:6685:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6685 | local void cutpath(p, delim) | ^ 36 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c zipup.c:223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | int is_seekable(y) | ^ zipup.c:243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | int percent(n, m) | ^ zipup.c:303:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | local int suffixes(a, s) | ^ zipup.c:388:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | int zipup(z) | ^ zipup.c:1149:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | local unsigned file_read(buf, size) | ^ zipup.c:1386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | void flush_outbuf(o_buf, o_idx) | ^ zipup.c:1417:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | local zoff_t filecompress(z_entry, cmpr_method) | ^ 7 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.c fileio.c:105:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | char *getnam(fp) | ^ fileio.c:147:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | struct flist far *fexpel(f) | ^ fileio.c:181:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | local int fqcmp(a, b) | ^ fileio.c:189:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | local int fqcmpz(a, b) | ^ fileio.c:197:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | char *last(p, c) | ^ fileio.c:254:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | char *msname(n) | ^ fileio.c:311:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | wchar_t *msnamew(nw) | ^ fileio.c:369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | int proc_archive_name(n, caseflag) | ^ fileio.c:495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | int filter(name, casesensitive) | ^ fileio.c:851:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | int newname(name, isdir, casesensitive) | ^ fileio.c:1074:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | ulg dostime(y, n, d, h, m, s) | ^ fileio.c:1091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | ulg unix2dostime(t) | ^ fileio.c:1112:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | int issymlnk(a) | ^ fileio.c:1152:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | time_t dos2unixtime(dostime) | ^ fileio.c:1180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | int destroy(f) | ^ fileio.c:1188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | int replace(d, s) | ^ fileio.c:1290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | int getfileattr(f) | ^ fileio.c:1306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | int setfileattr(f, a) | ^ fileio.c:1327:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | char *tempname(zip) | ^ fileio.c:1503:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | int fcopy(f, g, n) | ^ fileio.c:1560:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | int bfcopy(n) | ^ fileio.c:2033:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2033 | int ask_for_split_read_path(current_disk) | ^ fileio.c:2279:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2279 | int ask_for_split_write_path(current_disk) | ^ fileio.c:2413:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2413 | char *get_in_split_path(base_path, disk_number) | ^ fileio.c:2484:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2484 | char *get_out_split_path(base_path, disk_number) | ^ fileio.c:2545:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2545 | int close_split(disk_number, tempfile, temp_name) | ^ fileio.c:2568:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2568 | size_t bfwrite(buffer, size, count, mode) | ^ fileio.c:2860:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2860 | local int utf8_char_bytes(utf8) | ^ fileio.c:2902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2902 | long ucs4_char_from_utf8(utf8) | ^ fileio.c:2929:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | local int utf8_from_ucs4_char(utf8buf, ch) | ^ fileio.c:2968:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2968 | local int utf8_to_ucs4_string(utf8, ucs4buf, buflen) | ^ fileio.c:2996:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2996 | local int ucs4_string_to_utf8(ucs4, utf8buf, buflen) | ^ fileio.c:3100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3100 | int is_ascii_string(mbstring) | ^ fileio.c:3118:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3118 | char *local_to_utf8_string(local_string) | ^ fileio.c:3150:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3150 | char *wide_char_to_escape_string(wide_char) | ^ fileio.c:3249:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3249 | char *local_to_escape_string(local_string) | ^ fileio.c:3275:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3275 | char *wide_to_local_string(wide_string) | ^ fileio.c:3354:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3354 | char *wide_to_escape_string(wide_string) | ^ fileio.c:3395:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3395 | char *local_to_display_string(local_string) | ^ fileio.c:3465:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3465 | char *utf8_to_local_string(utf8_string) | ^ fileio.c:3476:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3476 | char *utf8_to_escape_string(utf8_string) | ^ fileio.c:3487:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3487 | zwchar *local_to_wide_string(local_string) | ^ fileio.c:3542:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3542 | char *wide_to_utf8_string(wide_string) | ^ fileio.c:3563:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3563 | zwchar *utf8_to_wide_string(utf8_string) | ^ fileio.c:3739:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3739 | local int optionerr(buf, err, optind, islong) | ^ fileio.c:3775:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3775 | char **copy_args(args, max_args) | ^ fileio.c:3812:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3812 | int free_args(args) | ^ fileio.c:3839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3839 | int insert_arg(pargs, arg, at_arg, free_args) | ^ fileio.c:3933:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3933 | local unsigned long get_shortopt(args, argnum, optchar, negated, value, | ^ fileio.c:4170:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4170 | local unsigned long get_longopt(args, argnum, optchar, negated, value, | ^ fileio.c:4548:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4548 | unsigned long get_option(pargs, argc, argnum, optchar, value, | ^ 51 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c util.c:78:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | int fseekable( fp) | ^ util.c:92:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | char *isshexp(p) | ^ util.c:274:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | local int recmatch(p, s, cs) | ^ util.c:489:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | int shmatch(p, s, cs) | ^ util.c:564:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | zvoid far **search(b, a, n, cmp) | ^ util.c:664:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | int namecmp(string1, string2) | ^ util.c:805:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | void envargs(Pargc, Pargv, envstr, envstr2) | ^ util.c:907:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | local int count_args(s) | ^ util.c:966:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | void expand_args(argcp, argvp) | ^ util.c:1020:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | int is_text_buf(buf_ptr, buf_size) | ^ util.c:1103:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | char *zip_fzofft( val, pre, post) | ^ util.c:1152:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | char *zip_fuzofft( val, pre, post) | ^ util.c:1201:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | int DisplayNumString(file, i) | ^ util.c:1223:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | uzoff_t ReadNumString( numstring ) | ^ util.c:1287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | int WriteNumString( num, outstring ) | ^ util.c:1413:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | int abbrevmatch (matchstring, abbrev, case_sensitive, minmatch) | ^ 16 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H globals.c cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crypt.c crypt.c:139:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | int update_keys(__G__ c) | ^ ./crypt.h:110:28: note: expanded from macro 'update_keys' 110 | # define update_keys zp_update_keys | ^ crypt.c:159:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | void init_keys(__G__ passwd) | ^ ./crypt.h:111:28: note: expanded from macro 'init_keys' 111 | # define init_keys zp_init_keys | ^ crypt.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | void crypthead(passwd, crc) | ^ crypt.c:455:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | unsigned zfwrite(buf, item_size, nb) | ^ 4 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c ttyio.c:303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | void Echoff(__G__ f) | ^ ttyio.c:599:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | char *getp(__G__ m, p, n) | ^ 2 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c unix/unix.c:96:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | local char *readd(d) | ^ unix/unix.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 procname(n, caseflag) | ^ unix/unix.c:228:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | char *ex2in(x, isdir, pdosflag) | ^ unix/unix.c:285:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | char *in2ex(n) | ^ unix/unix.c:305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | void stamp(f, d) | ^ unix/unix.c:327:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | ulg filetime(f, a, n, t) | ^ unix/unix.c:438:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | int set_new_unix_extra_field(z, s) | ^ unix/unix.c:565:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | int set_extra_field(z, z_utim) | ^ unix/unix.c:689:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | int deletedir(d) | ^ 9 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crc32.c crc32.c:680:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | ulg crc32(crc, buf, len) | ^ 1 warning generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zbz2err.c cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H deflate.c deflate.c:303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | void lm_init (pack_level, flags) | ^ deflate.c:416:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | int longest_match(cur_match) | ^ 2 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H trees.c trees.c:472:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | void ct_init(attr, method) | ^ trees.c:603:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | local void pqdownheap(tree, k) | ^ trees.c:639:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | local void gen_bitlen(desc) | ^ trees.c:724:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | local void gen_codes (tree, max_code) | ^ trees.c:765:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | local void build_tree(desc) | ^ trees.c:852:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | local void scan_tree (tree, max_code) | ^ trees.c:896:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | local void send_tree (tree, max_code) | ^ trees.c:979:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | local void send_all_trees(lcodes, dcodes, blcodes) | ^ trees.c:1014:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | uzoff_t flush_block(buf, stored_len, eof) | ^ trees.c:1144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | int ct_tally (dist, lc) | ^ trees.c:1197:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | local void compress_block(ltree, dtree) | ^ trees.c:1301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | void bi_init (tgt_buf, tgt_size, flsh_allowed) | ^ trees.c:1323:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | local void send_bits(value, length) | ^ trees.c:1351:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | local unsigned bi_reverse(code, len) | ^ trees.c:1425:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | local void copy_block(block, len, header) | ^ 15 warnings generated. cc -o zip zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o unix.o crc32.o zbz2err.o deflate.o trees.o ld: warning: zipfile.c(zipfile.o:(ziptyp)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: zipfile.c(zipfile.o:(readlocal)): warning: sprintf() is often misused, please use snprintf() ld: warning: unix.c(unix.o:(procname)): warning: strcat() is almost always misused, please use strlcat() ld: warning: crypt.c(crypt.o:(crypthead)): warning: rand() may return deterministic values, is that what you want? cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipcloak.c zipcloak.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | int set_filetype(out_path) | ^ zipcloak.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | int rename_split(temp_name, out_path) | ^ zipcloak.c:102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | void zipmessage_nl(a, nl) | ^ zipcloak.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | void zipmessage(a, b) | ^ zipcloak.c:137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | void ziperr(code, msg) | ^ zipcloak.c:155:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | void zipwarn(msg1, msg2) | ^ zipcloak.c:166:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | local void handler(sig) | ^ zipcloak.c:308:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | int main(argc, argv) | ^ 8 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o zipfile_.o zipfile.c zipfile.c:243:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | local int zqcmp(a, b) | ^ zipfile.c:255:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | local int zuqcmp(a, b) | ^ zipfile.c:361:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | char *ziptyp(s) | ^ zipfile.c:469:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | local void write_ulong_to_mem(uValue, pPtr) | ^ zipfile.c:479:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | local void write_int64_to_mem(l64Value,pPtr) | ^ zipfile.c:492:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | local void write_string_to_mem(strValue, pPtr) | ^ zipfile.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | local void append_ulong_to_mem(uValue, pPtr, offset, blocksize) | ^ zipfile.c:607:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | local void append_int64_to_mem(l64Value, pPtr, offset, blocksize) | ^ zipfile.c:636:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | local void append_string_to_mem(strValue, strLength, pPtr, offset, blocksize) | ^ zipfile.c:715:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | char *copy_nondup_extra_fields(oldExtra, oldExtraLen, newExtra, newExtraLen, newLen) | ^ zipfile.c:783:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | local void read_Unicode_Path_entry(pZipListEntry) | ^ zipfile.c:887:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | local void read_Unicode_Path_local_entry(pZipListEntry) | ^ zipfile.c:997:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | local void adjust_zip_central_entry(pZipListEntry) | ^ zipfile.c:1045:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | local int adjust_zip_local_entry(pZipListEntry) | ^ zipfile.c:1080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | local int add_central_zip64_extra_field(pZipListEntry) | ^ zipfile.c:1322:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | local int add_local_zip64_extra_field(pZEntry) | ^ zipfile.c:1416:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | local int add_Unicode_Path_local_extra_field(pZEntry) | ^ zipfile.c:1548:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | local int add_Unicode_Path_cen_extra_field(pZEntry) | ^ zipfile.c:1692:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | zoff_t ffile_size( file) | ^ zipfile.c:2159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2159 | int readlocal(localz, z) | ^ zipfile.c:2955:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2955 | local int find_next_signature(f) | ^ zipfile.c:3034:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3034 | local int find_signature(f, signature) | ^ zipfile.c:3080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3080 | local int is_signature(sig1, sig2) | ^ zipfile.c:3128:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3128 | local int at_signature(f, signature) | ^ zipfile.c:5271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5271 | int putlocal(z, rewrite) | ^ zipfile.c:5509:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5509 | int putextended(z) | ^ zipfile.c:5610:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5610 | int putcentral(z) | ^ zipfile.c:6003:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6003 | int zipcopy(z) | ^ 28 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o fileio_.o fileio.c fileio.c:1180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | int destroy(f) | ^ fileio.c:1188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | int replace(d, s) | ^ fileio.c:1290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | int getfileattr(f) | ^ fileio.c:1306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | int setfileattr(f, a) | ^ fileio.c:1327:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | char *tempname(zip) | ^ fileio.c:1503:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | int fcopy(f, g, n) | ^ fileio.c:1560:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | int bfcopy(n) | ^ fileio.c:2033:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2033 | int ask_for_split_read_path(current_disk) | ^ fileio.c:2279:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2279 | int ask_for_split_write_path(current_disk) | ^ fileio.c:2413:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2413 | char *get_in_split_path(base_path, disk_number) | ^ fileio.c:2484:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2484 | char *get_out_split_path(base_path, disk_number) | ^ fileio.c:2545:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2545 | int close_split(disk_number, tempfile, temp_name) | ^ fileio.c:2568:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2568 | size_t bfwrite(buffer, size, count, mode) | ^ fileio.c:2860:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2860 | local int utf8_char_bytes(utf8) | ^ fileio.c:2902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2902 | long ucs4_char_from_utf8(utf8) | ^ fileio.c:2929:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | local int utf8_from_ucs4_char(utf8buf, ch) | ^ fileio.c:2968:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2968 | local int utf8_to_ucs4_string(utf8, ucs4buf, buflen) | ^ fileio.c:2996:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2996 | local int ucs4_string_to_utf8(ucs4, utf8buf, buflen) | ^ fileio.c:3100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3100 | int is_ascii_string(mbstring) | ^ fileio.c:3118:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3118 | char *local_to_utf8_string(local_string) | ^ fileio.c:3150:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3150 | char *wide_char_to_escape_string(wide_char) | ^ fileio.c:3249:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3249 | char *local_to_escape_string(local_string) | ^ fileio.c:3275:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3275 | char *wide_to_local_string(wide_string) | ^ fileio.c:3354:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3354 | char *wide_to_escape_string(wide_string) | ^ fileio.c:3395:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3395 | char *local_to_display_string(local_string) | ^ fileio.c:3465:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3465 | char *utf8_to_local_string(utf8_string) | ^ fileio.c:3476:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3476 | char *utf8_to_escape_string(utf8_string) | ^ fileio.c:3487:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3487 | zwchar *local_to_wide_string(local_string) | ^ fileio.c:3542:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3542 | char *wide_to_utf8_string(wide_string) | ^ fileio.c:3563:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3563 | zwchar *utf8_to_wide_string(utf8_string) | ^ fileio.c:3739:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3739 | local int optionerr(buf, err, optind, islong) | ^ fileio.c:3775:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3775 | char **copy_args(args, max_args) | ^ fileio.c:3812:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3812 | int free_args(args) | ^ fileio.c:3839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3839 | int insert_arg(pargs, arg, at_arg, free_args) | ^ fileio.c:3933:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3933 | local unsigned long get_shortopt(args, argnum, optchar, negated, value, | ^ fileio.c:4170:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4170 | local unsigned long get_longopt(args, argnum, optchar, negated, value, | ^ fileio.c:4548:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4548 | unsigned long get_option(pargs, argc, argnum, optchar, value, | ^ 37 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o util_.o util.c util.c:664:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | int namecmp(string1, string2) | ^ util.c:1103:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | char *zip_fzofft( val, pre, post) | ^ util.c:1152:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | char *zip_fuzofft( val, pre, post) | ^ util.c:1201:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | int DisplayNumString(file, i) | ^ util.c:1223:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | uzoff_t ReadNumString( numstring ) | ^ util.c:1287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | int WriteNumString( num, outstring ) | ^ util.c:1413:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | int abbrevmatch (matchstring, abbrev, case_sensitive, minmatch) | ^ 7 warnings generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o unix_.o unix/unix.c cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crc32_.o crc32.c crc32.c:680:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | ulg crc32(crc, buf, len) | ^ 1 warning generated. cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crypt_.o crypt.c crypt.c:139:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | int update_keys(__G__ c) | ^ ./crypt.h:110:28: note: expanded from macro 'update_keys' 110 | # define update_keys zp_update_keys | ^ crypt.c:159:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | void init_keys(__G__ passwd) | ^ ./crypt.h:111:28: note: expanded from macro 'init_keys' 111 | # define init_keys zp_init_keys | ^ crypt.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | void crypthead(passwd, crc) | ^ crypt.c:246:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | int zipcloak(z, passwd) | ^ crypt.c:333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | int zipbare(z, passwd) | ^ 5 warnings generated. cc -o zipcloak zipcloak.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o crypt_.o ttyio.o ld: warning: zipfile.c(zipfile_.o:(ziptyp)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: zipfile.c(zipfile_.o:(readlocal)): warning: sprintf() is often misused, please use snprintf() ld: warning: zipfile.c(zipfile_.o:(readzipfile)): warning: strcat() is almost always misused, please use strlcat() ld: warning: crypt.c(crypt_.o:(crypthead)): warning: rand() may return deterministic values, is that what you want? cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipnote.c zipnote.c:72:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | int set_filetype(out_path) | ^ zipnote.c:101:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | int rename_split(temp_name, out_path) | ^ zipnote.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | void zipmessage_nl(a, nl) | ^ zipnote.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | void zipmessage(a, b) | ^ zipnote.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | void ziperr(c, h) | ^ zipnote.c:174:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | local void handler(s) | ^ zipnote.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | void zipwarn(a, b) | ^ zipnote.c:313:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | local void putclean(s, n) | ^ zipnote.c:338:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | local char *zgetline(buf, size) | ^ zipnote.c:361:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | local int catalloc(a, s) | ^ zipnote.c:384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | int main(argc, argv) | ^ 11 warnings generated. cc -o zipnote zipnote.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o ld: warning: zipfile.c(zipfile_.o:(ziptyp)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: zipfile.c(zipfile_.o:(readlocal)): warning: sprintf() is often misused, please use snprintf() ld: warning: zipfile.c(zipfile_.o:(readzipfile)): warning: strcat() is almost always misused, please use strlcat() cc -c -O2 -pipe -I. -DUNIX -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipsplit.c zipsplit.c:96:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | int set_filetype(out_path) | ^ zipsplit.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | int rename_split(temp_name, out_path) | ^ zipsplit.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 | void zipmessage_nl(a, nl) | ^ zipsplit.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | void zipmessage(a, b) | ^ zipsplit.c:183:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | local zvoid *talloc(s) | ^ zipsplit.c:196:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | local void tfree(p) | ^ zipsplit.c:224:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | void ziperr(c, h) | ^ zipsplit.c:249:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | local void handler(s) | ^ zipsplit.c:261:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | void zipwarn(a, b) | ^ zipsplit.c:356:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | local extent simple(a, n, c, d) | ^ zipsplit.c:384:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | local int descmp(a, b) | ^ zipsplit.c:393:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | local extent greedy(a, n, c, d) | ^ zipsplit.c:502:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | int main(argc, argv) | ^ 13 warnings generated. cc -o zipsplit zipsplit.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o ld: warning: fileio.c(fileio_.o:(tempname)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: zipfile.c(zipfile_.o:(readlocal)): warning: sprintf() is often misused, please use snprintf() ld: warning: util.c(util_.o:(zip_fzofft)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in archivers/zip at 1764443013.34 ===> archivers/zip ===> Faking installation for zip-3.0p3 /exopi-obj/pobj/zip-3.0/bin/install -c -s -m 755 /exopi-obj/pobj/zip-3.0/zip30/zip /exopi-obj/pobj/zip-3.0/fake-amd64/usr/local/bin /exopi-obj/pobj/zip-3.0/bin/install -c -m 644 /exopi-obj/pobj/zip-3.0/zip30/man/zip.1 /exopi-obj/pobj/zip-3.0/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/zip-3.0/bin/install -c -s -m 755 /exopi-obj/pobj/zip-3.0/zip30/zipcloak /exopi-obj/pobj/zip-3.0/fake-amd64/usr/local/bin /exopi-obj/pobj/zip-3.0/bin/install -c -m 644 /exopi-obj/pobj/zip-3.0/zip30/man/zipcloak.1 /exopi-obj/pobj/zip-3.0/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/zip-3.0/bin/install -c -s -m 755 /exopi-obj/pobj/zip-3.0/zip30/zipnote /exopi-obj/pobj/zip-3.0/fake-amd64/usr/local/bin /exopi-obj/pobj/zip-3.0/bin/install -c -m 644 /exopi-obj/pobj/zip-3.0/zip30/man/zipnote.1 /exopi-obj/pobj/zip-3.0/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/zip-3.0/bin/install -c -s -m 755 /exopi-obj/pobj/zip-3.0/zip30/zipsplit /exopi-obj/pobj/zip-3.0/fake-amd64/usr/local/bin /exopi-obj/pobj/zip-3.0/bin/install -c -m 644 /exopi-obj/pobj/zip-3.0/zip30/man/zipsplit.1 /exopi-obj/pobj/zip-3.0/fake-amd64/usr/local/man/man1 ===> Building package for zip-3.0p3 Create /exopi-cvs/ports/packages/amd64/all/zip-3.0p3.tgz Creating package zip-3.0p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 6% checksumming|******** | 13% checksumming|*********** | 19% checksumming|*************** | 25% checksumming|******************* | 31% checksumming|*********************** | 38% checksumming|*************************** | 44% checksumming|******************************* | 50% checksumming|********************************** | 56% checksumming|************************************** | 63% checksumming|****************************************** | 69% checksumming|********************************************** | 75% checksumming|************************************************** | 81% checksumming|***************************************************** | 88% checksumming|********************************************************* | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*********************** | 36% archiving|********************************** | 53% archiving|******************************************* | 68% archiving|****************************************************** | 84% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/zip-3.0p3.tgz >>> Running clean in archivers/zip at 1764443015.33 ===> archivers/zip ===> Cleaning for zip-3.0p3 >>> Ended at 1764443015.63 max_stuck=0.58/build=14.55/package=2.00/clean=0.32