=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for netmaze-0.81nb3
--- x11cntrl.o ---
--- draw_3d.o ---
--- x11cntrl.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c x11cntrl.c
--- draw_3d.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c draw_3d.c
draw_3d.c:45:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'
  memcpy(sm->playfeld1,sm->playfeld,sm->anzplayers*sizeof(PLAYER));
  ^
draw_3d.c:45:3: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
draw_3d.c:369:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if(tnr=(hwalls[i][j] & MAZE_TYPEMASK))
         ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
draw_3d.c:369:13: note: place parentheses around the assignment to silence this warning
      if(tnr=(hwalls[i][j] & MAZE_TYPEMASK))
            ^
         (                                 )
draw_3d.c:369:13: note: use '==' to turn this assignment into an equality comparison
      if(tnr=(hwalls[i][j] & MAZE_TYPEMASK))
            ^
            ==
draw_3d.c:384:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if(tnr=(vwalls[i][j] & MAZE_TYPEMASK))
         ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
draw_3d.c:384:13: note: place parentheses around the assignment to silence this warning
      if(tnr=(vwalls[i][j] & MAZE_TYPEMASK))
            ^
         (                                 )
draw_3d.c:384:13: note: use '==' to turn this assignment into an equality comparison
      if(tnr=(vwalls[i][j] & MAZE_TYPEMASK))
            ^
            ==
3 warnings generated.
--- x11smiley.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c x11smiley.c
--- x11gfx.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c x11gfx.c
--- netmaze.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c netmaze.c
--- x11gfx.o ---
x11gfx.c:397:47: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
                       5,32+j*16,play[i].name,strlen(play[i].name));
                                              ^
x11gfx.c:397:47: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
x11gfx.c:782:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
  strcpy(string,play[k].name);
  ^
x11gfx.c:782:3: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
--- netmaze.o ---
netmaze.c:95:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(int argc,char **argv)
^
1 warning generated.
--- network.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c network.c
--- x11gfx.o ---
2 warnings generated.
--- allmove.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c allmove.c
--- maze.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c maze.c
--- iocntl.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c iocntl.c
--- audio.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c audio.c
--- texture.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c texture.c
texture.c:118:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if(j=tex->divtabh[hi][1])
         ~^~~~~~~~~~~~~~~~~~~~
texture.c:118:11: note: place parentheses around the assignment to silence this warning
      if(j=tex->divtabh[hi][1])
          ^
         (                    )
texture.c:118:11: note: use '==' to turn this assignment into an equality comparison
      if(j=tex->divtabh[hi][1])
          ^
          ==
texture.c:155:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if(j=tex->divtab[hi][1])
         ~^~~~~~~~~~~~~~~~~~~
texture.c:155:11: note: place parentheses around the assignment to silence this warning
      if(j=tex->divtab[hi][1])
          ^
         (                   )
texture.c:155:11: note: use '==' to turn this assignment into an equality comparison
      if(j=tex->divtab[hi][1])
          ^
          ==
--- iocntl.o ---
iocntl.c:82:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
    exit(1);
    ^
iocntl.c:82:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
--- netserv.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c netserv.c
--- texture.o ---
2 warnings generated.
--- follower.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c follower.c
--- netserv.o ---
netserv.c:898:52: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  q->socket   = accept(acc_socket,&(q->remoteaddr),&addrlen);
                                                   ^~~~~~~~
/usr/include/sys/socket.h:612:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
--- follower.o ---
follower.c:19:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
  strcpy(sm->ownname,"Follower2");
  ^
follower.c:19:3: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
follower.c:25:3: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)'
  printf("Here We Go Again\n");
  ^
follower.c:25:3: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
follower.c:57:11: warning: implicit declaration of function 'whos_close' is invalid in C99 [-Wimplicit-function-declaration]
  chase = whos_close(me);                  /* who should I chase */
          ^
follower.c:62:11: warning: implicit declaration of function 'what_ang' is invalid in C99 [-Wimplicit-function-declaration]
  angle = what_ang(chase , me);            /* what is the target's agnle */
          ^
follower.c:69:9: warning: implicit declaration of function 'abs' is invalid in C99 [-Wimplicit-function-declaration]
  if (!(abs(angle-mangle)<6) || sm->playfeld[me].team == sm->playfeld[chase].team)
        ^
follower.c:135:14: warning: implicit declaration of function 'get_dist' is invalid in C99 [-Wimplicit-function-declaration]
      temp = get_dist( i , me );
             ^
6 warnings generated.
--- robot.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c robot.c
robot.c:80:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
    exit(1);
    ^
robot.c:80:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
--- dummy.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c dummy.c
dummy.c:15:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
  strcpy(sm->ownname,"Dr.Dummy");
  ^
dummy.c:15:3: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
1 warning generated.
--- better.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DSH_MEM -I/usr/pkg/include -c better.c
better.c:93:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf(stderr,ausgabe);
                       ^~~~~~~
better.c:189:3: warning: implicit declaration of function 'srand48' is invalid in C99 [-Wimplicit-function-declaration]
  srand48(258245);
  ^
better.c:190:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
  strcpy(sm->owncomment,"Ich weiss, dass ich besser bin!");
  ^
better.c:190:3: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
better.c:203:8: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
                if (!strcmp(robodat.freundname,sm->playfeld[i].name)){
                     ^
better.c:203:8: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
better.c:207:4: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)'
                        strcat(sm->owncomment,"'s Feinde sind auch meine Feinde");
                        ^
better.c:207:4: note: please include the header <string.h> or explicitly provide a declaration for 'strcat'
better.c:210:9: warning: implicit declaration of function 'send_owncomment' is invalid in C99 [-Wimplicit-function-declaration]
        send_owncomment();
        ^
better.c:219:20: error: non-void function 'OpferDistanz' should return a value [-Wreturn-type]
        if (opfer ==  -1) return BIGGEST;
                          ^
better.c:220:9: warning: implicit declaration of function 'labs' is invalid in C99 [-Wimplicit-function-declaration]
        x_dist=labs((sm->playfeld[ownnumber].x)-(sm->playfeld[opfer].x));
               ^
better.c:359:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  static touchie=0;
  ~~~~~~ ^
better.c:411:19: warning: implicit declaration of function 'drand48' is invalid in C99 [-Wimplicit-function-declaration]
              i = (long)(drand48() * 2);
                         ^
better.c:450:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
              ((robodat.counter>5)&&(robodat.zustand!=GERADE)||(robodat.counter>40)))
               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
better.c:450:28: note: place parentheses around the '&&' expression to silence this warning
              ((robodat.counter>5)&&(robodat.zustand!=GERADE)||(robodat.counter>40)))
                                  ^
               (                                             )
better.c:456:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
              ((robodat.counter>5)&&(robodat.zustand!=GERADE)||(robodat.counter>40)))
               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
better.c:456:28: note: place parentheses around the '&&' expression to silence this warning
              ((robodat.counter>5)&&(robodat.zustand!=GERADE)||(robodat.counter>40)))
                                  ^
               (                                             )
better.c:457:6: warning: expression result unused [-Wunused-value]
            rechts;
            ^~~~~~
better.c:464:32: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
          robodat.ret &=(( ~JOY_LEFT) && (~JOY_RIGHT) );
                                      ^  ~~~~~~~~~~~~
better.c:464:32: note: use '&' for a bitwise operation
          robodat.ret &=(( ~JOY_LEFT) && (~JOY_RIGHT) );
                                      ^~
                                      &
better.c:464:32: note: remove constant to silence this warning
          robodat.ret &=(( ~JOY_LEFT) && (~JOY_RIGHT) );
                                     ~^~~~~~~~~~~~~~~
13 warnings and 1 error generated.
*** [better.o] Error code 1

make: stopped in /scratch/games/netmaze/work/netmaze
--- netserv.o ---
1 warning generated.
1 error

make: stopped in /scratch/games/netmaze/work/netmaze
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/games/netmaze
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/games/netmaze
