=> 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 xdm3d-1.0nb5
--- all ---
--- auth.o ---
--- all ---
making all in ./config...
--- auth.o ---
rm -f auth.o
gcc -c -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" 		 		-DHASXDMAUTH   		 -DTCPCONN -DUNIXCONN 		-DGREET_USER_STATIC  		-DOSMAJORVERSION=6 		-DOSMINORVERSION=99 		 -DHAS_SETUSERCONTEXT  -DBSD44SOCKETS auth.c
--- all ---
--- xdm-config ---
rm -f xdm-config
cpp -traditional    -DXDMDIR=/usr/pkg/lib/X11/xdm <xdm-conf.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' 			-e '/^#line  *[0-9][0-9]*  *.*$/d' 			-e '/^[ 	]*XCOMM$/s/XCOMM/#/' 			-e '/^[ 	]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' 			-e '/^[ 	]*XHASH/s/XHASH/#/' 			-e '/\@\@$/s/\@\@$/\\/' >xdm-config
--- daemon.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" 		 		-DHASXDMAUTH   		 -DTCPCONN -DUNIXCONN 		-DGREET_USER_STATIC  		-DOSMAJORVERSION=6 		-DOSMINORVERSION=99 		 -DHAS_SETUSERCONTEXT  -I/usr/pkg/include -c daemon.c
daemon.c:64:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
BecomeOrphan ()
^~~~~~~~~~~~
daemon.c:85:2: warning: implicit declaration of function 'LogError' is invalid in C99 [-Wimplicit-function-declaration]
        LogError("daemon fork failed, errno = %d\n", errno);
        ^
daemon.c:110:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
daemon.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
BecomeDaemon ()
^~~~~~~~~~~~
daemon.c:121:5: warning: implicit declaration of function 'daemon' is invalid in C99 [-Wimplicit-function-declaration]
    daemon (0, 0);
    ^
daemon.c:170:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
6 warnings generated.
--- server.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" 		 		-DHASXDMAUTH   		 -DTCPCONN -DUNIXCONN 		-DGREET_USER_STATIC  		-DOSMAJORVERSION=6 		-DOSMINORVERSION=99 		 -DHAS_SETUSERCONTEXT  -I/usr/pkg/include -c server.c
--- auth.o ---
auth.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ValidAuthorization (name_length, name)
^~~~~~~~~~~~~~~~~~
auth.c:213:5: warning: implicit declaration of function 'Debug' is invalid in C99 [-Wimplicit-function-declaration]
    Debug ("GenerateAuthorization %*.*s\n",
    ^
auth.c:245:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
SetProtoDisplayAuthorization (pdpy,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
auth.c:281:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:313:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
MakeServerAuthFile (d)
^
auth.c:373:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
SaveServerAuthorizations (d, auths, count)
^~~~~~~~~~~~~~~~~~~~~~~~
auth.c:391:2: warning: implicit declaration of function 'LogError' is invalid in C99 [-Wimplicit-function-declaration]
        LogError ("Cannot open server authorization file %s\n", d->authFile);
        ^
auth.c:482:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
SetAuthorization (d)
^~~~~~~~~~~~~~~~
auth.c:499:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:502:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
openFiles (name, new_name, oldp, newp)
^
auth.c:524:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
binaryEqual (a, b, len)
^
auth.c:535:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dumpBytes (len, data)
^
auth.c:545:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:548:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dumpAuth (auth)
^
auth.c:560:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:576:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
initAddrs ()
^
auth.c:579:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:582:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
doneAddrs ()
^
auth.c:593:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:595:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static checkEntry ();
~~~~~~ ^
auth.c:605:3: warning: implicit declaration of function 'LogOutOfMem' is invalid in C99 [-Wimplicit-function-declaration]
                LogOutOfMem ("saveEntry");
                ^
auth.c:647:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
checkEntry (auth)
^
auth.c:670:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
writeAuth (file, auth)
^
auth.c:680:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:683:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
writeAddr (family, addr_length, addr, file, auth)
^
auth.c:696:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:699:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
DefineLocal (file, auth)
^
auth.c:747:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:965:10: warning: implicit declaration of function 'ConvertAddr' is invalid in C99 [-Wimplicit-function-declaration]
            if (ConvertAddr (&ifr->ifr_addr, &len, &addr) < 0)
                ^
auth.c:1043:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setAuthNumber (auth, name)
^
auth.c:1070:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:1073:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
writeLocalAuth (file, auth, name)
^
auth.c:1110:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
auth.c:1259:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            while (entry = XauReadAuth (old)) {
                   ~~~~~~^~~~~~~~~~~~~~~~~~~
auth.c:1259:19: note: place parentheses around the assignment to silence this warning
            while (entry = XauReadAuth (old)) {
                         ^
                   (                        )
auth.c:1259:19: note: use '==' to turn this assignment into an equality comparison
            while (entry = XauReadAuth (old)) {
                         ^
                         ==
auth.c:1343:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            while (entry = XauReadAuth (old)) {
                   ~~~~~~^~~~~~~~~~~~~~~~~~~
auth.c:1343:19: note: place parentheses around the assignment to silence this warning
            while (entry = XauReadAuth (old)) {
                         ^
                   (                        )
auth.c:1343:19: note: use '==' to turn this assignment into an equality comparison
            while (entry = XauReadAuth (old)) {
                         ^
                         ==
--- server.o ---
server.c:54:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static receivedUsr1;
~~~~~~ ^
server.c:60:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static serverPause ();
~~~~~~ ^
server.c:72:5: warning: implicit declaration of function 'Debug' is invalid in C99 [-Wimplicit-function-declaration]
    Debug ("display manager caught SIGUSR1\n");
    ^
server.c:83:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
StartServerOnce (d)
^~~~~~~~~~~~~~~
server.c:98:2: warning: implicit declaration of function 'CleanUpChild' is invalid in C99 [-Wimplicit-function-declaration]
        CleanUpChild ();
        ^
server.c:104:6: warning: implicit declaration of function 'LogError' is invalid in C99 [-Wimplicit-function-declaration]
            LogError ("StartServer: no arguments\n");
            ^
server.c:135:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
StartServer (d)
^~~~~~~~~~~
server.c:179:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
serverPause (t, serverPid)
^
server.c:215:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
                pid == -1 && errno == ECHILD)
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
server.c:215:13: note: place parentheses around the '&&' expression to silence this warning
                pid == -1 && errno == ECHILD)
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
server.c:265:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
GetRemoteAddress (d, fd)
^
server.c:304:5: warning: implicit declaration of function 'getpeername' is invalid in C99 [-Wimplicit-function-declaration]
    getpeername (fd, (struct sockaddr *) buf, &len);
    ^
server.c:318:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
server.c:364:7: warning: implicit declaration of function 'RegisterCloseOnFork' is invalid in C99 [-Wimplicit-function-declaration]
                RegisterCloseOnFork (ConnectionNumber (dpy));
                ^
server.c:385:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ResetServer (d)
^~~~~~~~~~~
server.c:389:2: warning: implicit declaration of function 'pseudoReset' is invalid in C99 [-Wimplicit-function-declaration]
        pseudoReset (dpy);
        ^
server.c:390:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
server.c:406:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
server.c:416:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
PingServer (d, alternateDpy)
^~~~~~~~~~
18 warnings generated.
--- dpylist.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" 		 		-DHASXDMAUTH   		 -DTCPCONN -DUNIXCONN 		-DGREET_USER_STATIC  		-DOSMAJORVERSION=6 		-DOSMINORVERSION=99 		 -DHAS_SETUSERCONTEXT  -I/usr/pkg/include -c dpylist.c
dpylist.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
AnyDisplaysLeft ()
^~~~~~~~~~~~~~~
dpylist.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ForEachDisplay (f)
^~~~~~~~~~~~~~
dpylist.c:57:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dpylist.c:120:6: warning: implicit declaration of function 'addressEqual' is invalid in C99 [-Wimplicit-function-declaration]
            addressEqual (d->from, d->fromlen, addr, addrlen))
            ^
dpylist.c:131:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
RemoveDisplay (old)
^~~~~~~~~~~~~
dpylist.c:186:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dpylist.c:197:2: warning: implicit declaration of function 'LogOutOfMem' is invalid in C99 [-Wimplicit-function-declaration]
        LogOutOfMem ("NewDisplay");
        ^
7 warnings generated.
--- dm.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" 		 		-DHASXDMAUTH   		 -DTCPCONN -DUNIXCONN 		-DGREET_USER_STATIC  		-DOSMAJORVERSION=6 		-DOSMINORVERSION=99 		 -DHAS_SETUSERCONTEXT  -I/usr/pkg/include -c dm.c
--- auth.o ---
35 warnings generated.
--- error.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" 		 		-DHASXDMAUTH   		 -DTCPCONN -DUNIXCONN 		-DGREET_USER_STATIC  		-DOSMAJORVERSION=6 		-DOSMINORVERSION=99 		 -DHAS_SETUSERCONTEXT  -I/usr/pkg/include -c error.c
--- dm.o ---
dm.c:109:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (argc, argv)
^~~~
dm.c:129:5: warning: implicit declaration of function 'InitResources' is invalid in C99 [-Wimplicit-function-declaration]
    InitResources (argc, argv);
    ^
dm.c:130:5: warning: implicit declaration of function 'SetConfigFileTime' is invalid in C99 [-Wimplicit-function-declaration]
    SetConfigFileTime ();
    ^
dm.c:131:5: warning: implicit declaration of function 'LoadDMResources' is invalid in C99 [-Wimplicit-function-declaration]
    LoadDMResources ();
    ^
dm.c:141:2: warning: implicit declaration of function 'BecomeOrphan' is invalid in C99 [-Wimplicit-function-declaration]
        BecomeOrphan ();
        ^
dm.c:145:2: warning: implicit declaration of function 'BecomeDaemon' is invalid in C99 [-Wimplicit-function-declaration]
        BecomeDaemon ();
        ^
dm.c:147:18: warning: implicit declaration of function 'StorePid' is invalid in C99 [-Wimplicit-function-declaration]
    if (oldpid = StorePid ())
                 ^
dm.c:147:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (oldpid = StorePid ())
        ~~~~~~~^~~~~~~~~~~~~
dm.c:147:16: note: place parentheses around the assignment to silence this warning
    if (oldpid = StorePid ())
               ^
        (                   )
dm.c:147:16: note: use '==' to turn this assignment into an equality comparison
    if (oldpid = StorePid ())
               ^
               ==
dm.c:150:6: warning: implicit declaration of function 'LogError' is invalid in C99 [-Wimplicit-function-declaration]
            LogError ("Can't create/lock pid file %s\n", pidFile);
            ^
dm.c:157:2: warning: implicit declaration of function 'InitErrorLog' is invalid in C99 [-Wimplicit-function-declaration]
        InitErrorLog ();
        ^
dm.c:171:5: warning: implicit declaration of function 'CreateWellKnownSockets' is invalid in C99 [-Wimplicit-function-declaration]
    CreateWellKnownSockets ();
    ^
dm.c:184:5: warning: implicit declaration of function 'SetAccessFileTime' is invalid in C99 [-Wimplicit-function-declaration]
    SetAccessFileTime ();
    ^
dm.c:186:5: warning: implicit declaration of function 'ScanAccessDatabase' is invalid in C99 [-Wimplicit-function-declaration]
    ScanAccessDatabase ();
    ^
dm.c:196:5: warning: implicit declaration of function 'AnyWellKnownSockets' is invalid in C99 [-Wimplicit-function-declaration]
           AnyWellKnownSockets() ||
           ^
dm.c:198:5: warning: implicit declaration of function 'AnyDisplaysLeft' is invalid in C99 [-Wimplicit-function-declaration]
           AnyDisplaysLeft ())
           ^
dm.c:208:2: warning: implicit declaration of function 'WaitForSomething' is invalid in C99 [-Wimplicit-function-declaration]
        WaitForSomething ();
        ^
dm.c:211:5: warning: implicit declaration of function 'Debug' is invalid in C99 [-Wimplicit-function-declaration]
    Debug ("Nothing left to do, exiting\n");
    ^
dm.c:260:6: warning: implicit declaration of function 'ParseDisplay' is invalid in C99 [-Wimplicit-function-declaration]
            ParseDisplay (lineBuf, acceptableTypes, NumTypes);
            ^
dm.c:281:5: warning: implicit declaration of function 'LogInfo' is invalid in C99 [-Wimplicit-function-declaration]
    LogInfo ("Rescanning both config and servers files\n");
    ^
dm.c:282:5: warning: implicit declaration of function 'ForEachDisplay' is invalid in C99 [-Wimplicit-function-declaration]
    ForEachDisplay (MarkDisplay);
    ^
dm.c:284:5: warning: implicit declaration of function 'ReinitResources' is invalid in C99 [-Wimplicit-function-declaration]
    ReinitResources ();
    ^
dm.c:294:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
SetConfigFileTime ()
^~~~~~~~~~~~~~~~~
dm.c:300:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dm.c:302:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
SetAccessFileTime ()
^~~~~~~~~~~~~~~~~
dm.c:308:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dm.c:311:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
RescanIfMod ()
^
dm.c:349:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dm.c:362:5: warning: implicit declaration of function 'DestroyWellKnownSockets' is invalid in C99 [-Wimplicit-function-declaration]
    DestroyWellKnownSockets ();
    ^
dm.c:392:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
WaitForChild ()
^~~~~~~~~~~~
dm.c:440:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (d = FindDisplayByPid (pid)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~~
dm.c:440:8: note: place parentheses around the assignment to silence this warning
        if (d = FindDisplayByPid (pid)) {
              ^
            (                         )
dm.c:440:8: note: use '==' to turn this assignment into an equality comparison
        if (d = FindDisplayByPid (pid)) {
              ^
              ==
dm.c:472:7: warning: implicit declaration of function 'SendFailed' is invalid in C99 [-Wimplicit-function-declaration]
                    SendFailed (d, "Cannot open display");
                    ^
dm.c:517:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        else if (d = FindDisplayByServerPid (pid))
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dm.c:517:13: note: place parentheses around the assignment to silence this warning
        else if (d = FindDisplayByServerPid (pid))
                   ^
                 (                               )
dm.c:517:13: note: use '==' to turn this assignment into an equality comparison
        else if (d = FindDisplayByServerPid (pid))
                   ^
                   ==
dm.c:524:3: warning: implicit declaration of function 'RemoveDisplay' is invalid in C99 [-Wimplicit-function-declaration]
                RemoveDisplay (d);
                ^
dm.c:536:7: warning: implicit declaration of function 'TerminateProcess' is invalid in C99 [-Wimplicit-function-declaration]
                    TerminateProcess (d->pid, SIGTERM);
                    ^
dm.c:550:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dm.c:585:5: warning: implicit declaration of function 'LoadServerResources' is invalid in C99 [-Wimplicit-function-declaration]
    LoadServerResources (d);
    ^
dm.c:606:29: warning: implicit declaration of function 'StartServer' is invalid in C99 [-Wimplicit-function-declaration]
        if (d->serverPid == -1 && !StartServer (d))
                                   ^
dm.c:617:6: warning: implicit declaration of function 'SaveServerAuthorizations' is invalid in C99 [-Wimplicit-function-declaration]
            SaveServerAuthorizations (d, d->authorizations, d->authNum);
            ^
dm.c:627:6: warning: implicit declaration of function 'CleanUpChild' is invalid in C99 [-Wimplicit-function-declaration]
            CleanUpChild ();
            ^
dm.c:630:2: warning: implicit declaration of function 'LoadSessionResources' is invalid in C99 [-Wimplicit-function-declaration]
        LoadSessionResources (d);
        ^
dm.c:631:2: warning: implicit declaration of function 'SetAuthorization' is invalid in C99 [-Wimplicit-function-declaration]
        SetAuthorization (d);
        ^
dm.c:632:7: warning: implicit declaration of function 'WaitForServer' is invalid in C99 [-Wimplicit-function-declaration]
        if (!WaitForServer (d))
             ^
dm.c:636:6: warning: implicit declaration of function 'RunChooser' is invalid in C99 [-Wimplicit-function-declaration]
            RunChooser (d);
            ^
dm.c:639:6: warning: implicit declaration of function 'ManageSession' is invalid in C99 [-Wimplicit-function-declaration]
            ManageSession (d);
            ^
dm.c:651:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
TerminateProcess (pid, signal)
^~~~~~~~~~~~~~~~
dm.c:657:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dm.c:700:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
RegisterCloseOnFork (fd)
^~~~~~~~~~~~~~~~~~~
dm.c:706:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dm.c:708:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ClearCloseOnFork (fd)
^~~~~~~~~~~~~~~~
dm.c:718:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dm.c:720:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
CloseOnFork ()
^~~~~~~~~~~
dm.c:737:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dm.c:742:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
StorePid ()
^~~~~~~~
dm.c:803:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
UnlockPidFile ()
^~~~~~~~~~~~~
dm.c:823:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- error.o ---
error.c:52:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
LogInfo(
^~~~~~~
error.c:73:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error.c:76:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
LogError (
^~~~~~~~
error.c:97:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
LogPanic (
^~~~~~~~
error.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
LogOutOfMem (
^~~~~~~~~~~
error.c:146:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error.c:148:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Panic (mesg)
^~~~~
error.c:161:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Debug (
^~~~~
error.c:182:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error.c:184:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
InitErrorLog ()
^~~~~~~~~~~~
error.c:197:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
12 warnings generated.
--- file.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" 		 		-DHASXDMAUTH   		 -DTCPCONN -DUNIXCONN 		-DGREET_USER_STATIC  		-DOSMAJORVERSION=6 		-DOSMINORVERSION=99 		 -DHAS_SETUSERCONTEXT  -I/usr/pkg/include -c file.c
--- dm.o ---
55 warnings generated.
--- netaddr.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" 		 		-DHASXDMAUTH   		 -DTCPCONN -DUNIXCONN 		-DGREET_USER_STATIC  		-DOSMAJORVERSION=6 		-DOSMINORVERSION=99 		 -DHAS_SETUSERCONTEXT  -I/usr/pkg/include -c netaddr.c
--- file.o ---
file.c:42:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
DisplayTypeMatch (d1, d2)
^~~~~~~~~~~~~~~~
file.c:126:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (*n++ = *a++)
           ~~~~~^~~~~~
file.c:126:17: note: place parentheses around the assignment to silence this warning
    while (*n++ = *a++)
                ^
           (          )
file.c:126:17: note: use '==' to turn this assignment into an equality comparison
    while (*n++ = *a++)
                ^
                ==
file.c:132:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
freeSomeArgs (args, n)
^~~~~~~~~~~~
file.c:142:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
file.c:144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ParseDisplay (source, acceptableTypes, numAcceptable)
^~~~~~~~~~~~
file.c:157:2: error: non-void function 'ParseDisplay' should return a value [-Wreturn-type]
        return;
        ^
file.c:160:2: warning: implicit declaration of function 'LogError' is invalid in C99 [-Wimplicit-function-declaration]
        LogError ("Missing display name in servers file\n");
        ^
file.c:162:2: error: non-void function 'ParseDisplay' should return a value [-Wreturn-type]
        return;
        ^
file.c:169:2: error: non-void function 'ParseDisplay' should return a value [-Wreturn-type]
        return;
        ^
file.c:219:2: warning: implicit declaration of function 'Debug' is invalid in C99 [-Wimplicit-function-declaration]
        Debug ("Found existing display:  %s %s %s", d->name, d->class, type);
        ^
7 warnings and 3 errors generated.
*** [file.o] Error code 1

make: stopped in /scratch/x11/xdm3d/work/xdm
--- netaddr.o ---
netaddr.c:198:5: warning: implicit declaration of function 'Debug' is invalid in C99 [-Wimplicit-function-declaration]
    Debug ("ConvertAddr returning %d for family %d\n", retval,
    ^
netaddr.c:203:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
addressEqual (a1, len1, a2, len2)
^~~~~~~~~~~~
2 warnings generated.
1 error

make: stopped in /scratch/x11/xdm3d/work/xdm
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/x11/xdm3d
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/x11/xdm3d
