=> Bootstrap dependency digest>=20010302: found digest-20111104
===> 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 mgetty-1.1.37
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -DVARRUNDIR=\"/var/run\" -c mgetty.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c logfile.c
logfile.c:178:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if ( isprint(ch) ) fputc( ch, log_fp );
             ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:40: note: expanded from macro 'isprint'
#define isprint(c)      ((int)((_ctype_ + 1)[(c)] & (_CTYPE_P|_CTYPE_U|_CTYPE_L|_CTYPE_N|_CTYPE_B)))
                                            ^~~~
logfile.c:307:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
            if ( ! isprint(*p) ) *p='_';
                   ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:40: note: expanded from macro 'isprint'
#define isprint(c)      ((int)((_ctype_ + 1)[(c)] & (_CTYPE_P|_CTYPE_U|_CTYPE_L|_CTYPE_N|_CTYPE_B)))
                                            ^~~~
2 warnings generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c do_chat.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c locks.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c utmp.c
utmp.c:151:8: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
        pid = getpid();
              ^
utmp.c:127:8: warning: unused variable 'fp' [-Wunused-variable]
FILE *  fp;
        ^
2 warnings generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c logname.c
logname.c:188:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if ( isdigit( *ep ) )           /* "\01234" */
                     ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
1 warning generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -DCONFDIR=\"/usr/pkg/etc/mgetty+sendfax\" -c login.c
login.c:195:14: warning: array subscript is of type 'char' [-Wchar-subscripts]
                char cbq = toupper( *(line++) );
                           ^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
login.c:204:20: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while( *line && !isspace(*line) ) line++;
                                 ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
login.c:205:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while( isspace(*line) ) line++;
                       ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
3 warnings generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c mg_m_init.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c modem.c
modem.c:44:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if ( isprint( c ) &&
             ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:40: note: expanded from macro 'isprint'
#define isprint(c)      ((int)((_ctype_ + 1)[(c)] & (_CTYPE_P|_CTYPE_U|_CTYPE_L|_CTYPE_N|_CTYPE_B)))
                                            ^~~~
1 warning generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c faxrec.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c ring.c
ring.c:87:32: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while( *string != '\0' && !isdigit(*string) ) string++;
                               ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
ring.c:91:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while( isdigit(*p) ) p++;
           ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
ring.c:108:24: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while( *p != '\0' && !isdigit(*p) ) p++;
                              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
ring.c:122:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while( isdigit(*p) ) p++;
           ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
ring.c:145:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while( isspace(*string) ) { string++; }
               ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
ring.c:148:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while( isdigit(*p) ) p++;
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
ring.c:152:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while( isspace(*p) ) p++;
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
ring.c:167:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while( isspace(*string) ) { string++; }
               ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
ring.c:198:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while( isspace(*p) || *p == '=' ) { p++; }
           ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
ring.c:292:21: warning: array subscript is of type 'char' [-Wchar-subscripts]
            if ( w == 0 && isspace(ch) ) continue;
                           ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
ring.c:347:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while( isspace(*p) ) p++;
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
ring.c:361:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if ( isdigit( *p ) )                    /* RING 1 */
             ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
ring.c:364:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if ( isalpha( *p ) )                    /* RING A */
             ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:53:40: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_ + 1)[(c)] & (_CTYPE_U|_CTYPE_L)))
                                            ^~~~
ring.c:365:28: warning: array subscript is of type 'char' [-Wchar-subscripts]
            { *dist_ring_number = tolower(*p)-'a' +1; break; }
                                  ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
14 warnings generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c faxlib.c
faxlib.c:70:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while ( isspace(*id) || *id == '"' ) id++;  /* skip leading whitespace */
            ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
faxlib.c:79:20: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while ( w>0 && isspace(fax_remote_id[w-1]) ) w--;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
faxlib.c:546:28: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while( *p != '\0' && ! isxdigit(*p) ) p++;
                           ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:54:41: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_ + 1)[(c)] & (_CTYPE_N|_CTYPE_X)))
                                            ^~~~
faxlib.c:548:35: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while( len<sizeof(nsf_bin) && isxdigit(*p) && isxdigit(*(p+1)) )
                                  ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:54:41: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_ + 1)[(c)] & (_CTYPE_N|_CTYPE_X)))
                                            ^~~~
faxlib.c:548:51: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while( len<sizeof(nsf_bin) && isxdigit(*p) && isxdigit(*(p+1)) )
                                                  ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:54:41: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_ + 1)[(c)] & (_CTYPE_N|_CTYPE_X)))
                                            ^~~~
faxlib.c:550:27: warning: array subscript is of type 'char' [-Wchar-subscripts]
        nsf_bin[len++] = (uch) ( char_to_hex(*p) << 4 ) +
                                 ^~~~~~~~~~~~~~~
faxlib.c:535:5: note: expanded from macro 'char_to_hex'
                                tolower((ch))-'a'+10 )
                                ^
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
faxlib.c:551:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                        char_to_hex(*(p+1));
                                        ^~~~~~~~~~~~~~~~~~~
faxlib.c:535:5: note: expanded from macro 'char_to_hex'
                                tolower((ch))-'a'+10 )
                                ^
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
faxlib.c:553:25: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while( *p != '\0' && ! isxdigit(*p) ) p++;
                               ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:54:41: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_ + 1)[(c)] & (_CTYPE_N|_CTYPE_X)))
                                            ^~~~
faxlib.c:712:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while( isdigit(*p) || isspace(*p) ) p++;
           ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
faxlib.c:712:27: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while( isdigit(*p) || isspace(*p) ) p++;
                          ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
10 warnings generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c faxsend.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c faxrecp.c
faxrecp.c:113:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if ( isalnum(c) ) temp[i++] = c;
             ^~~~~~~~~~
/usr/include/sys/ctype_inline.h:55:40: note: expanded from macro 'isalnum'
#define isalnum(c)      ((int)((_ctype_ + 1)[(c)] & (_CTYPE_U|_CTYPE_L|_CTYPE_N)))
                                            ^~~~
1 warning generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c class1.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c class1lib.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c faxhng.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c hyla_nsf.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c g3file.c
g3file.c:103:11: warning: passing 'uch *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         strcmp( g3_rf_buf+1, "PC Research, Inc" ) == 0 )
                 ^~~~~~~~~~~
/usr/include/string.h:56:25: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                            ^
g3file.c:208:22: warning: passing 'uch [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    r_num = in_func( rbuf, sizeof(rbuf) );
                     ^~~~
g3file.c:250:23: warning: passing 'uch [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            r_num = in_func( rbuf, sizeof(rbuf) );
                             ^~~~
3 warnings generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c io.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c gettydefs.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c tio.c
tio.c:945:10: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration]
    if ( ioctl(fd, TIOCMGET, &flags ) < 0 )
         ^
1 warning generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -DCONFDIR=\"/usr/pkg/etc/mgetty+sendfax\" -c cnd.c
cnd.c:116:20: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while (*str && isspace(*str)) str++;
                   ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
cnd.c:118:23: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while(p >= str && isspace(*p))
                      ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
cnd.c:128:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
    if ( isdigit(*str) )
         ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
cnd.c:131:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while( isdigit(*p) ) p++;
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
cnd.c:169:41: warning: array subscript is of type 'char' [-Wchar-subscripts]
                    if ( *p == '\'' || *p == '\"' || !isprint(*p) ) *p = ' ';
                                                      ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:40: note: expanded from macro 'isprint'
#define isprint(c)      ((int)((_ctype_ + 1)[(c)] & (_CTYPE_P|_CTYPE_U|_CTYPE_L|_CTYPE_N|_CTYPE_B)))
                                            ^~~~
cnd.c:245:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while(isspace(*p)) p++;
              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
6 warnings generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c getdisk.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c goodies.c
goodies.c:65:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if ( isdigit( *(char*)(user->d.p) ))    /* numeric */
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
goodies.c:86:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if ( isdigit( *(char*)(group->d.p) ))   /* numeric */
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
2 warnings generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c config.c
config.c:94:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
            while( isspace( *sp ) ) sp++;               /* skip whitespace */
                   ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
config.c:122:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if ( isspace( *r ) )
             ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
config.c:369:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        if ( isdigit( line[0] ) ||
                             ^~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
config.c:370:29: warning: array subscript is of type 'char' [-Wchar-subscripts]
                             ( line[0] == '-' && isdigit( line[1] ) ) )
                                                 ^~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
config.c:387:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                    tolower(line[0]) == 'y' ||
                                    ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
config.c:388:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                    tolower(line[0]) == 't' ||
                                    ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
6 warnings generated.
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -DFAX_SPOOL_IN=\"/var/spool/fax/incoming\"  -DCONFDIR=\"/usr/pkg/etc/mgetty+sendfax\" -c conf_mg.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c do_stat.c
cc -o mgetty mgetty.o logfile.o do_chat.o locks.o utmp.o logname.o login.o  mg_m_init.o modem.o faxrec.o ring.o  faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o  g3file.o io.o gettydefs.o tio.o cnd.o getdisk.o goodies.o  config.o conf_mg.o do_stat.o  -lutil
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c sendfax.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -DCONFDIR=\"/usr/pkg/etc/mgetty+sendfax\" -c conf_sf.c
cc -o sendfax sendfax.o logfile.o locks.o modem.o  faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o  g3file.o io.o tio.o getdisk.o config.o conf_sf.o goodies.o  -lutil
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -o newslock compat/newslock.c
cc -O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -DBINDIR=\"/usr/pkg/bin\" -DSBINDIR=\"/usr/pkg/sbin\"  -DLIBDIR=\"/usr/pkg/lib/mgetty+sendfax\"  -DCONFDIR=\"/usr/pkg/etc/mgetty+sendfax\"  -DFAX_SPOOL=\"/var/spool/fax\"  -DFAX_SPOOL_IN=\"/var/spool/fax/incoming\"  -DFAX_SPOOL_OUT=\"/var/spool/fax/outgoing\"  -DFAX_OUT_USER=\"fax\"  -DVARRUNDIR=\"/var/run\"  -DAWK=\"awk\"  -DPERL=\""/usr/pkg/bin/perl -w"\" -DTKPERL=\"\"  -DECHO=\""mg.echo"\"  -DSHELL=\"/bin/sh\"  -DSHELL_TRAP_POSIX=1  -o mksed mksed.c
./mksed >sedscript
chmod +x sedscript
cd g3 &&    /usr/bin/make "CC=cc" "CFLAGS=-O2 -Wall -pipe -DPREFIX=\"/usr/pkg\" -I.." "LDFLAGS=" "LIBS=-lutil" all
cc -O2 -Wall -pipe -DPREFIX="/usr/pkg" -I.. -I/usr/pkg/include -I/usr/include -c pbm2g3.c
pbm2g3.c:159:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
    while ( isspace( buf[0] ) );
            ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
pbm2g3.c:164:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
            ! isspace( buf[i] ) )
              ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
pbm2g3.c:169:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
    if ( ! isspace( buf[i] ) ) return -1;
           ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
3 warnings generated.
cc -O2 -Wall -pipe -DPREFIX="/usr/pkg" -I.. -I/usr/pkg/include -I/usr/include -c g3.c
cc -O2 -Wall -pipe -DPREFIX="/usr/pkg" -I.. -I/usr/pkg/include -I/usr/include -c run_tbl.c
cc -O2 -Wall -pipe -DPREFIX="/usr/pkg" -I..  -o pbm2g3 pbm2g3.o g3.o run_tbl.o -lutil
pbm2g3.o: In function `convert_pbm_raw':
pbm2g3.c:(.text+0x264): undefined reference to `putblackspan'
pbm2g3.c:(.text+0x26c): undefined reference to `putwhitespan'
pbm2g3.c:(.text+0x271): undefined reference to `puteol'
pbm2g3.c:(.text+0x2f1): undefined reference to `putblackspan'
pbm2g3.c:(.text+0x37f): undefined reference to `putwhitespan'
pbm2g3.o: In function `convert_pbm':
pbm2g3.c:(.text+0x4bf): undefined reference to `putwhitespan'
pbm2g3.c:(.text+0x4ce): undefined reference to `putblackspan'
pbm2g3.c:(.text+0x541): undefined reference to `putblackspan'
pbm2g3.c:(.text+0x549): undefined reference to `putwhitespan'
pbm2g3.c:(.text+0x54e): undefined reference to `puteol'
pbm2g3.o: In function `main':
pbm2g3.c:(.text+0x725): undefined reference to `puteol'
pbm2g3.c:(.text+0x733): undefined reference to `putwhitespan'
pbm2g3.c:(.text+0x738): undefined reference to `puteol'
pbm2g3.c:(.text+0x767): undefined reference to `puteol'
pbm2g3.c:(.text+0x76c): undefined reference to `puteol'
pbm2g3.c:(.text+0x771): undefined reference to `puteol'
pbm2g3.c:(.text+0x776): undefined reference to `puteol'
pbm2g3.o:pbm2g3.c:(.text+0x77b): more undefined references to `puteol' follow
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/comms/mgetty+sendfax/work/mgetty-1.1.37/g3
*** Error code 1

Stop.
make: stopped in /scratch/comms/mgetty+sendfax/work/mgetty-1.1.37
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/comms/mgetty+sendfax
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/comms/mgetty+sendfax
