=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for cbzone-2.0cnb2 rm -f cbzone.script sed 's|@TANK_APPDIR@|/usr/pkg/lib/X11/app-defaults|g;s|@TANK_LIBDIR@|/usr/pkg/share/cbzone|g;s|@TANK_SOUNDDIR@|/usr/pkg/share/cbzone/sounds|g' < cbzone.script.src > cbzone.script cc -O -I/usr/pkg/include -I /usr/X11R7/include -DTANKDIR=\"/usr/pkg/share/cbzone\" -I/usr/pkg/include -I/usr/X11R7/include -c -o c_main.o c_main.c c_main.c:94:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(argc, argv) ^ c_main.c:94:1: note: change return type to 'int' void main(argc, argv) ^~~~ int c_main.c:127:15: error: conflicting types for 'time' extern long time(); ^ /usr/include/time.h:97:8: note: previous declaration is here time_t time(time_t *) __RENAME(__time50); ^ c_main.c:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEVELOPER ^ // c_main.c:145:23: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned int, unsigned int)' pl = o = (Genericp) calloc(opt->mobjects,sizeof(Generic)); ^ c_main.c:145:23: note: include the header or explicitly provide a declaration for 'calloc' c_main.c:149:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ c_main.c:149:5: note: include the header or explicitly provide a declaration for 'exit' c_main.c:153:3: warning: implicit declaration of function 'srandom' is invalid in C99 [-Wimplicit-function-declaration] srandom(time((long *) 0)); /* start things off randomly */ ^ c_main.c:153:16: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types] srandom(time((long *) 0)); /* start things off randomly */ ^~~~~~~~~~ /usr/include/time.h:97:21: note: passing argument to parameter here time_t time(time_t *) __RENAME(__time50); ^ c_main.c:200:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(o); ^ c_main.c:266:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (key == 'A' || key == 'B' || key == 'C') ^ c_main.c:429:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (g->type & (IS_SUPER | IS_TANK) && ^ c_main.c:441:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ c_main.c:451:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ c_main.c:461:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ c_main.c:715:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEVELOPER ^ // c_main.c:726:26: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] nextmissile = 750 * frand() + 750; ^ ./c_defs.h:71:19: note: expanded from macro 'frand' #define frand() ((random() & 0xffff) / 65535.0) ^ c_main.c:761:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (g->attr & IS_EXPLODING) ^ c_main.c:800:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEVELOPER ^ // 16 warnings and 1 error generated. : recipe for target 'c_main.o' failed gmake: *** [c_main.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/games/cbzone *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/cbzone