>>> Building on exopi-5 under archivers/unzip DIST = [archivers/unzip:unzip60.tar.gz] FULLPKGNAME = unzip-6.0p17 distfiles size=1376845 >>> Running build in archivers/unzip at 1711445306.44 ===> archivers/unzip ===> Building from scratch unzip-6.0p17 ===> Verifying specs: c ===> found c.99.0 ===> Checking files for unzip-6.0p17 `/exopi-cvs/ports/distfiles/unzip60.tar.gz' is up to date. >> (SHA256) unzip60.tar.gz: OK ===> Extracting for unzip-6.0p17 ===> Patching for unzip-6.0p17 ===> Applying OpenBSD patch patch-crypt_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix CVE-2015-7696: upstream fix for heap overflow | https://bugs.debian.org/802162 | https://bugzilla.redhat.com/show_bug.cgi?id=1260944 | https://bugzilla.redhat.com/attachment.cgi?id=1073002 | |--- crypt.c.orig Fri Jan 5 16:47:36 2007 |+++ crypt.c Tue Mar 21 16:10:27 2017 -------------------------- Patching file crypt.c using Plan A... Hunk #1 succeeded at 465. done ===> Applying OpenBSD patch patch-extract_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix CVE-2015-7696: prevent unsigned overflow on invalid input | https://bugzilla.redhat.com/attachment.cgi?id=1075942 | https://bugzilla.redhat.com/show_bug.cgi?id=1260944 |Fix CVE-2014-8139: CRC32 verification heap-based overflow | https://bugzilla.redhat.com/show_bug.cgi?id=1174844 | https://bugzilla.redhat.com/attachment.cgi?id=989833 |Fix CVE-2014-8140: out-of-bounds write issue in test_compr_eb() |Fix CVE-2014-9636: out-of-bounds read/write in test_compr_eb() |Fix CVE-2015-7697: infinite loop when extracting empty bzip2 data | https://bugs.debian.org/802160 | https://bugzilla.redhat.com/show_bug.cgi?id=1260944 | https://bugzilla.redhat.com/attachment.cgi?id=1073339 |Fix CVE-2019-13232: a zip bomb using overlapped entries |https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c |https://github.com/madler/unzip/commit/6d351831be705cc26d897db44f878a978f4138fc | |Index: extract.c |--- extract.c.orig |+++ extract.c -------------------------- Patching file extract.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 298. Hunk #3 succeeded at 321. Hunk #4 succeeded at 495. Hunk #5 succeeded at 748. Hunk #6 succeeded at 1218. Hunk #7 succeeded at 1418. Hunk #8 succeeded at 1763. Hunk #9 succeeded at 2176. Hunk #10 succeeded at 2235. Hunk #11 succeeded at 2371. Hunk #12 succeeded at 2438. Hunk #13 succeeded at 2938. done ===> Applying OpenBSD patch patch-fileio_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix CVE-2014-8141: out-of-bounds read issues in getZip64Data() |Fix CVE-2018-1000035: buffer overflow for password-protected archives |https://security-tracker.debian.org/tracker/CVE-2018-1000035 |Fix CVE-2019-13232: a zip bomb using overlapped entries |https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c |Fix CVE-2022-0529 and CVE-2022-0530 |https://bugs.debian.org/1010355 | |Index: fileio.c |--- fileio.c.orig |+++ fileio.c -------------------------- Patching file fileio.c using Plan A... Hunk #1 succeeded at 171. Hunk #2 succeeded at 534. Hunk #3 succeeded at 1586. Hunk #4 succeeded at 1598. Hunk #5 succeeded at 2313. Hunk #6 succeeded at 2363. done ===> Applying OpenBSD patch patch-funzip_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- funzip.c.orig Wed Oct 7 12:11:04 2015 |+++ funzip.c Wed Oct 7 12:12:57 2015 -------------------------- Patching file funzip.c using Plan A... Hunk #1 succeeded at 294. done ===> Applying OpenBSD patch patch-globals_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix CVE-2019-13232: a zip bomb using overlapped entries |https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c | |--- globals.c.orig |+++ globals.c -------------------------- Patching file globals.c using Plan A... Hunk #1 succeeded at 181. done ===> Applying OpenBSD patch patch-globals_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix CVE-2019-13232: a zip bomb using overlapped entries |https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c | |--- globals.h.orig |+++ globals.h -------------------------- Patching file globals.h using Plan A... Hunk #1 succeeded at 260. done ===> Applying OpenBSD patch patch-list_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix CVE-2018-18384: increase size of cfactorstr array to avoid buffer overflow | https://bugs.debian.org/741384 | https://sourceforge.net/p/infozip/bugs/53/ |Fix CVE-2014-9913: buffer overflow in unzip | https://sourceforge.net/p/infozip/bugs/27/ | https://bugs.debian.org/847485 | https://launchpad.net/bugs/387350 | |Index: list.c |--- list.c.orig |+++ list.c -------------------------- Patching file list.c using Plan A... Hunk #1 succeeded at 97. Hunk #2 succeeded at 339. Hunk #3 succeeded at 389. Hunk #4 succeeded at 471. done ===> Applying OpenBSD patch patch-process_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix: handle the PKWare verification bit of internal attributes | https://bugs.debian.org/630078 |Fix: extraction of symlinks |Fix CVE-2014-8141: out-of-bounds read issues in getZip64Data() |Fix: do not ignore extra fields containing Unix Timestamps | https://bugs.debian.org/842993 |Fix: restore uid and gid information when requested | https://bugs.debian.org/689212 |Fix CVE-2019-13232: a zip bomb using overlapped entries |https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c |https://github.com/madler/unzip/commit/6d351831be705cc26d897db44f878a978f4138fc |Fix CVE-2022-0529 and CVE-2022-0530 |https://bugs.debian.org/1010355 | |Index: process.c |--- process.c.orig |+++ process.c -------------------------- Patching file process.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 222. Hunk #3 succeeded at 639. Hunk #4 succeeded at 1410. Hunk #5 succeeded at 1548. Hunk #6 succeeded at 1744. Hunk #7 succeeded at 1773. Hunk #8 succeeded at 1916. Hunk #9 succeeded at 2049. Hunk #10 succeeded at 2102. Hunk #11 succeeded at 2507. Hunk #12 succeeded at 2555. Hunk #13 succeeded at 2628. Hunk #14 succeeded at 2964. Hunk #15 succeeded at 2986. Hunk #16 succeeded at 2999. Hunk #17 succeeded at 3008. done ===> Applying OpenBSD patch patch-ttyio_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |pledge("tty") prevents tty operations on non-ttys. | |--- ttyio.c.orig Sat Jan 5 21:24:16 2008 |+++ ttyio.c Wed Apr 12 00:12:10 2017 -------------------------- Patching file ttyio.c using Plan A... Hunk #1 succeeded at 309. Hunk #2 succeeded at 447. Hunk #3 succeeded at 463. Hunk #4 succeeded at 478. done ===> Applying OpenBSD patch patch-unix_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- unix/Makefile.orig Sun Jan 18 23:41:18 2009 |+++ unix/Makefile Tue Dec 3 21:58:13 2013 -------------------------- Patching file unix/Makefile using Plan A... Hunk #1 succeeded at 42. Hunk #2 succeeded at 64. Hunk #3 succeeded at 448. Hunk #4 succeeded at 595. done ===> Applying OpenBSD patch patch-unix_unxcfg_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- unix/unxcfg.h.orig Thu Apr 16 20:36:12 2009 |+++ unix/unxcfg.h Tue Dec 3 22:06:23 2013 -------------------------- Patching file unix/unxcfg.h using Plan A... Hunk #1 succeeded at 111. done ===> Applying OpenBSD patch patch-unix_zipgrep Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: unix/zipgrep | |CVE-2022-1271 |Prevent arbitrary-file-write vulnerability if an archive member |name contains shell wild cards that expand to an existing pathname |with an exploit pattern. | |--- unix/zipgrep.orig |+++ unix/zipgrep -------------------------- Patching file unix/zipgrep using Plan A... Hunk #1 succeeded at 70. done ===> Applying OpenBSD patch patch-unzip_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: unzip.c |--- unzip.c.orig |+++ unzip.c -------------------------- Patching file unzip.c using Plan A... Hunk #1 succeeded at 65. Hunk #2 succeeded at 717. done ===> Applying OpenBSD patch patch-unzip_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix CVE-2019-13232: a zip bomb using overlapped entries |https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c | |Index: unzip.h |--- unzip.h.orig |+++ unzip.h -------------------------- Patching file unzip.h using Plan A... Hunk #1 succeeded at 645. done ===> Applying OpenBSD patch patch-unzpriv_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix CVE-2019-13232: a zip bomb using overlapped entries |https://github.com/madler/unzip/commit/6d351831be705cc26d897db44f878a978f4138fc | |Index: unzpriv.h |--- unzpriv.h.orig |+++ unzpriv.h -------------------------- Patching file unzpriv.h using Plan A... Hunk #1 succeeded at 2185. done ===> Applying OpenBSD patch patch-zipinfo_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix CVE-2016-9844: buffer overflow in zipinfo | https://bugs.debian.org/847486 | https://launchpad.net/bugs/1643750 |Do not crash when hostver byte is >= 100 | |--- zipinfo.c.orig Sun Feb 8 18:04:30 2009 |+++ zipinfo.c Tue Mar 21 16:10:27 2017 -------------------------- Patching file zipinfo.c using Plan A... Hunk #1 succeeded at 1921. Hunk #2 succeeded at 2125. 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 unzip-6.0p17 ===> Configuring for unzip-6.0p17 ===> Building for unzip-6.0p17 /usr/bin/make unzips CF="-O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD" cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD unzip.c unzip.c:715:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int MAIN(argc, argv) /* return PK-type error code (except under VMS) */ ^ ./unzpriv.h:1038:17: note: expanded from macro 'MAIN' # define MAIN main ^ unzip.c:737:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int unzip(__G__ argc, argv) ^ unzip.c:1331:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int uz_opts(__G__ pargc, pargv) ^ unzip.c:2013:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int usage(__G__ error) /* return PK-type error code */ ^ 4 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD 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 C2x [-Wdeprecated-non-prototype] ulg crc32(crc, buf, len) ^ 1 warning generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD crypt.c crypt.c:163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int update_keys(__G__ c) ^ crypt.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void init_keys(__G__ passwd) ^ crypt.c:453:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int decrypt(__G__ passwrd) ^ crypt.c:539:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int testp(__G__ h) ^ crypt.c:594:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int testkey(__G__ h, key) ^ 5 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD envargs.c envargs.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int envargs(Pargc, Pargv, envstr, envstr2) ^ envargs.c:179:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int count_args(s) ^ 2 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD explode.c explode.c:222:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int get_tree(__G__ l, n) ^ explode.c:253:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int explode_lit(__G__ tb, tl, td, bb, bl, bd, bdl) ^ explode.c:371:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int explode_nolit(__G__ tl, td, bl, bd, bdl) ^ 3 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD extract.c extract.c:349:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static size_t cover_find(cover, val) ^ extract.c:365:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int cover_within(cover, val) ^ extract.c:385:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int cover_add(cover, beg, end) ^ extract.c:633:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] LoadFarString(ReportMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ extract.c:633:23: note: treat the string as an argument to avoid this LoadFarString(ReportMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ extract.c:913:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ extract.c:913:44: note: treat the string as an argument to avoid this Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ extract.c:914:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Info(slide, 0x401, ((char *)slide, LoadFarString(ReportMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ extract.c:914:44: note: treat the string as an argument to avoid this Info(slide, 0x401, ((char *)slide, LoadFarString(ReportMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ extract.c:1155:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned find_compr_idx(compr_methodnum) ^ extract.c:1175:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int extract_or_test_entrylist(__G__ numchunk, ^ extract.c:2221:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int TestExtraField(__G__ ef, ef_len) ^ extract.c:2496:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int memextract(__G__ tgt, tgtsize, src, srcsize) /* extract compressed */ ^ extract.c:2585:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int memflush(__G__ rawbuf, size) ^ extract.c:2625:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uch *extract_izvms_block(__G__ ebdata, size, retlen, init, needlen) ^ extract.c:2687:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void decompress_bits(outptr, needlen, bitptr) ^ extract.c:2733:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void set_deferred_symlink(__G__ slnk_entry) ^ extract.c:2790:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *fnfilter(raw, space, size) /* convert name to safely printable form */ ^ extract.c:2916:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int Cdecl dircomp(a, b) /* used by qsort(); swiped from Zip */ ^ 16 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD fileio.c fileio.c:579:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned readbuf(__G__ buf, size) /* return number of bytes read into buf */ ^ fileio.c:716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int seek_zipf(__G__ abs_offset) ^ fileio.c:787:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int flush(__G__ rawbuf, size, unshrink) ^ fileio.c:1093:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int is_vms_varlen_txt(__G__ ef_buf, ef_len) ^ fileio.c:1248:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int UZ_EXP UzpMessagePrnt(pG, buf, size, flag) ^ fileio.c:1491:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int UZ_EXP UzpInput(pG, buf, size, flag) ^ fileio.c:1515:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void UZ_EXP UzpMorePause(pG, prompt, flag) ^ fileio.c:1577:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int UZ_EXP UzpPassword (pG, rcnt, pwbuf, size, zfn, efn) ^ fileio.c:1650:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void handler(signal) /* upon interrupt, turn on echo and exit cleanly */ ^ fileio.c:1714:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] time_t dos_to_unix_time(dosdatetime) ^ fileio.c:1900:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int check_for_newer(__G__ filename) /* return 1 if existing file is newer */ ^ fileio.c:2019:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int do_string(__G__ length, option) /* return PK-type error code */ ^ fileio.c:2449:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ush makeword(b) ^ fileio.c:2467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulg makelong(sig) ^ fileio.c:2488:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zusz_t makeint64(sig) ^ fileio.c:2526:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *fzofft(__G__ val, pre, post) ^ fileio.c:2609:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *str2oem(dst, src) ^ fileio.c:2704:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zstrnicmp(s1, s2, n) ^ 18 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD globals.c cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD inflate.c inflate.c:932:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inflate_codes(__G__ tl, td, bl, bd) ^ inflate.c:1386:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int inflate_block(__G__ e) ^ inflate.c:1437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inflate(__G__ is_defl64) ^ inflate.c:1551:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int huft_build(__G__ b, n, s, d, e, t, m) ^ inflate.c:1757:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int huft_free(t) ^ 5 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD list.c list.c:184:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ((char *)slide, LoadFarString(ReportMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ list.c:184:38: note: treat the string as an argument to avoid this ((char *)slide, LoadFarString(ReportMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ list.c:521:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ list.c:521:48: note: treat the string as an argument to avoid this Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ list.c:565:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_time_stamp(__G__ last_modtime, nmember) /* return PK-type error code */ ^ list.c:605:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ((char *)slide, LoadFarString(ReportMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ list.c:605:38: note: treat the string as an argument to avoid this ((char *)slide, LoadFarString(ReportMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ list.c:688:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ list.c:688:44: note: treat the string as an argument to avoid this Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ list.c:708:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ratio(uc, c) ^ 6 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD match.c match.c:125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int match(string, pattern, ignore_case __WDL) ^ match.c:167:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int recmatch(p, s, ic __WDL) ^ match.c:343:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *isshexp(p) ^ match.c:358:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int namecmp(s1, s2) ^ match.c:380:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int iswild(p) /* originally only used for stat()-bug workaround in */ ^ 5 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD process.c process.c:659:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int do_seekable(__G__ lastchance) /* return PK-type error code */ ^ process.c:1127:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int rec_find(__G__ searchlen, signature, rec_size) ^ process.c:1228:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int find_ecrec64(__G__ searchlen) /* return PK-class error */ ^ process.c:1458:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int find_ecrec(__G__ searchlen) /* return PK-class error */ ^ process.c:1905:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getZip64Data(__G__ ef_buf, ef_len) ^ process.c:2766:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned ef_scan_for_izux(ef_buf, ef_len, ef_is_c, dos_mdatetime, ^ 6 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD ttyio.c ttyio.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Echoff(__G__ f) ^ ttyio.c:355:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int screensize(tt_rows, tt_cols) ^ ttyio.c:441:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zgetch(__G__ f) ^ ttyio.c:609:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *getp(__G__ m, p, n) ^ 4 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD ubz2err.c cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD unreduce.c cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD unshrink.c unshrink.c:307:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void partial_clear(__G__ lastcodeused) ^ 1 warning generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD zipinfo.c zipinfo.c:449:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zi_opts(__G__ pargc, pargv) ^ zipinfo.c:774:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ((char *)slide, LoadFarString(ReportMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ zipinfo.c:774:38: note: treat the string as an argument to avoid this ((char *)slide, LoadFarString(ReportMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ zipinfo.c:963:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ zipinfo.c:963:48: note: treat the string as an argument to avoid this Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ zipinfo.c:987:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int zi_long(__G__ pEndprev, error_in_archive) ^ zipinfo.c:2210:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void zi_showMacTypeCreator(__G__ ebfield) ^ zipinfo.c:2245:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *zi_time(__G__ datetimez, modtimez, d_t_str) ^ 6 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD unix/unix.c unix/unix.c:189:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *do_wild(__G__ wildspec) ^ unix/unix.c:331:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned filtattr(__G__ perms) ^ unix/unix.c:498:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int mapname(__G__ renamed) ^ unix/unix.c:751:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int checkdir(__G__ pathcomp, flag) ^ unix/unix.c:1044:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int get_extattribs(__G__ pzt, z_uidgid) ^ unix/unix.c:1276:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_symlnk_attribs(__G__ slnk_entry) ^ unix/unix.c:1324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int defer_dir_attribs(__G__ pd) ^ unix/unix.c:1346:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_direc_attribs(__G__ d) ^ unix/unix.c:1397:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int stamp_file(fname, modtime) ^ 9 warnings generated. cc -o unzip -Lbzip2 unzip.o crc32.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o unreduce.o unshrink.o zipinfo.o unix.o -s list.c(list.o:(list_files)): warning: sprintf() is often misused, please use snprintf() list.c(list.o:(list_files)): warning: strcpy() is almost always misused, please use strlcpy() fileio.c(fileio.o:(fzofft)): warning: strcat() is almost always misused, please use strlcat() cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD funzip.c funzip.c:221:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void err(n, m) ^ funzip.c:269:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int flush(w) /* used by inflate.c (FLUSH macro) */ ^ funzip.c:282:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ 3 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DFUNZIP -o cryptf.o crypt.c crypt.c:163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int update_keys(__G__ c) ^ crypt.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void init_keys(__G__ passwd) ^ 2 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DFUNZIP -o globalsf.o globals.c cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DFUNZIP -o inflatef.o inflate.c inflate.c:932:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inflate_codes(__G__ tl, td, bl, bd) ^ inflate.c:1386:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int inflate_block(__G__ e) ^ inflate.c:1437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inflate(__G__ is_defl64) ^ inflate.c:1551:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int huft_build(__G__ b, n, s, d, e, t, m) ^ inflate.c:1757:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int huft_free(t) ^ 5 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DFUNZIP -o ttyiof.o ttyio.c ttyio.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Echoff(__G__ f) ^ ttyio.c:609:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *getp(__G__ m, p, n) ^ 2 warnings generated. cc -o funzip funzip.o crc32.o cryptf.o globalsf.o inflatef.o ttyiof.o -s funzip.c(funzip.o:(flush)): warning: sprintf() is often misused, please use snprintf() cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o unzipsfx.o unzip.c unzip.c:715:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int MAIN(argc, argv) /* return PK-type error code (except under VMS) */ ^ ./unzpriv.h:1038:17: note: expanded from macro 'MAIN' # define MAIN main ^ unzip.c:737:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int unzip(__G__ argc, argv) ^ unzip.c:1331:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int uz_opts(__G__ pargc, pargv) ^ unzip.c:1979:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int usage(__G__ error) /* return PK-type error code */ ^ 4 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -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 C2x [-Wdeprecated-non-prototype] ulg crc32(crc, buf, len) ^ 1 warning generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o crypt_.o crypt.c cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o extract_.o extract.c extract.c:349:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static size_t cover_find(cover, val) ^ extract.c:365:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int cover_within(cover, val) ^ extract.c:385:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int cover_add(cover, beg, end) ^ extract.c:633:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] LoadFarString(ReportMsg))); ^ ~~~~~~~~~ ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ~ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ extract.c:633:23: note: treat the string as an argument to avoid this LoadFarString(ReportMsg))); ^ "%s", ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString' # define LoadFarString(x) (char *)(x) ^ ./unzpriv.h:2718:61: note: expanded from macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^ extract.c:1175:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int extract_or_test_entrylist(__G__ numchunk, ^ extract.c:2496:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int memextract(__G__ tgt, tgtsize, src, srcsize) /* extract compressed */ ^ extract.c:2585:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int memflush(__G__ rawbuf, size) ^ extract.c:2733:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void set_deferred_symlink(__G__ slnk_entry) ^ extract.c:2790:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *fnfilter(raw, space, size) /* convert name to safely printable form */ ^ extract.c:2916:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int Cdecl dircomp(a, b) /* used by qsort(); swiped from Zip */ ^ 10 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o fileio_.o fileio.c fileio.c:579:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned readbuf(__G__ buf, size) /* return number of bytes read into buf */ ^ fileio.c:716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int seek_zipf(__G__ abs_offset) ^ fileio.c:787:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int flush(__G__ rawbuf, size, unshrink) ^ fileio.c:1248:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int UZ_EXP UzpMessagePrnt(pG, buf, size, flag) ^ fileio.c:1491:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int UZ_EXP UzpInput(pG, buf, size, flag) ^ fileio.c:1515:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void UZ_EXP UzpMorePause(pG, prompt, flag) ^ fileio.c:1577:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int UZ_EXP UzpPassword (pG, rcnt, pwbuf, size, zfn, efn) ^ fileio.c:1650:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void handler(signal) /* upon interrupt, turn on echo and exit cleanly */ ^ fileio.c:1714:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] time_t dos_to_unix_time(dosdatetime) ^ fileio.c:1900:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int check_for_newer(__G__ filename) /* return 1 if existing file is newer */ ^ fileio.c:2019:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int do_string(__G__ length, option) /* return PK-type error code */ ^ fileio.c:2449:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ush makeword(b) ^ fileio.c:2467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulg makelong(sig) ^ fileio.c:2488:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zusz_t makeint64(sig) ^ fileio.c:2526:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *fzofft(__G__ val, pre, post) ^ fileio.c:2704:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zstrnicmp(s1, s2, n) ^ 16 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o globals_.o globals.c cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o inflate_.o inflate.c inflate.c:932:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inflate_codes(__G__ tl, td, bl, bd) ^ inflate.c:1386:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int inflate_block(__G__ e) ^ inflate.c:1437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inflate(__G__ is_defl64) ^ inflate.c:1551:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int huft_build(__G__ b, n, s, d, e, t, m) ^ inflate.c:1757:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int huft_free(t) ^ 5 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o match_.o match.c match.c:125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int match(string, pattern, ignore_case __WDL) ^ match.c:167:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int recmatch(p, s, ic __WDL) ^ match.c:343:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *isshexp(p) ^ match.c:358:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int namecmp(s1, s2) ^ match.c:380:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int iswild(p) /* originally only used for stat()-bug workaround in */ ^ 5 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o process_.o process.c process.c:659:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int do_seekable(__G__ lastchance) /* return PK-type error code */ ^ process.c:1127:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int rec_find(__G__ searchlen, signature, rec_size) ^ process.c:1228:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int find_ecrec64(__G__ searchlen) /* return PK-class error */ ^ process.c:1458:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int find_ecrec(__G__ searchlen) /* return PK-class error */ ^ process.c:1905:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getZip64Data(__G__ ef_buf, ef_len) ^ process.c:2766:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned ef_scan_for_izux(ef_buf, ef_len, ef_is_c, dos_mdatetime, ^ 6 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o ttyio_.o ttyio.c ttyio.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Echoff(__G__ f) ^ ttyio.c:355:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int screensize(tt_rows, tt_cols) ^ ttyio.c:441:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zgetch(__G__ f) ^ 3 warnings generated. cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o ubz2err_.o ubz2err.c cc -c -O2 -pipe -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK -DBSD -DSFX -o unix_.o unix/unix.c unix/unix.c:331:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned filtattr(__G__ perms) ^ unix/unix.c:498:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int mapname(__G__ renamed) ^ unix/unix.c:751:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int checkdir(__G__ pathcomp, flag) ^ unix/unix.c:1044:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int get_extattribs(__G__ pzt, z_uidgid) ^ unix/unix.c:1276:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_symlnk_attribs(__G__ slnk_entry) ^ unix/unix.c:1324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int defer_dir_attribs(__G__ pd) ^ unix/unix.c:1346:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_direc_attribs(__G__ d) ^ 7 warnings generated. cc -o unzipsfx unzipsfx.o crc32_.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o ubz2err_.o unix_.o -s unzip.c(unzipsfx.o:(uz_opts)): warning: sprintf() is often misused, please use snprintf() unix.c(unix_.o:(mapname)): warning: strcpy() is almost always misused, please use strlcpy() fileio.c(fileio_.o:(fzofft)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in archivers/unzip at 1711445318.45 ===> archivers/unzip ===> Faking installation for unzip-6.0p17 /exopi-obj/pobj/unzip-6.0/bin/install -d -m 755 /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/bin /exopi-obj/pobj/unzip-6.0/bin/install -c -s -m 755 unzip funzip unzipsfx /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/bin /exopi-obj/pobj/unzip-6.0/bin/install -c -m 755 unix/zipgrep /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/bin rm -f /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/bin/zipinfo ln -sf /usr/local/bin/unzip /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/bin/zipinfo /exopi-obj/pobj/unzip-6.0/bin/install -d -m 755 /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/unzip-6.0/bin/install -c -m 644 man/funzip.1 /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/funzip.1 /exopi-obj/pobj/unzip-6.0/bin/install -c -m 644 man/unzip.1 /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/unzip.1 /exopi-obj/pobj/unzip-6.0/bin/install -c -m 644 man/unzipsfx.1 /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/unzipsfx.1 /exopi-obj/pobj/unzip-6.0/bin/install -c -m 644 man/zipgrep.1 /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/zipgrep.1 /exopi-obj/pobj/unzip-6.0/bin/install -c -m 644 man/zipinfo.1 /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/zipinfo.1 /exopi-obj/pobj/unzip-6.0/bin/install -d -m 755 /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/share/doc/unzip cd /exopi-obj/pobj/unzip-6.0/unzip60; /exopi-obj/pobj/unzip-6.0/bin/install -c -m 644 COPYING.OLD LICENSE README WHERE /exopi-obj/pobj/unzip-6.0/fake-amd64/usr/local/share/doc/unzip ===> Building package for unzip-6.0p17 Create /exopi-cvs/ports/packages/amd64/all/unzip-6.0p17.tgz Creating package unzip-6.0p17 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|*** | 4% checksumming|***** | 9% checksumming|******** | 13% checksumming|*********** | 17% checksumming|************* | 22% checksumming|**************** | 26% checksumming|******************* | 30% checksumming|********************* | 35% checksumming|************************ | 39% checksumming|*************************** | 43% checksumming|***************************** | 48% checksumming|******************************** | 52% checksumming|********************************** | 57% checksumming|************************************* | 61% checksumming|**************************************** | 65% checksumming|****************************************** | 70% checksumming|********************************************* | 74% checksumming|************************************************ | 78% checksumming|************************************************** | 83% checksumming|***************************************************** | 87% checksumming|******************************************************** | 91% checksumming|********************************************************** | 96% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************* | 39% archiving|***************************** | 46% archiving|****************************************** | 65% archiving|****************************************** | 66% archiving|******************************************* | 67% archiving|*************************************************** | 79% archiving|***************************************************** | 83% archiving|********************************************************* | 89% archiving|*********************************************************** | 92% archiving|************************************************************** | 97% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/unzip-6.0p17.tgz >>> Running clean in archivers/unzip at 1711445320.42 ===> archivers/unzip ===> Cleaning for unzip-6.0p17 >>> Ended at 1711445320.89 max_stuck=0.94/build=12.00/package=1.97/clean=0.50