=> 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 hanterm-3.1.6nb5
--- main.o ---
--- input.o ---
--- main.o ---
rm -f main.o
--- input.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DALLOWLOGFILEONOFF -I/usr/pkg/include -c input.c
--- main.o ---
gcc -c -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DALLOWLOGFILEONOFF -DUTMP -DUSE_TTY_GROUP                    -DOSMAJORVERSION=6                   -DOSMINORVERSION=99 -DENV_HANGUL_KEYBOARD_TYPE main.c
main.c:809:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static remove_termcap_entry ();
~~~~~~ ^
main.c:819:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static Syntax (badOption)
~~~~~~ ^
main.c:845:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static Version ()
~~~~~~ ^
main.c:851:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static Help ()
~~~~~~ ^
main.c:963:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (argc, argv)
^~~~
main.c:1275:25: warning: '/*' within block comment [-Wcomment]
              /* break; /* by ysyun */
                        ^
main.c:1470:2: warning: implicit declaration of function 'get_terminal' is invalid in C99 [-Wimplicit-function-declaration]
        get_terminal ();
        ^
main.c:1471:2: warning: implicit declaration of function 'spawn' is invalid in C99 [-Wimplicit-function-declaration]
        spawn ();
        ^
main.c:1527:49: warning: implicit declaration of function 'SysError' is invalid in C99 [-Wimplicit-function-declaration]
        if (ioctl (pty, FIONBIO, (char *)&mode) == -1) SysError (ERROR_FIONBIO);
                                                       ^
main.c:1550:6: warning: implicit declaration of function 'VTRun' is invalid in C99 [-Wimplicit-function-declaration]
            VTRun();
            ^
main.c:1570:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_pty (pty)
^~~~~~~
main.c:1667:9: warning: implicit declaration of function 'pty_search' is invalid in C99 [-Wimplicit-function-declaration]
        return pty_search(pty);
               ^
main.c:1734:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_terminal ()
^~~~~~~~~~~~
main.c:1744:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.c:1858:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
spawn ()
^~~~~
main.c:2079:2: warning: implicit declaration of function 'VTInit' is invalid in C99 [-Wimplicit-function-declaration]
        VTInit();               /* realize now so know window size for tty driver */
        ^
main.c:2115:10: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration]
            if (tgetent (ptr, resource.term_name) == 1) {
                ^
main.c:2117:3: warning: implicit declaration of function 'resize' is invalid in C99 [-Wimplicit-function-declaration]
                resize (screen, TermName, termcap, newtc);
                ^
main.c:2336:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (ptr = ttyname(tty))
                    ~~~~^~~~~~~~~~~~~~
main.c:2336:11: note: place parentheses around the assignment to silence this warning
                if (ptr = ttyname(tty))
                        ^
                    (                 )
main.c:2336:11: note: use '==' to turn this assignment into an equality comparison
                if (ptr = ttyname(tty))
                        ^
                        ==
main.c:2972:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if(shname = rindex(ptr, '/'))
                   ~~~~~~~^~~~~~~~~~~~~~~~~~
main.c:2972:13: note: place parentheses around the assignment to silence this warning
                if(shname = rindex(ptr, '/'))
                          ^
                   (                        )
main.c:2972:13: note: use '==' to turn this assignment into an equality comparison
                if(shname = rindex(ptr, '/'))
                          ^
                          ==
main.c:2980:11: warning: implicit declaration of function 'XStrCmp' is invalid in C99 [-Wimplicit-function-declaration]
                ldisc = XStrCmp("csh", shname + strlen(shname) - 3) == 0 ?
                        ^
main.c:3126:2: error: non-void function 'spawn' should return a value [-Wreturn-type]
        return;
        ^
main.c:3239:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
resize(screen, TermName, oldtc, newtc)
^~~~~~
main.c:3301:22: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types]
        pid = wait3 (&status, WNOHANG, (struct rusage *)NULL);
                     ^~~~~~~
/usr/include/sys/wait.h:179:18: note: passing argument to parameter here
pid_t   wait3(int *, int, struct rusage *) __RENAME(__wait350);
                   ^
main.c:3325:13: warning: implicit declaration of function 'Cleanup' is invalid in C99 [-Wimplicit-function-declaration]
            Cleanup (0);
            ^
main.c:3333:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9)
^~~~~~~~~
main.c:3360:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static remove_termcap_entry (buf, str)
~~~~~~ ^
main.c:3378:5: error: non-void function 'remove_termcap_entry' should return a value [-Wreturn-type]
    return;
    ^
26 warnings and 2 errors generated.
*** [main.o] Error code 1

make: stopped in /scratch/x11/hanterm/work/hanterm-3.1.6
--- input.o ---
input.c:160:6: warning: implicit declaration of function 'chat_mode_input' is invalid in C99 [-Wimplicit-function-declaration]
            chat_mode_input(keysym, event, string, nbytes);
            ^
input.c:163:6: warning: implicit declaration of function 'hanja_mode_input' is invalid in C99 [-Wimplicit-function-declaration]
            hanja_mode_input(keysym, event, string, nbytes);
            ^
input.c:166:3: warning: implicit declaration of function 'unparseseq' is invalid in C99 [-Wimplicit-function-declaration]
                unparseseq(&reply, pty);
                ^
input.c:167:3: warning: implicit declaration of function 'unparseputc' is invalid in C99 [-Wimplicit-function-declaration]
                unparseputc((char)(keysym-XK_KP_F1+'P'), pty);
                ^
4 warnings generated.
1 error

make: stopped in /scratch/x11/hanterm/work/hanterm-3.1.6
*** Error code 2

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

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