=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for imaze-1.3nb4
cd source && make netbsd
make  GRAF=MOTIF  GRAFLIBS='$(MOTIFLIBS)'  GRAFINCLUDES='$(MOTIFINCLUDES)'  SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="$(PREFIX)/share/imaze/sound"'  all
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c client.c
client.c:110:5: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration]
                                memcpy(&feld_himricht[1][feldlaenge - 1 - y]
                                ^
client.c:110:5: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
client.c:309:5: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
                                strlen(abschuss_spruch) + 1);
                                ^
client.c:309:5: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
client.c:310:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
                        strcpy(blick_vor.text, abschuss_spruch);
                        ^
client.c:310:4: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
client.c:405:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
        exit(0);
        ^
client.c:405:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
client.c:775:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc, argv)
^
client.c:775:1: note: change return type to 'int'
void main(argc, argv)
^~~~
int
5 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c rechne3d.c
rechne3d.c:500:24: warning: for loop has empty body [-Wempty-body]
                        wand.ecke[0].x; i++);
                                            ^
rechne3d.c:500:24: note: put the semicolon on a separate line to silence this warning
rechne3d.c:634:3: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration]
                abs(XPOS(objekt1->pos) - XPOS(objekt2->pos)) >= RASPT ||
                ^
rechne3d.c:634:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
2 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c gentrigtab.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c speicher.c
speicher.c:161:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (*anzahl_neu = *anzahl)
            ~~~~~~~~~~~~^~~~~~~~~
speicher.c:161:18: note: place parentheses around the assignment to silence this warning
        if (*anzahl_neu = *anzahl)
                        ^
            (                    )
speicher.c:161:18: note: use '==' to turn this assignment into an equality comparison
        if (*anzahl_neu = *anzahl)
                        ^
                        ==
1 warning generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c rechne_karte.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ip_netz.c
ip_netz.c:382:3: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
                inet_addr(server_hostname)) == 0xffffffff)
                ^
ip_netz.c:431:10: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
                        htons(atoi(server_portname))) == 0)
                              ^
ip_netz.c:487:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                if (close(tcp_deskriptor))
                    ^
ip_netz.c:703:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &adresslaenge))
                        ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
ip_netz.c:712:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &adresslaenge))
                        ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
ip_netz.c:740:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
        if (close(tcp_deskriptor))
            ^
ip_netz.c:905:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                if (close(tcp_deskriptor))
                    ^
ip_netz.c:916:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                if (close(udp_deskriptor))
                    ^
8 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c netzwerk.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c global.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c system.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_icon.c
X_icon.c:103:6: warning: passing 'unsigned char [288]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                0, data, W, H, 8, W / 8);
                   ^~~~
/Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Xlib.h:1443:22: note: passing argument to parameter here
    char*               /* data */,
                                  ^
X_icon.c:107:4: warning: implicit declaration of function 'XPutPixel' is invalid in C99 [-Wimplicit-function-declaration]
                        XPutPixel(image, x, y, pixel_data[y][x] != ' ');
                        ^
2 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c motif_appdefs.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c motif_fenster.c
motif_fenster.c:161:2: warning: implicit declaration of function 'X_event_routine' is invalid in C99 [-Wimplicit-function-declaration]
        X_event_routine(XtDisplay(widget), call_data->event);
        ^
motif_fenster.c:443:4: warning: incompatible integer to pointer conversion passing 'long' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion]
                        XtInputReadMask, network_ready_handler,
                        ^~~~~~~~~~~~~~~
/Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Intrinsic.h:319:26: note: expanded from macro 'XtInputReadMask'
#define XtInputReadMask         (1L<<0)
                                ^~~~~~~
/Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Intrinsic.h:1022:32: note: passing argument to parameter here
    XtPointer           /* condition */,
                                       ^
motif_fenster.c:485:2: warning: implicit declaration of function 'eingabe_simulieren' is invalid in C99 [-Wimplicit-function-declaration]
        eingabe_simulieren(STOPSIGNAL);
        ^
motif_fenster.c:494:2: warning: implicit declaration of function 'eingabe_simulieren' is invalid in C99 [-Wimplicit-function-declaration]
        eingabe_simulieren(WEITERSIGNAL);
        ^
motif_fenster.c:516:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
        exit(0);
        ^
motif_fenster.c:516:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
motif_fenster.c:625:4: warning: implicit declaration of function 'speicher_belegen' is invalid in C99 [-Wimplicit-function-declaration]
                        speicher_belegen((void **)&message, 10);
                        ^
motif_fenster.c:630:4: warning: implicit declaration of function 'speicher_vergroessern' is invalid in C99 [-Wimplicit-function-declaration]
                        speicher_vergroessern((void **)&message,
                        ^
motif_fenster.c:638:3: warning: implicit declaration of function 'speicher_freigeben' is invalid in C99 [-Wimplicit-function-declaration]
                speicher_freigeben((void **)&message);
                ^
motif_fenster.c:815:2: warning: implicit declaration of function 'liste_kopieren' is invalid in C99 [-Wimplicit-function-declaration]
        liste_kopieren(&map_data.anzkreise, (void **)&map_data.kreise,
        ^
motif_fenster.c:823:2: warning: implicit declaration of function 'liste_freigeben' is invalid in C99 [-Wimplicit-function-declaration]
        liste_freigeben(&map_data.anzkreise_alt,
        ^
motif_fenster.c:834:2: warning: implicit declaration of function 'liste_freigeben' is invalid in C99 [-Wimplicit-function-declaration]
        liste_freigeben(&map_data.anzlinien, (void **)&map_data.linien);
        ^
motif_fenster.c:835:2: warning: implicit declaration of function 'liste_kopieren' is invalid in C99 [-Wimplicit-function-declaration]
        liste_kopieren(&map_data.anzlinien, (void **)&map_data.linien,
        ^
motif_fenster.c:859:2: warning: implicit declaration of function 'liste_freigeben' is invalid in C99 [-Wimplicit-function-declaration]
        liste_freigeben(&score_data.anzpunkte, (void **)&score_data.punkte);
        ^
motif_fenster.c:860:2: warning: implicit declaration of function 'liste_kopieren' is invalid in C99 [-Wimplicit-function-declaration]
        liste_kopieren(&score_data.anzpunkte, (void **)&score_data.punkte,
        ^
motif_fenster.c:926:2: warning: implicit declaration of function 'liste_initialisieren' is invalid in C99 [-Wimplicit-function-declaration]
        liste_initialisieren(&score_data.anzpunkte,
        ^
motif_fenster.c:960:6: warning: implicit declaration of function 'X_eingabe_init' is invalid in C99 [-Wimplicit-function-declaration]
        if (X_eingabe_init(argc, argv))
            ^
motif_fenster.c:972:2: warning: implicit declaration of function 'X_eingabe_ende' is invalid in C99 [-Wimplicit-function-declaration]
        X_eingabe_ende();
        ^
motif_fenster.c:1019:3: warning: implicit declaration of function 'uebler_fehler' is invalid in C99 [-Wimplicit-function-declaration]
                uebler_fehler(message, NULL);
                ^
18 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_farben.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_grafik.c
X_grafik.c:1081:33: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
                XTextExtents(text_font, text, strlen(text), &direction_hint,
                                              ^
X_grafik.c:1081:33: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
X_grafik.c:1538:8: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                        sw_raster[sw_defaultfarben[i] - RASTER],
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_daten.c
X_daten.c:79:4: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
                        strlen(objekte_neu->text) + 1);
                        ^
X_daten.c:79:4: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
X_daten.c:80:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
                strcpy(objekte->text, objekte_neu->text);
                ^
X_daten.c:80:3: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
2 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_tasten.c
X_tasten.c:199:19: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
        switch (action = XKeycodeToKeysym(display, event->xkey.keycode, 0))
                         ^
/Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
_X_DEPRECATED
^
/Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED'
# define _X_DEPRECATED  __attribute__((deprecated))
                                       ^
1 warning generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c server.c
server.c:177:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
                                exit(0);
                                ^
server.c:177:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
server.c:413:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc, argv)
^
server.c:413:1: note: change return type to 'int'
void main(argc, argv)
^~~~
int
2 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ip_server.c
ip_server.c:180:2: warning: implicit declaration of function 'uebler_fehler' is invalid in C99 [-Wimplicit-function-declaration]
        uebler_fehler(meldung, NULL);
        ^
ip_server.c:375:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &paket_adresse_laenge);
                        ^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:716:27: note: passing argument to parameter here
    socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom);
                          ^
ip_server.c:440:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
                exit(0);
                ^
ip_server.c:440:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
ip_server.c:467:39: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                (struct sockaddr *)&client_adresse, &client_adresse_laenge)) < 0)
                                                    ^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:704:73: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                        ^
ip_server.c:479:10: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
        switch (fork())
                ^
ip_server.c:504:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(deskriptor);
                        ^
ip_server.c:533:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
        close(SOCKET(verbindung));
        ^
ip_server.c:572:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &spiel_adresse_laenge))
                        ^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:708:78: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
ip_server.c:589:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &spiel_adresse_laenge))
                        ^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
ip_server.c:595:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(tmp_deskriptor);
                ^
ip_server.c:604:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &spiel_adresse_laenge))
                        ^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
ip_server.c:629:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
        if (close(SOCKET(verbindung)))
            ^
ip_server.c:808:40: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
                if ((server_adresse.sin_port = htons(atoi(portname))) == 0)
                                                     ^
ip_server.c:825:5: warning: implicit declaration of function 'uebler_fehler' is invalid in C99 [-Wimplicit-function-declaration]
                                uebler_fehler(meldung, NULL);
                                ^
ip_server.c:921:25: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
        if ((session_prozess = fork()) < 0)
                               ^
ip_server.c:928:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                if (close(sockpair[0]))
                    ^
ip_server.c:959:39: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        (struct sockaddr *)&spiel_adresse, &spiel_adresse_laenge))
                                                           ^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
ip_server.c:963:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                if (close(sockpair[1]))
                    ^
ip_server.c:1056:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
19 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c bewegung.c
bewegung.c:457:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
bewegung.c:1029:6: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration]
                                        memcpy(korrektur, &korrektur_neu,
                                        ^
bewegung.c:1029:6: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
bewegung.c:1590:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
bewegung.c:1836:14: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
        zufall_init(time(NULL));
                    ^
bewegung.c:2326:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        else
                        ^
bewegung.c:2406:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        else
                        ^
6 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c init_spieler.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c session.c
session.c:437:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
        exit(0);
        ^
session.c:437:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ninja.c
ninja.c:164:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
ninja.c:179:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
        exit(0);
        ^
ninja.c:179:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
ninja.c:269:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc, argv)
^
ninja.c:269:1: note: change return type to 'int'
void main(argc, argv)
^~~~
int
ninja.c:284:19: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
        if (argc > 2 && !strcmp(argv[1], "-m"))
                         ^
ninja.c:284:19: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
ninja.c:294:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
                strcpy(tmp, "Ninja of ");
                ^
ninja.c:294:3: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
ninja.c:300:4: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
                        strncpy(tmp + 9, name, sizeof tmp - 9);
                        ^
ninja.c:300:4: note: include the header <string.h> or explicitly provide a declaration for 'strncpy'
ninja.c:317:18: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
                schussdichte = atoi(argv[2]);
                               ^
7 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c baulab.c
baulab.c:153:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                fprintf(stderr, "\n{%d:%d}\n", x - flags, i), exit(1);
                                    ~~         ^~~~~~~~~
                                    %ld
baulab.c:153:49: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
                fprintf(stderr, "\n{%d:%d}\n", x - flags, i), exit(1);
                                                              ^
baulab.c:153:49: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
baulab.c:373:19: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
        while ((option = getopt(argc, argv, "w:h:d:D:sr:v")) != -1)
                         ^
baulab.c:377:18: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
                                feldbreite = atoi(optarg);
                                             ^
baulab.c:400:17: warning: implicit declaration of function 'atol' is invalid in C99 [-Wimplicit-function-declaration]
                                startwert = atol(optarg);
                                            ^
5 warnings generated.
clang -L/opt/pkg/lib -L/opt/pkg/lib gentrigtab.o global.o  -lm -o gentrigtab
clang -L/opt/pkg/lib -L/opt/pkg/lib ip_netz.o netzwerk.o ninja.o speicher.o global.o system.o  -o ninja
clang -L/opt/pkg/lib -L/opt/pkg/lib baulab.o speicher.o global.o  -o genlab
./gentrigtab > trigtab.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2  -O  -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c trigtab.c
clang -L/opt/pkg/lib -L/opt/pkg/lib client.o rechne3d.o trigtab.o speicher.o  rechne_karte.o ip_netz.o netzwerk.o global.o system.o X_icon.o motif_appdefs.o motif_fenster.o X_farben.o X_grafik.o X_daten.o X_tasten.o  -lXm -lXt -lX11 -o imaze
clang -L/opt/pkg/lib -L/opt/pkg/lib server.o ip_server.o speicher.o bewegung.o trigtab.o global.o  system.o init_spieler.o session.o  -o imazesrv
cd /Users/pbulk/build/games/imaze/work/imaze && pax -O -rf /Volumes/data/distfiles/imaze-sounds.tar