=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for 9wm-1.1nb2 cc -O -I. -I/usr/pkg/include -I /usr/X11R7/include -DSHAPE -I/usr/X11R7/include -c 9wm.c 9wm.c:64:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ 9wm.c:98:13: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(0); ^ 9wm.c:98:13: note: please include the header or explicitly provide a declaration for 'exit' 9wm.c:115:21: warning: implicit declaration of function 'getenv' is invalid in C99 [-Wimplicit-function-declaration] shell = (char *)getenv("SHELL"); ^ 9wm.c:457:54: warning: format specifies type 'unsigned int' but the argument has type 'Client *' (aka 'struct Client *') [-Wformat] fprintf(stderr, "9wm: bogus mapreq %x %x\n", c, e->window); ~~ ^ 9wm.c:457:57: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] fprintf(stderr, "9wm: bogus mapreq %x %x\n", c, e->window); ~~ ^~~~~~~~~ %lx 9wm.c:582:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] e->format, e->data.l[0], e->window); ^~~~~~~~~~~~ 9wm.c:582:42: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] e->format, e->data.l[0], e->window); ^~~~~~~~~ 9wm.c:586:9: warning: format specifies type 'unsigned int' but the argument has type 'Atom' (aka 'unsigned long') [-Wformat] e->message_type, e->window); ^~~~~~~~~~~~~~~ 9wm.c:586:26: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] e->message_type, e->window); ^~~~~~~~~ 9 warnings generated. cc -O -I. -I/usr/pkg/include -I /usr/X11R7/include -DSHAPE -I/usr/X11R7/include -c manage.c manage.c:28:23: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' c->is9term = (strcmp(c->class, "9term") == 0); ^ manage.c:28:23: note: please include the header or explicitly provide a declaration for 'strcmp' manage.c:58:58: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] if ((c->size.flags & (PMinSize|PMaxSize)) == PMinSize|PMaxSize && c->size.min_width == c->size.max_width && c->size.min_height == c->size.max_height) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ manage.c:58:58: note: place parentheses around the '==' expression to silence this warning if ((c->size.flags & (PMinSize|PMaxSize)) == PMinSize|PMaxSize && c->size.min_width == c->size.max_width && c->size.min_height == c->size.max_height) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ manage.c:58:58: note: place parentheses around the | expression to evaluate it first if ((c->size.flags & (PMinSize|PMaxSize)) == PMinSize|PMaxSize && c->size.min_width == c->size.max_width && c->size.min_height == c->size.max_height) ~~~~~~~~^~~~~~~~~ manage.c:223:75: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] fprintf(stderr, "9wm: bad window gravity %d for 0x%x\n", gravity, c->window); ~~ ^~~~~~~~~ %lx manage.c:300:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free((char *)c->wmcmaps); ^ manage.c:310:29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)' c->wmcmaps = (Colormap*)malloc(n*sizeof(Colormap)); ^ manage.c:310:29: note: please include the header or explicitly provide a declaration for 'malloc' manage.c:396:34: warning: incompatible pointer types passing 'char ***' to parameter of type 'unsigned char **' [-Wincompatible-pointer-types] if (_getprop(w, a, type, 1L, &p) <= 0) ^~ manage.c:441:45: warning: incompatible pointer types passing 'char **' to parameter of type 'unsigned char **' [-Wincompatible-pointer-types] if (_getprop(w, wm_state, wm_state, 2L, (char**)&p) <= 0) ^~~~~~~~~~ manage.c:460:54: warning: incompatible pointer types passing 'char **' to parameter of type 'unsigned char **' [-Wincompatible-pointer-types] if ((n = _getprop(w, wm_protocols, XA_ATOM, 20L, (char**)&p)) <= 0) ^~~~~~~~~~ 8 warnings generated. cc -O -I. -I/usr/pkg/include -I /usr/X11R7/include -DSHAPE -I/usr/X11R7/include -c menu.c menu.c:103:9: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] if (fork() == 0) { ^ menu.c:105:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(ConnectionNumber(dpy)); ^ menu.c:107:17: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] execl(shell, shell, "-c", termprog, 0); ^ menu.c:111:13: warning: implicit declaration of function 'execlp' is invalid in C99 [-Wimplicit-function-declaration] execlp("9term", "9term", "-9wm", 0); ^ menu.c:114:13: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ menu.c:114:13: note: please include the header or explicitly provide a declaration for 'exit' menu.c:118:5: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] wait((int *) 0); ^ menu.c:206:23: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] c->label, c->window); ^~~~~~~~~ menu.c:238:19: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] c->label, c->window); ^~~~~~~~~ 8 warnings generated. cc -O -I. -I/usr/pkg/include -I /usr/X11R7/include -DSHAPE -I/usr/X11R7/include -c client.c client.c:145:19: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)' c = (Client *)malloc(sizeof(Client)); ^ client.c:145:19: note: please include the header or explicitly provide a declaration for 'malloc' client.c:146:5: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)' memset(c, 0, sizeof(Client)); ^ client.c:146:5: note: please include the header or explicitly provide a declaration for 'memset' client.c:198:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free((char *)c->wmcmaps); ^ 3 warnings generated. cc -O -I. -I/usr/pkg/include -I /usr/X11R7/include -DSHAPE -I/usr/X11R7/include -c grab.c grab.c:113:42: warning: '/*' within block comment [-Wcomment] /* graberror("menuhit", status); /* */ ^ 1 warning generated. cc -O -I. -I/usr/pkg/include -I /usr/X11R7/include -DSHAPE -I/usr/X11R7/include -c cursor.c cc -O -I. -I/usr/pkg/include -I /usr/X11R7/include -DSHAPE -I/usr/X11R7/include -c error.c error.c:19:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ error.c:19:5: note: please include the header or explicitly provide a declaration for 'exit' error.c:41:49: warning: format specifies type 'unsigned int' but the argument has type 'XID' (aka 'unsigned long') [-Wformat] fprintf(stderr, "9wm: %s(0x%x): %s\n", req, e->resourceid, msg); ~~ ^~~~~~~~~~~~~ %lx 2 warnings generated. bmake: don't know how to make /usr/pkg/lib/libXext.a. Stop bmake: stopped in /usr/pkgsrc/work/wm/9wm/work *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/wm/9wm *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/wm/9wm