=> 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 miniupnpd-1.6.20120320nb1
./genconfig.sh
Could not detect ipf nor pf, defaulting to pf.
Configuring compilation for [NetBSD] [6.99.15] with [pf] firewall software.
Please edit config.h for more compilation options.
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o miniupnpd.o miniupnpd.c
miniupnpd.c:533:28: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while(*p && *p != '/' && !isspace(*p))
                                  ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
miniupnpd.c:545:15: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while(*p && isdigit(*p))
                            ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
miniupnpd.c:549:28: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while(*p && (*p=='.' || isdigit(*p)))
                                                ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
3 warnings generated.
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o upnphttp.o upnphttp.c
upnphttp.c:129:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                while(isspace(*p))
                                      ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnphttp.c:132:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                while(!isspace(p[n]))
                                       ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnphttp.c:147:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                while(isspace(*p))
                                      ^~~~~~~~~~~
/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.
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o upnpdescgen.o upnpdescgen.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o upnpsoap.o upnpsoap.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o upnpredirect.o upnpredirect.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o getifaddr.o getifaddr.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o daemonize.o daemonize.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o upnpglobalvars.o upnpglobalvars.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o options.o options.c
options.c:108:27: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while((t >= buffer) && isspace(*t))
                                               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
options.c:117:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while(isspace(*name))
                      ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
options.c:156:29: warning: array subscript is of type 'char' [-Wchar-subscripts]
                for(t=equals-1; t>name && isspace(*t); t--)
                                          ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
options.c:163:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while(isspace(*value))
                      ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
4 warnings generated.
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o upnppermissions.o upnppermissions.c
upnppermissions.c:33:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while(isspace(*p))
              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnppermissions.c:49:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while(isspace(*p))
              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnppermissions.c:53:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if(!isdigit(*p))
            ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:55:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
        for(q = p; isdigit(*q); q++);
                   ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:65:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while(isdigit(*q))
                      ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:75:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
        else if(isspace(*q))
                ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnppermissions.c:88:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while(isspace(*p))
              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnppermissions.c:92:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if(!isdigit(*p))
            ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:94:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
        for(q = p; isdigit(*q) || (*q == '.'); q++);
                   ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:102:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while(isdigit(*q))
                      ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:106:23: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while(*q == '.' || isdigit(*q))
                                           ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:108:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        if(!isspace(*q))
                            ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnppermissions.c:114:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
                else if(!isspace(*q))
                         ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnppermissions.c:125:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
        else if(isspace(*q))
                ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnppermissions.c:139:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while(isspace(*p))
              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
upnppermissions.c:141:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if(!isdigit(*p))
            ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:143:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
        for(q = p; isdigit(*q); q++);
                   ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:153:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while(isdigit(*q))
                      ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
upnppermissions.c:163:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
        else if(isspace(*q) || *q == '\0')
                ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
19 warnings generated.
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o minissdp.o minissdp.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o natpmp.o natpmp.c
natpmp.c:134:27: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
           senderaddrstr, ntohs(senderaddr.sin_port), n);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/endian.h:126:18: note: expanded from macro 'ntohs'
#define ntohs(x)        bswap16(__CAST(uint16_t, (x)))
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/bswap.h:73:2: note: expanded from macro 'bswap16'
        (__builtin_constant_p((x)) ? \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o upnpevents.o upnpevents.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o upnputils.o upnputils.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o getconnstatus.o getconnstatus.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o upnpreplyparse.o upnpreplyparse.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o minixml.o minixml.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o bsd/getifstats.o bsd/getifstats.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o bsd/ifacewatcher.o bsd/ifacewatcher.c
gcc -O2 -DDEFAULT_CONFIG=\"/usr/pkg/etc/miniupnpd.conf\" -Wall -c -o ipf/ipfrdr.o ipf/ipfrdr.c
ipf/ipfrdr.c:246:8: error: no member named 'in_p' in 'struct ipnat'
        ipnat.in_p = proto;
        ~~~~~ ^
ipf/ipfrdr.c:252:8: error: no member named 'in_pmin' in 'struct ipnat'; did you mean 'in_ppip'?
        ipnat.in_pmin = htons(eport);
              ^~~~~~~
              in_ppip
/usr/include/netinet/ip_nat.h:259:11: note: 'in_ppip' declared here
        u_short         in_ppip;                /* ports per IP. */
                        ^
ipf/ipfrdr.c:253:8: error: no member named 'in_pmax' in 'struct ipnat'
        ipnat.in_pmax = htons(eport);
        ~~~~~ ^
ipf/ipfrdr.c:254:17: warning: incompatible integer to pointer conversion assigning to 'struct ipnat **' from 'int' [-Wint-conversion]
        ipnat.in_pnext = htons(iport);
                       ^ ~~~~~~~~~~~~
ipf/ipfrdr.c:255:13: error: array type 'u_char [2]' is not assignable
        ipnat.in_v = 4;
        ~~~~~~~~~~ ^
ipf/ipfrdr.c:260:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion]
                strlcpy(ipnat.in_ifnames[0], ifname, IFNAMSIZ);
                        ^~~~~~~~~~~~~~~~~~~
/usr/include/string.h:107:23: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                       ^
ipf/ipfrdr.c:261:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion]
                strlcpy(ipnat.in_ifnames[1], ifname, IFNAMSIZ);
                        ^~~~~~~~~~~~~~~~~~~
/usr/include/string.h:107:23: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                       ^
ipf/ipfrdr.c:267:36: error: no member named 'in_src' in 'struct ipnat'
                inet_pton(AF_INET, rhost, &ipnat.in_src[0].in4);
                                           ~~~~~ ^
ipf/ipfrdr.c:268:9: error: no member named 'in_src' in 'struct ipnat'
                ipnat.in_src[1].in4.s_addr = 0xffffffff;
                ~~~~~ ^
ipf/ipfrdr.c:271:35: error: no member named 'in_in' in 'struct ipnat'
        inet_pton(AF_INET, iaddr, &ipnat.in_in[0].in4);
                                   ~~~~~ ^
ipf/ipfrdr.c:272:8: error: no member named 'in_in' in 'struct ipnat'
        ipnat.in_in[1].in4.s_addr = 0xffffffff;
        ~~~~~ ^
ipf/ipfrdr.c:326:26: error: no member named 'in_pmin' in 'struct ipnat'; did you mean 'in_ppip'?
                if (eport == ntohs(ipn.in_pmin) &&
                                       ^
/usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs'
#define ntohs(x)        bswap16(__CAST(uint16_t, (x)))
                                                  ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/sys/bswap.h:73:25: note: expanded from macro 'bswap16'
        (__builtin_constant_p((x)) ? \
                               ^
/usr/include/netinet/ip_nat.h:259:11: note: 'in_ppip' declared here
        u_short         in_ppip;                /* ports per IP. */
                        ^
ipf/ipfrdr.c:326:26: error: no member named 'in_pmin' in 'struct ipnat'; did you mean 'in_ppip'?
                if (eport == ntohs(ipn.in_pmin) &&
                                       ^
/usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs'
#define ntohs(x)        bswap16(__CAST(uint16_t, (x)))
                                                  ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/sys/bswap.h:74:28: note: expanded from macro 'bswap16'
         __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x))
                                  ^
/usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant'
        ((((x) & 0xff00) >> 8) | \
            ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/netinet/ip_nat.h:259:11: note: 'in_ppip' declared here
        u_short         in_ppip;                /* ports per IP. */
                        ^
ipf/ipfrdr.c:326:26: error: no member named 'in_pmin' in 'struct ipnat'; did you mean 'in_ppip'?
                if (eport == ntohs(ipn.in_pmin) &&
                                       ^
/usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs'
#define ntohs(x)        bswap16(__CAST(uint16_t, (x)))
                                                  ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/sys/bswap.h:74:28: note: expanded from macro 'bswap16'
         __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x))
                                  ^
/usr/include/sys/bswap.h:62:6: note: expanded from macro '__byte_swap_u16_constant'
         (((x) & 0x00ff) << 8))))
            ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/netinet/ip_nat.h:259:11: note: 'in_ppip' declared here
        u_short         in_ppip;                /* ports per IP. */
                        ^
ipf/ipfrdr.c:326:26: error: no member named 'in_pmin' in 'struct ipnat'; did you mean 'in_ppip'?
                if (eport == ntohs(ipn.in_pmin) &&
                                       ^
/usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs'
#define ntohs(x)        bswap16(__CAST(uint16_t, (x)))
                                                  ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/sys/bswap.h:74:58: note: expanded from macro 'bswap16'
         __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x))
                                                                ^
/usr/include/netinet/ip_nat.h:259:11: note: 'in_ppip' declared here
        u_short         in_ppip;                /* ports per IP. */
                        ^
ipf/ipfrdr.c:327:26: error: no member named 'in_pmax' in 'struct ipnat'
                    eport == ntohs(ipn.in_pmax) &&
                                   ~~~ ^
/usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs'
#define ntohs(x)        bswap16(__CAST(uint16_t, (x)))
                                                  ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/sys/bswap.h:73:25: note: expanded from macro 'bswap16'
        (__builtin_constant_p((x)) ? \
                               ^
ipf/ipfrdr.c:327:26: error: no member named 'in_pmax' in 'struct ipnat'
                    eport == ntohs(ipn.in_pmax) &&
                                   ~~~ ^
/usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs'
#define ntohs(x)        bswap16(__CAST(uint16_t, (x)))
                                                  ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/sys/bswap.h:74:28: note: expanded from macro 'bswap16'
         __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x))
                                  ^
/usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant'
        ((((x) & 0xff00) >> 8) | \
            ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
ipf/ipfrdr.c:327:26: error: no member named 'in_pmax' in 'struct ipnat'
                    eport == ntohs(ipn.in_pmax) &&
                                   ~~~ ^
/usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs'
#define ntohs(x)        bswap16(__CAST(uint16_t, (x)))
                                                  ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/sys/bswap.h:74:28: note: expanded from macro 'bswap16'
         __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x))
                                  ^
/usr/include/sys/bswap.h:62:6: note: expanded from macro '__byte_swap_u16_constant'
         (((x) & 0x00ff) << 8))))
            ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
ipf/ipfrdr.c:327:26: error: no member named 'in_pmax' in 'struct ipnat'
                    eport == ntohs(ipn.in_pmax) &&
                                   ~~~ ^
/usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs'
#define ntohs(x)        bswap16(__CAST(uint16_t, (x)))
                                                  ^
/usr/include/sys/cdefs.h:543:36: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      ((__dt)(__st))
                                        ^
/usr/include/sys/bswap.h:74:58: note: expanded from macro 'bswap16'
         __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x))
                                                                ^
ipf/ipfrdr.c:329:11: error: no member named 'in_p' in 'struct ipnat'
                    ipn.in_p == proto)
                    ~~~ ^
ipf/ipfrdr.c:341:29: error: no member named 'in_src' in 'struct ipnat'
                                inet_ntop(AF_INET, &ipn.in_src[0].in4, rhost, rhostlen);
                                                    ~~~ ^
ipf/ipfrdr.c:342:28: error: no member named 'in_in' in 'struct ipnat'
                        inet_ntop(AF_INET, &ipn.in_in[0].in4, iaddr, iaddrlen);
                                            ~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/miniupnpd/work/miniupnpd-1.6.20120320
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/miniupnpd
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/miniupnpd
