>>> Building on exopi-5 under misc/mmv DIST = [misc/mmv:mmv/mmv.pch.Z;misc/mmv:mmv/part01.Z;misc/mmv:mmv/part02.Z] FULLPKGNAME = mmv-1.01bp1 distfiles size=45752 >>> Running build in misc/mmv at 1732056394.63 ===> misc/mmv ===> Building from scratch mmv-1.01bp1 ===> Verifying specs: c ===> found c.100.3 ===> Checking files for mmv-1.01bp1 `/exopi-cvs/ports/distfiles/mmv/part01.Z' is up to date. `/exopi-cvs/ports/distfiles/mmv/part02.Z' is up to date. `/exopi-cvs/ports/distfiles/mmv/mmv.pch.Z' is up to date. >> (SHA256) all files: OK ===> Extracting for mmv-1.01bp1 shar: Extracting "MANIFEST" (359 characters) shar: Extracting "Makefile" (281 characters) shar: Extracting "PACKNOTES" (82 characters) shar: Extracting "announce" (1588 characters) shar: Extracting "mmv.1" (17091 characters) shar: Extracting "mmv.c.2" (7214 characters) shar: End of archive 1 (of 2). You still need to unpack the following archives: 2 shar: Extracting "mmv.c.1" (49841 characters) shar: End of archive 2 (of 2). You have unpacked both archives. ===> Patching for mmv-1.01bp1 ===> Applying distribution patches for mmv-1.01bp1 ===> Applying distribution patch mmv.pch.Z ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig Mon Dec 23 14:09:24 2002 |+++ Makefile Mon Dec 23 14:09:24 2002 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 3. done ===> Applying OpenBSD patch patch-mmv_1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- mmv.1.orig |+++ mmv.1 -------------------------- Patching file mmv.1 using Plan A... Hunk #1 succeeded at 141. Hunk #2 succeeded at 638. done ===> Applying OpenBSD patch patch-mmv_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: mmv.c |--- mmv.c.orig |+++ mmv.c -------------------------- Patching file mmv.c using Plan A... Hunk #1 succeeded at 88. Hunk #2 succeeded at 120. Hunk #3 succeeded at 141. Hunk #4 succeeded at 173. Hunk #5 succeeded at 366. Hunk #6 succeeded at 385. Hunk #7 succeeded at 405. Hunk #8 succeeded at 466. Hunk #9 succeeded at 2546. Hunk #10 succeeded at 2740. Hunk #11 succeeded at 2827. 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 mmv-1.01bp1 ===> Configuring for mmv-1.01bp1 ===> Building for mmv-1.01bp1 cc -o mmv -O2 -pipe mmv.c mmv.c:471:10: warning: passing arguments to 'procargs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] procargs(argc, argv, &frompat, &topat); ^ mmv.c:472:9: warning: passing arguments to 'domatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] domatch(frompat, topat); ^ mmv.c:478:13: warning: passing arguments to 'scandeletes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scandeletes(baddel); ^ mmv.c:481:14: warning: passing arguments to 'scandeletes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scandeletes(skipdel); ^ mmv.c:463: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) ^ mmv.c:521:28: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dirs = (DIRINFO **)myalloc(dirroom * sizeof(DIRINFO *)); ^ mmv.c:522:30: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handles = (HANDLE **)myalloc(handleroom * sizeof(HANDLE *)); ^ mmv.c:594:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (strcmp(cmdname, COPYNAME) == 0) ^ mmv.c:527: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 procargs(argc, argv, pfrompat, ptopat) ^ mmv.c:321:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void procargs(/* int argc, char **argv, ^ mmv.c:642: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 domatch(cfrom, cto) ^ mmv.c:323:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void domatch(/* char *cfrom, char *cto */); ^ mmv.c:671:25: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((fromlen = getword(from)) == 0 || fromlen == -1) ^ mmv.c:675:24: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((tolen = getword(to)) == 0) { ^ mmv.c:686:14: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getword(extra) == 0) ^ mmv.c:690:29: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotit = (getword(extra) == 0); ^ mmv.c:704: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 getword(buf) ^ mmv.c:325:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int getword(/* char *buf */); ^ mmv.c:738:18: warning: passing arguments to 'dostage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (dostage(from, pathbuf, start, len, 0, 0)) { ^ mmv.c:1038:19: warning: passing arguments to 'checkdir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((h = checkdir(pathbuf, pathend, 0)) == NULL) { ^ mmv.c:1059:31: warning: passing arguments to 'dwritable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((op & MOVE) && !dwritable(h)) { ^ mmv.c:1071:32: warning: passing arguments to 'ffirst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pf = di->di_fils + (i = ffirst(lastend, litlen, di)); ^ mmv.c:1075:19: warning: passing arguments to 'trymatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (try = trymatch(*pf, lastend)) != 0 && ^ mmv.c:1078:10: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] match(lastend + litlen, (*pf)->fi_name + litlen, ^ mmv.c:1081:13: warning: passing arguments to 'keepmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] keepmatch(*pf, pathend, &k, 0, wantdirs, laststage) ^ mmv.c:1090:15: warning: passing arguments to 'badrep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (badrep(h, *pf, &hto, &nto, &fdel, &flags)) ^ mmv.c:1093:40: warning: passing arguments to 'challoc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*pf)->fi_rep = p = (REP *)challoc(sizeof(REP), 1); ^ mmv.c:1120:14: warning: passing arguments to 'keepmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] keepmatch(*pf, pathend, &k, 1, 1, 0) ^ mmv.c:1005: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 dostage(lastend, pathend, start1, len1, stage, anylev) ^ mmv.c:328:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int dostage(/* char *lastend, char *pathend, ^ mmv.c:1148:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (!matchall && *pat != '.') ^ mmv.c:1130: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 trymatch(ffrom, pat) ^ mmv.c:330:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int trymatch(/* FILEINFO *ffrom, char *pat */); ^ mmv.c:1174:9: warning: passing arguments to 'getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getstat(pathbuf, ffrom); ^ mmv.c:1155: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 keepmatch(ffrom, pathend, pk, needslash, dirs, fils) ^ mmv.c:331:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int keepmatch(/* FILEINFO *ffrom, char *pathend, ^ mmv.c:1226:28: warning: passing arguments to 'checkto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (repbad || checkto(hfrom, f, phto, pnto, pfdel) || badname(*pnto)) ^ mmv.c:1226:68: warning: passing arguments to 'badname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (repbad || checkto(hfrom, f, phto, pnto, pfdel) || badname(*pnto)) ^ mmv.c:1236:21: warning: passing arguments to 'dwritable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!dwritable(*phto)) ^ mmv.c:1187: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 badrep(hfrom, ffrom, phto, pnto, pfdel, pflags) ^ mmv.c:333:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int badrep(/* HANDLE *hfrom, FILEINFO *ffrom, ^ mmv.c:1292:31: warning: passing arguments to 'fsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((fdel = *pfdel = fsearch(pathend, hfrom->h_di)) != NULL) { ^ mmv.c:1295:11: warning: passing arguments to 'getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getstat(fullrep, fdel); ^ mmv.c:1299:12: warning: passing arguments to 'challoc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *pnto = mydup(pathend); ^ mmv.c:199:41: note: expanded from macro 'mydup' #define mydup(s) (strcpy((char *)challoc(strlen(s) + 1, 0), (s))) ^ mmv.c:1302:20: warning: passing arguments to 'getpath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pathend = getpath(tpath); ^ mmv.c:1304:19: warning: passing arguments to 'checkdir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *phto = checkdir(tpath, tpath + hlen, 1); ^ mmv.c:1308:28: warning: passing arguments to 'fsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fdel = *pfdel = fsearch(pathend, (*phto)->h_di)) != NULL && ^ mmv.c:1312:12: warning: passing arguments to 'getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (getstat(fullrep, fdel), fdel->fi_stflags & FI_ISDIR) ^ mmv.c:1321:20: warning: passing arguments to 'checkdir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *phto = checkdir(tpath, tpath + hlen, 1); ^ mmv.c:1332:28: warning: passing arguments to 'fsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fdel = *pfdel = fsearch(f, (*phto)->h_di); ^ mmv.c:1335:13: warning: passing arguments to 'getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getstat(fullrep, fdel); ^ mmv.c:1342:12: warning: passing arguments to 'challoc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *pnto = mydup(pathend); ^ mmv.c:199:41: note: expanded from macro 'mydup' #define mydup(s) (strcpy((char *)challoc(strlen(s) + 1, 0), (s))) ^ mmv.c:1274: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 checkto(hfrom, f, phto, pnto, pfdel) ^ mmv.c:335:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int checkto(/* HANDLE *hfrom, char *f, ^ mmv.c:1348: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 *getpath(tpath) ^ mmv.c:337:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char *getpath(/* char *tpath */); ^ mmv.c:1373: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 badname(s) ^ mmv.c:338:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int badname(/* char *s */); ^ mmv.c:1395: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 getstat(ffull, f) ^ mmv.c:385:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int getstat(/* char *full, FILEINFO *f */); ^ mmv.c:1433: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 dwritable(h) ^ mmv.c:386:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int dwritable(/* HANDLE *h */); ^ mmv.c:1464: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 fwritable(hname, f) ^ mmv.c:387:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int fwritable(/* char *hname, FILEINFO *f */); ^ mmv.c:1482: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 FILEINFO *fsearch(s, d) ^ mmv.c:339:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static FILEINFO *fsearch(/* char *s, DIRINFO *d */); ^ mmv.c:1504: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 ffirst(s, n, d) ^ mmv.c:340:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int ffirst(/* char *s, int n, DIRINFO *d */); ^ mmv.c:1693:13: warning: passing arguments to 'hsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (hsearch(p, which, &h)) ^ mmv.c:1698:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ mmv.c:1722:20: warning: passing arguments to 'dsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((di = dsearch(v, d)) == NULL) ^ mmv.c:1723:26: warning: passing arguments to 'dadd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] takedir(myp, di = dadd(v, d), sticky); ^ mmv.c:1723:11: warning: passing arguments to 'takedir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] takedir(myp, di = dadd(v, d), sticky); ^ mmv.c:1679:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static HANDLE *checkdir(p, pathend, which) ^ mmv.c:341:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static HANDLE *checkdir(/* char *p, char *pathend, int which */); ^ mmv.c:1750:43: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] di->di_fils = fils = (FILEINFO **)myalloc(room * sizeof(FILEINFO *)); ^ mmv.c:1755:31: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fils = (FILEINFO **)myalloc(room * sizeof(FILEINFO *)); ^ mmv.c:1757:10: warning: passing arguments to 'chgive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chgive(di->di_fils, cnt * sizeof(FILEINFO *)); ^ mmv.c:1761:34: warning: passing arguments to 'challoc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *fils = f = (FILEINFO *)challoc(sizeof(FILEINFO), 1); ^ mmv.c:1762:16: warning: passing arguments to 'challoc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f->fi_name = mydup(dp->d_name); ^ mmv.c:199:41: note: expanded from macro 'mydup' #define mydup(s) (strcpy((char *)challoc(strlen(s) + 1, 0), (s))) ^ mmv.c:1735: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 takedir(p, di, sticky) ^ mmv.c:342:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void takedir(/* ^ mmv.c:1777: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 fcmp(pf1, pf2) ^ mmv.c:347:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int fcmp(/* FILEINFO **pf1, FILEINFO **pf2 */); ^ mmv.c:1791:34: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newhandles = (HANDLE **)myalloc(handleroom * sizeof(HANDLE *)); ^ mmv.c:1793:9: warning: passing arguments to 'chgive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chgive(handles, nhandles * sizeof(HANDLE *)); ^ mmv.c:1796:45: warning: passing arguments to 'challoc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handles[nhandles++] = h = (HANDLE *)challoc(sizeof(HANDLE), 1); ^ mmv.c:1797:29: warning: passing arguments to 'challoc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] h->h_name = (char *)challoc(strlen(n) + 1, 0); ^ mmv.c:1784:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static HANDLE *hadd(n) ^ mmv.c:348:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static HANDLE *hadd(/* char *n */); ^ mmv.c:1804: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 hsearch(n, which, pret) ^ mmv.c:349:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int hsearch(/* char *n, int which, HANDLE **ph */); ^ mmv.c:1837:32: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newdirs = (DIRINFO **)myalloc(dirroom * sizeof(DIRINFO *)); ^ mmv.c:1839:9: warning: passing arguments to 'chgive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chgive(dirs, ndirs * sizeof(DIRINFO *)); ^ mmv.c:1842:41: warning: passing arguments to 'challoc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dirs[ndirs++] = di = (DIRINFO *)challoc(sizeof(DIRINFO), 1); ^ mmv.c:1828: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 DIRINFO *dadd(v, d) ^ mmv.c:350:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static DIRINFO *dadd(/* DEVID v, DIRID d */); ^ mmv.c:1852: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 DIRINFO *dsearch(v, d) ^ mmv.c:351:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static DIRINFO *dsearch(/* DEVID v, DIRID d */); ^ mmv.c:1866: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 match(pat, s, start1, len1) ^ mmv.c:352:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int match(/* char *pat, char *s, char **start1, int *len1 */); ^ mmv.c:2099:25: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd = (REPDICT *)myalloc(nreps * sizeof(REPDICT)); ^ mmv.c:2139:8: warning: passing arguments to 'chgive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chgive(rd, oldnreps * sizeof(REPDICT)); ^ mmv.c:2143: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 rdcmp(rd1, rd2) ^ mmv.c:355:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int rdcmp(/* REPDICT *rd1, REPDICT *rd2 */); ^ mmv.c:2199:14: warning: passing arguments to 'printchain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printchain(p); ^ mmv.c:2208: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 printchain(p) ^ mmv.c:361:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void printchain(/* REP *p */); ^ mmv.c:2227:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((*pkilldel)(p)) { ^ mmv.c:2220: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 scandeletes(pkilldel) ^ mmv.c:357:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void scandeletes(/* int (*pkilldel)(REP *p) */); ^ mmv.c:2246: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 baddel(p) ^ mmv.c:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int baddel(/* REP *p */); ^ mmv.c:2324:18: warning: passing arguments to 'getreply' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(!getreply("? ", -1)); ^ mmv.c:2300: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 skipdel(p) ^ mmv.c:359:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int skipdel(/* REP *p */); ^ mmv.c:2338:21: warning: passing arguments to 'getreply' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!getreply(" Proceed with the rest? ", -1)) ^ mmv.c:2362:24: warning: passing arguments to 'snap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printaliased = snap(first, p); ^ mmv.c:2369:28: warning: passing arguments to 'appendalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] aliaslen = appendalias(first, p, &printaliased); ^ mmv.c:2371:23: warning: passing arguments to 'movealias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alias = movealias(first, p, &printaliased); ^ mmv.c:2370:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ mmv.c:2380:14: warning: passing arguments to 'myunlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myunlink(fullrep, p->r_fdel); ^ mmv.c:2383:11: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(p->r_ffrom, ^ mmv.c:2395:15: warning: passing arguments to 'copymove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copymove(p) : ^ mmv.c:2401:25: warning: passing arguments to 'snap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printaliased = snap(first, p); ^ mmv.c:2448:24: warning: passing arguments to 'snap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *pprintaliased = snap(first, p); ^ mmv.c:2426: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 long appendalias(first, p, pprintaliased) ^ mmv.c:364:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static long appendalias(/* REP *first, REP *p, int *pprintaliased */); ^ mmv.c:2478:24: warning: passing arguments to 'snap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *pprintaliased = snap(first, p); ^ mmv.c:2458: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 movealias(first, p, pprintaliased) ^ mmv.c:365:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int movealias(/* REP *first, REP *p, int *pprintaliased */); ^ mmv.c:2502:11: warning: passing arguments to 'getreply' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getreply("Redirect standard output to file? ", 0) ^ mmv.c:2510:27: warning: passing arguments to 'mygets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (outfile = fopen(mygets(fname, 80), "w")) == NULL ^ mmv.c:2515:11: warning: passing arguments to 'showdone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showdone(p); ^ mmv.c:2484: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 snap(first, p) ^ mmv.c:366:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int snap(/* REP *first, REP *p */); ^ mmv.c:2522: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 showdone(fin) ^ mmv.c:367:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void showdone(/* REP *fin */); ^ mmv.c:2579:48: warning: passing arguments to 'myunlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(symlink(linkbuf, fullrep) || myunlink(pathbuf, p->r_ffrom)); ^ mmv.c:2584:13: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(copy(p->r_ffrom, -1L) || myunlink(pathbuf, p->r_ffrom)); ^ mmv.c:2584:42: warning: passing arguments to 'myunlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(copy(p->r_ffrom, -1L) || myunlink(pathbuf, p->r_ffrom)); ^ mmv.c:2568: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 copymove(p) ^ mmv.c:372:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int copymove(/* REP *p */); ^ mmv.c:2592: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 copy(ff, len) ^ mmv.c:373:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int copy(/* FILENFO *f, long len */); ^ mmv.c:2716: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 myunlink(n, f) ^ mmv.c:374:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int myunlink(/* char *n, FILEINFO *f */); ^ mmv.c:2736: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 getreply(m, failact) ^ mmv.c:375:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int getreply(/* char *m, int failact */); ^ mmv.c:2771: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 void *myalloc(k) ^ mmv.c:376:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void *myalloc(/* unsigned k */); ^ mmv.c:2786: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 void *challoc(k, which) ^ mmv.c:377:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void *challoc(/* int k, int which */); ^ mmv.c:2820: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 chgive(p, k) ^ mmv.c:378:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void chgive(/* void *p, unsigned k */); ^ mmv.c:2858: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 *mygets(s, l) ^ mmv.c:380:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char *mygets(/* char *s, int l */); ^ 157 warnings generated. ld: warning: mmv.c(/tmp/mmv-ac2de3.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: mmv.c(/tmp/mmv-ac2de3.o:(main)): warning: strcat() is almost always misused, please use strlcat() ld: warning: mmv.c(/tmp/mmv-ac2de3.o:(main)): warning: sprintf() is often misused, please use snprintf() >>> Running package in misc/mmv at 1732056398.34 ===> misc/mmv ===> Faking installation for mmv-1.01bp1 /exopi-obj/pobj/mmv-1.01b/bin/install -c -s -m 755 mmv /exopi-obj/pobj/mmv-1.01b/fake-amd64/usr/local/bin ; ln -fs mmv /exopi-obj/pobj/mmv-1.01b/fake-amd64/usr/local/bin/mad ; ln -fs mmv /exopi-obj/pobj/mmv-1.01b/fake-amd64/usr/local/bin/mcp ; ln -fs mmv /exopi-obj/pobj/mmv-1.01b/fake-amd64/usr/local/bin/mln ; /exopi-obj/pobj/mmv-1.01b/bin/install -c -m 644 mmv.1 /exopi-obj/pobj/mmv-1.01b/fake-amd64/usr/local/man/man1 ===> Building package for mmv-1.01bp1 Create /exopi-cvs/ports/packages/amd64/all/mmv-1.01bp1.tgz Creating package mmv-1.01bp1 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********* | 15% checksumming|************** | 23% checksumming|******************* | 31% checksumming|*********************** | 38% checksumming|**************************** | 46% checksumming|********************************* | 54% checksumming|************************************** | 62% checksumming|****************************************** | 69% checksumming|*********************************************** | 77% checksumming|**************************************************** | 85% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 2% archiving|****************************************** | 66% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/mmv-1.01bp1.tgz >>> Running clean in misc/mmv at 1732056401.56 ===> misc/mmv ===> Cleaning for mmv-1.01bp1 >>> Ended at 1732056402.22 max_stuck=0.00/build=3.60/package=3.27/clean=0.74