=> Bootstrap dependency digest>=20010302: found digest-20111104
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 nxtvepg-2.7.6nb1

Building on NetBSD...

   prefix:                                    /usr/pkg
   tcl version:                               8.4
   db in home:                                yes
   Concurrency implementation based on:       threads (using -pthread)
   C compiler:                                gcc

if [ ! -d build-netbsd ] ; then \
  mkdir build-netbsd; \
  mkdir build-netbsd/epgvbi build-netbsd/epgdb build-netbsd/epgctl build-netbsd/epgui build-netbsd/epgtcl; \
  mkdir build-netbsd/tvsim; \
fi
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -o build-netbsd/tcl2c tcl2c.c
tcl2c.c:151:26: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *(s++) = toupper(*p);
                         ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
1 warning generated.
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/mainwin.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_hwcfg.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_xawtvcf.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_ctxmencf.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_acqmode.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_netsel.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_dump.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_netname.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_udefcols.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/shortcuts.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_shortcuts.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/draw_stats.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_filter.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_substr.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_remind.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/dlg_prov.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/rcfile.tcl
/usr/pkg/bin/perl pod2help.pl -lang en nxtvepg.pod > epgtcl/helptexts.tcl
Legacy library ctime.pl will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at pod2help.pl, line 29.
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/helptexts.tcl
/usr/pkg/bin/perl pod2help.pl -lang de nxtvepg-de.pod > epgtcl/helptexts_de.tcl
Legacy library ctime.pl will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at pod2help.pl, line 29.
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/helptexts_de.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/mclistbox.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/combobox.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/rnotebook.tcl
build-netbsd/tcl2c -d -c -h -p build-netbsd epgtcl/htree.tcl
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgvbi/btdrv4linux.o epgvbi/btdrv4linux.c
epgvbi/btdrv4linux.c:2316:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
      if ( (pVbiBuf->hasFailed == FALSE)
            ~~~~~~~~~~~~~~~~~~~^~~~~~~~
epgvbi/btdrv4linux.c:2316:32: note: remove extraneous parentheses around the comparison to silence this warning
      if ( (pVbiBuf->hasFailed == FALSE)
           ~                   ^       ~
epgvbi/btdrv4linux.c:2316:32: note: use '=' to turn this equality comparison into an assignment
      if ( (pVbiBuf->hasFailed == FALSE)
                               ^~
                               =
epgvbi/btdrv4linux.c:1533:13: warning: function 'BtDriver_SignalHandler' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static void BtDriver_SignalHandler( int sigval )
            ^
2 warnings generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgvbi/vbidecode.o epgvbi/vbidecode.c
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgvbi/zvbidecoder.o epgvbi/zvbidecoder.c
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgvbi/ttxdecode.o epgvbi/ttxdecode.c
epgvbi/ttxdecode.c:165:18: warning: assigning to 'const uchar *' (aka 'const unsigned char *') from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               p = (const char *) pVbiBuf->cnis[type].outText;
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgvbi/hamming.o epgvbi/hamming.c
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgvbi/cni_tables.o epgvbi/cni_tables.c
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgvbi/tvchan.o epgvbi/tvchan.c
epgvbi/tvchan.c:64:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   { 48.25,   66.25, 7.0,   2,   4,  "E",   0},   // CCIR I/III (2-4)
                                     ^~~
epgvbi/tvchan.c:65:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {175.25,  228.25, 7.0,   5,  12,  "E",   0},   // CCIR I/III (5-12)
                                     ^~~
epgvbi/tvchan.c:66:39: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {471.25,  859.25, 8.0,  21,  69,   "",   0},   // UHF (21-69)
                                      ^~
epgvbi/tvchan.c:67:37: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {105.25,  172.25, 7.0,  71,  80, "SE",  70},   // CCIR SL/SH (S1-10)
                                    ^~~~
epgvbi/tvchan.c:68:37: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {231.25,  298.25, 7.0,  81,  90, "SE",  70},   // CCIR SL/SH (S11-20)
                                    ^~~~
epgvbi/tvchan.c:69:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {303.25,  467.25, 8.0,  91, 111,  "S",  70},   // CCIR H (S21-41)
                                     ^~~
epgvbi/tvchan.c:70:37: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
   { 69.25,  101.25, 7.0, 112, 116, "S0", 111},   // CCIR I/III (S42-46, Belgium only)
                                    ^~~~
epgvbi/tvchan.c:71:39: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {     0,       0, 0.0,   0,   0,   "",   0}
                                      ^~
epgvbi/tvchan.c:77:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   { 47.75,   51.75, 0.0,   1,   1,  "K",   0},   // K1
                                     ^~~
epgvbi/tvchan.c:78:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   { 55.75,   58.50, 0.0,   2,   2,  "K",   0},   // K2
                                     ^~~
epgvbi/tvchan.c:79:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   { 60.50,   62.25, 0.0,   3,   3,  "K",   0},   // K3
                                     ^~~
epgvbi/tvchan.c:80:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   { 63.75,   69.50, 0.0,   4,   4,  "K",   0},   // K4
                                     ^~~
epgvbi/tvchan.c:81:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {176.00,  220.00, 8.0,   5,  10,  "K",   0},   // K5 - K10
                                     ^~~
epgvbi/tvchan.c:82:39: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {471.25,  859.25, 8.0,  21,  69,   "",   0},   // UHF (21-69)
                                      ^~
epgvbi/tvchan.c:83:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {303.25,  451.25, 8.0,  71,  89,  "H",  70},   // H01 - H19
                                     ^~~
epgvbi/tvchan.c:84:38: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {116.75,  302.75,12.0, 102, 117,  "K",  91},   // KB - KQ
                                     ^~~
epgvbi/tvchan.c:85:39: warning: initializing 'const uchar *' (aka 'const unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
   {     0,       0, 0.0,   0,   0,   "",   0}
                                      ^~
epgvbi/tvchan.c:120:71: warning: passing 'const uchar *const' (aka 'const unsigned char *const') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ((*ft->prefix == 0) || (strncmp(pName, ft->prefix, strlen(ft->prefix)) == 0))
                                                                      ^~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgvbi/tvchan.c:120:52: warning: passing 'const uchar *const' (aka 'const unsigned char *const') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ((*ft->prefix == 0) || (strncmp(pName, ft->prefix, strlen(ft->prefix)) == 0))
                                                   ^~~~~~~~~~
/usr/include/string.h:63:40: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                                           ^
epgvbi/tvchan.c:122:52: warning: passing 'const uchar *const' (aka 'const unsigned char *const') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            channel = (uint) strtol(pName + strlen(ft->prefix), &pEnd, 10);
                                                   ^~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgvbi/tvchan.c:148:11: warning: assigning to 'const uchar *' (aka 'const unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
   prefix = "";
          ^ ~~
epgvbi/tvchan.c:160:20: warning: assigning to 'const uchar *' (aka 'const unsigned char *') from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
            prefix = "?";
                   ^ ~~~
epgvbi/tvchan.c:166:12: warning: passing 'uchar [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   sprintf(buf, "%s%d", prefix, channel);
           ^~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgvbi/tvchan.c:167:12: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strncpy(pName, buf, maxNameLen);
           ^~~~~
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
epgvbi/tvchan.c:167:19: warning: passing 'uchar [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strncpy(pName, buf, maxNameLen);
                  ^~~
/usr/include/string.h:64:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
25 warnings generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgvbi/syserrmsg.o epgvbi/syserrmsg.c
epgvbi/syserrmsg.c:113:20: warning: assigning to 'uchar *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         sysErrStr = strerror(errCode);
                   ^ ~~~~~~~~~~~~~~~~~
epgvbi/syserrmsg.c:117:27: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         sumlen += strlen(sysErrStr);
                          ^~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgvbi/syserrmsg.c:147:40: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            strcpy(*ppErrorText + off, sysErrStr);
                                       ^~~~~~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
3 warnings generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgctl/debug.o epgctl/debug.c
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgctl/epgacqctl.o epgctl/epgacqctl.c
epgctl/epgacqctl.c:2018:16: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
               xfree((void *) EpgDbQueue_Get(&acqDbQueue));
               ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
1 warning generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgctl/epgscan.o epgctl/epgscan.c
epgctl/epgscan.c:170:21: warning: passing 'uchar [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            sprintf(msgbuf, "Found %sprovider: %s", (scanCtl.doRefresh ? "" : "new "), AI_GET_NETWOP_NAME(pNewAi, pNewAi->thisNetwop));
                    ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:171:33: warning: passing 'uchar [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            scanCtl.MsgCallback(msgbuf, TRUE);
                                ^~~~~~
epgctl/epgscan.c:177:21: warning: passing 'uchar [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            sprintf(msgbuf, "Provider '%s' is %s.",
                    ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:180:33: warning: passing 'uchar [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            scanCtl.MsgCallback(msgbuf, TRUE);
                                ^~~~~~
epgctl/epgscan.c:214:24: warning: passing 'uchar [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "storing provider's EPG teletext page number %03X", oldPageNo);
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:215:36: warning: passing 'uchar [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               scanCtl.MsgCallback(msgbuf, TRUE);
                                   ^~~~~~
epgctl/epgscan.c:301:15: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf(msgbuf, "\nFatal error: video/VBI device error:\n%.200s.\n",
              ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:303:27: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      scanCtl.MsgCallback(msgbuf, TRUE);
                          ^~~~~~
epgctl/epgscan.c:403:24: warning: passing 'uchar [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(chanName, "#%d", scanCtl.channel);
                       ^~~~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:406:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "Channel %s: CNI 0x%04X %s", chanName, cni, pName);
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:409:43: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(msgbuf + strlen(msgbuf), " (%s)", pCountry);
                                          ^~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgctl/epgscan.c:409:27: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(msgbuf + strlen(msgbuf), " (%s)", pCountry);
                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:412:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "Channel %s: CNI 0x%04X \"%s\"", chanName, cni, dispText);
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:414:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "Channel %s: CNI 0x%04X", chanName, cni);
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:415:33: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            scanCtl.MsgCallback(msgbuf, FALSE);
                                ^~~~~~
epgctl/epgscan.c:426:27: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(msgbuf, "Provider '%s' is already known - skipping.",
                          ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:428:39: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  scanCtl.MsgCallback(msgbuf, TRUE);
                                      ^~~~~~
epgctl/epgscan.c:469:27: warning: passing 'uchar [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(chanName, "#%d", scanCtl.channel);
                          ^~~~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:470:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "Channel %s: found some kind of data transmission", chanName);
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:474:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "Found some kind of data transmission on %d TTX page%s", dataPageCnt, ((dataPageCnt == 1) ? "" : "s"));
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:476:33: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            scanCtl.MsgCallback(msgbuf, FALSE);
                                ^~~~~~
epgctl/epgscan.c:532:24: warning: passing 'uchar [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(chanName, "#%d", scanCtl.channel);
                       ^~~~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:534:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "Channel %s: CNI 0x0000 \"%s\"", chanName, dispText);
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:536:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "Channel %s: no CNI received - skipping", chanName);
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:537:33: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            scanCtl.MsgCallback(msgbuf, FALSE);
                                ^~~~~~
epgctl/epgscan.c:551:27: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(msgbuf, "Provider '%s' not refreshed, but database OK.", AI_GET_NETWOP_NAME(pAi, pAi->thisNetwop));
                          ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:559:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "Defective database 0x%04X remains to be repaired.", scanCtl.provCniTab[scanCtl.channel - 1]);
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:562:33: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            scanCtl.MsgCallback(msgbuf, TRUE);
                                ^~~~~~
epgctl/epgscan.c:595:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "\nFatal error: channel change failed:\n%.200s.\n",
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:597:36: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               scanCtl.MsgCallback(msgbuf, TRUE);
                                   ^~~~~~
epgctl/epgscan.c:621:27: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(msgbuf, "\nFound %d new Nextview provider%s.", scanCtl.newProvCount, ((scanCtl.newProvCount == 1) ? "" : "s"));
                          ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:622:39: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  scanCtl.MsgCallback(msgbuf, FALSE);
                                      ^~~~~~
epgctl/epgscan.c:638:24: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(msgbuf, "\nSummary:\n"
                       ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:645:36: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               scanCtl.MsgCallback(msgbuf, FALSE);
                                   ^~~~~~
epgctl/epgscan.c:723:21: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            sprintf(msgbuf, "\nFailed to open the VBI (i.e. teletext) device:\n%.200s.\n",
                    ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:725:33: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            scanCtl.MsgCallback(msgbuf, FALSE);
                                ^~~~~~
epgctl/epgscan.c:767:27: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(msgbuf, "Starting scan on channel %s", chanName);
                          ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:770:27: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(msgbuf, "Starting scan on %d known channels", scanCtl.provFreqCount);
                          ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:771:36: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               scanCtl.MsgCallback(msgbuf, FALSE);
                                   ^~~~~~
epgctl/epgscan.c:780:21: warning: passing 'uchar [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            sprintf(msgbuf, "\nFailed to open video input channel:\n%.200s.\n",
                    ^~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgctl/epgscan.c:782:33: warning: passing 'uchar [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            scanCtl.MsgCallback(msgbuf, FALSE);
                                ^~~~~~
41 warnings generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgctl/epgctxctl.o epgctl/epgctxctl.c
epgctl/epgctxctl.c:301:16: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
               xfree(pContext->pDbContext->pAiBlock);
               ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
1 warning generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgctl/epgctxmerge.o epgctl/epgctxmerge.c
epgctl/epgctxmerge.c:130:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
   xfree(pMergeContextPtr);
   ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
1 warning generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgctl/epgacqclnt.o epgctl/epgacqclnt.c
epgctl/epgacqclnt.c:173:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
      xfree(pWalk);
      ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
epgctl/epgacqclnt.c:302:75: warning: if statement has empty body [-Wempty-body]
         if (len == sizeof(EPGNETIO_MSG_HEADER) + sizeof(pBody->dump_ind));
                                                                          ^
2 warnings generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgctl/epgacqsrv.o epgctl/epgacqsrv.c
epgctl/epgacqsrv.c:642:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
      xfree(pMsg);
      ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
1 warning generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgdb/epgstream.o epgdb/epgstream.c
epgdb/epgstream.c:156:10: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
         xfree(pBlock);
         ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
1 warning generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgdb/epgdbmerge.o epgdb/epgdbmerge.c
epgdb/epgdbmerge.c:157:14: warning: assigning to 'const uchar *' (aka 'const unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
      pTitle = "";
             ^ ~~
epgdb/epgdbmerge.c:170:40: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               slInfoLen += 3 + strlen(PI_GET_SHORT_INFO(&pFoundBlocks[actIdx]->blk.pi));
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./epgdb/epgblock.h:213:32: note: expanded from macro 'PI_GET_SHORT_INFO'
#define PI_GET_SHORT_INFO(X)   ((const uchar*)(X)+((X)->off_short_info))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:174:40: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               slInfoLen += 3 + strlen(PI_GET_LONG_INFO(&pFoundBlocks[actIdx]->blk.pi));
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./epgdb/epgblock.h:215:32: note: expanded from macro 'PI_GET_LONG_INFO'
#define PI_GET_LONG_INFO(X)    ((const uchar*)(X)+((X)->off_long_info))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:182:42: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   blockSize = sizeof(PI_BLOCK) + strlen(pTitle) + 1 + slInfoLen + (piCount * sizeof(DESCRIPTOR));
                                         ^~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:397:37: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strcpy((char*)PI_GET_TITLE(pPi), pTitle);
                                    ^~~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
epgdb/epgdbmerge.c:398:18: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   off += strlen(pTitle) + 1;
                 ^~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:416:62: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  strcpy((char*)PI_GET_STR_BY_OFF(pPi, off), PI_GET_SHORT_INFO(&pFoundBlocks[actIdx]->blk.pi));
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./epgdb/epgblock.h:213:32: note: expanded from macro 'PI_GET_SHORT_INFO'
#define PI_GET_SHORT_INFO(X)   ((const uchar*)(X)+((X)->off_short_info))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
epgdb/epgdbmerge.c:417:33: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  off += strlen(PI_GET_STR_BY_OFF(pPi, off));
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./epgdb/epgblock.h:216:32: note: expanded from macro 'PI_GET_STR_BY_OFF'
#define PI_GET_STR_BY_OFF(X,O) ((const uchar*)(X)+(O))
                               ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:431:62: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  strcpy((char*)PI_GET_STR_BY_OFF(pPi, off), PI_GET_LONG_INFO(&pFoundBlocks[actIdx]->blk.pi));
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./epgdb/epgblock.h:215:32: note: expanded from macro 'PI_GET_LONG_INFO'
#define PI_GET_LONG_INFO(X)    ((const uchar*)(X)+((X)->off_long_info))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
epgdb/epgdbmerge.c:432:33: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  off += strlen(PI_GET_STR_BY_OFF(pPi, off));
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./epgdb/epgblock.h:216:32: note: expanded from macro 'PI_GET_STR_BY_OFF'
#define PI_GET_STR_BY_OFF(X,O) ((const uchar*)(X)+(O))
                               ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:713:13: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
            xfree(pWalk);
            ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
epgdb/epgdbmerge.c:779:31: warning: initializing 'const uchar *const' (aka 'const unsigned char *const') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign]
   static const uchar * const mergedServiceName = "Merged database (";
                              ^                   ~~~~~~~~~~~~~~~~~~~
epgdb/epgdbmerge.c:786:17: warning: passing 'const uchar *const' (aka 'const unsigned char *const') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   len = strlen(mergedServiceName) + 5;
                ^~~~~~~~~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:791:21: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      len += strlen(name) + 2;
                    ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:796:11: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strcpy(mergeName, mergedServiceName);
          ^~~~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
epgdb/epgdbmerge.c:796:22: warning: passing 'const uchar *const' (aka 'const unsigned char *const') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strcpy(mergeName, mergedServiceName);
                     ^~~~~~~~~~~~~~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
epgdb/epgdbmerge.c:803:14: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcat(mergeName, name);
             ^~~~~~~~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
epgdb/epgdbmerge.c:803:25: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcat(mergeName, name);
                        ^~~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
epgdb/epgdbmerge.c:805:17: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         strcat(mergeName, ", ");
                ^~~~~~~~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
epgdb/epgdbmerge.c:807:11: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strcat(mergeName, ")");
          ^~~~~~~~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
epgdb/epgdbmerge.c:902:37: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  nameLen += strlen(AI_GET_STR_BY_OFF(pAi, pNetwops->off_name)) + 1;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./epgdb/epgblock.h:93:33: note: expanded from macro 'AI_GET_STR_BY_OFF'
#define AI_GET_STR_BY_OFF(X,O)  ((const uchar *)(X)+(O))
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:926:22: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              strlen(pServiceName) + 1 +
                     ^~~~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:941:59: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strcpy((char *)AI_GET_STR_BY_OFF(pTargetAi, blockLen), pServiceName);
                                                          ^~~~~~~~~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
epgdb/epgdbmerge.c:942:23: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   blockLen += strlen(pServiceName) + 1;
                      ^~~~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbmerge.c:964:69: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            strcpy((char *) AI_GET_STR_BY_OFF(pTargetAi, blockLen), AI_GET_STR_BY_OFF(pAi, pNetwops->off_name));
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./epgdb/epgblock.h:93:33: note: expanded from macro 'AI_GET_STR_BY_OFF'
#define AI_GET_STR_BY_OFF(X,O)  ((const uchar *)(X)+(O))
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
epgdb/epgdbmerge.c:965:32: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            blockLen += strlen(AI_GET_STR_BY_OFF(pAi, pNetwops->off_name)) + 1;
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./epgdb/epgblock.h:93:33: note: expanded from macro 'AI_GET_STR_BY_OFF'
#define AI_GET_STR_BY_OFF(X,O)  ((const uchar *)(X)+(O))
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
26 warnings generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgdb/epgdbsav.o epgdb/epgdbsav.c
epgdb/epgdbsav.c:98:15: warning: passing 'uchar [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strncpy(header.magic, MAGIC_STR, MAGIC_STR_LEN);
              ^~~~~~~~~~~~
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
epgdb/epgdbsav.c:234:18: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         sprintf(pFilename, "%s" PATH_SEPARATOR_STR DUMP_NAME_FMT_UNIX, epgDbDirPath, cni);
                 ^~~~~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgdb/epgdbsav.c:236:18: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         sprintf(pFilename, "%s" PATH_SEPARATOR_STR DUMP_NAME_FMT_DOS, epgDbDirPath, cni);
                 ^~~~~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgdb/epgdbsav.c:242:17: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      fd = open(pFilename, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0666);
                ^~~~~~~~~
/usr/include/fcntl.h:299:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
epgdb/epgdbsav.c:296:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
      xfree(pFilename);
      ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
epgdb/epgdbsav.c:554:19: warning: passing 'uchar [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (strncmp(pHead->magic, MAGIC_STR, MAGIC_STR_LEN) == 0)
                  ^~~~~~~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
epgdb/epgdbsav.c:654:41: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      nameFmt = EpgDbBuildFileName(cni, pFilename);
                                        ^~~~~~~~~
epgdb/epgdbsav.c:184:57: note: passing argument to parameter 'pFilename' here
static DB_FMT_TYPE EpgDbBuildFileName( uint cni, char * pFilename )
                                                        ^
epgdb/epgdbsav.c:660:14: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(pFilename, epgDemoDb);
             ^~~~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
epgdb/epgdbsav.c:665:14: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   fd = open(pFilename, O_RDONLY|O_BINARY);
             ^~~~~~~~~
/usr/include/fcntl.h:299:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
epgdb/epgdbsav.c:919:38: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   nameFmt = EpgDbBuildFileName(cni, pFilename);
                                     ^~~~~~~~~
epgdb/epgdbsav.c:184:57: note: passing argument to parameter 'pFilename' here
static DB_FMT_TYPE EpgDbBuildFileName( uint cni, char * pFilename )
                                                        ^
epgdb/epgdbsav.c:920:14: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   fd = open(pFilename, O_RDONLY|O_BINARY);
             ^~~~~~~~~
/usr/include/fcntl.h:299:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
epgdb/epgdbsav.c:1361:28: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   EpgDbBuildFileName(cni, pFilename);
                           ^~~~~~~~~
epgdb/epgdbsav.c:184:57: note: passing argument to parameter 'pFilename' here
static DB_FMT_TYPE EpgDbBuildFileName( uint cni, char * pFilename )
                                                        ^
epgdb/epgdbsav.c:1362:14: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   fd = open(pFilename, O_RDWR|O_BINARY);
             ^~~~~~~~~
/usr/include/fcntl.h:299:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
epgdb/epgdbsav.c:1368:24: warning: passing 'uchar [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (strncmp(head.magic, MAGIC_STR, MAGIC_STR_LEN) == 0) &&
                       ^~~~~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
epgdb/epgdbsav.c:1427:28: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   EpgDbBuildFileName(cni, pFilename);
                           ^~~~~~~~~
epgdb/epgdbsav.c:184:57: note: passing argument to parameter 'pFilename' here
static DB_FMT_TYPE EpgDbBuildFileName( uint cni, char * pFilename )
                                                        ^
epgdb/epgdbsav.c:1428:14: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   fd = open(pFilename, O_RDONLY|O_BINARY);
             ^~~~~~~~~
/usr/include/fcntl.h:299:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
epgdb/epgdbsav.c:1434:24: warning: passing 'uchar [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (strncmp(head.magic, MAGIC_STR, MAGIC_STR_LEN) == 0) &&
                       ^~~~~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
epgdb/epgdbsav.c:1471:28: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   EpgDbBuildFileName(cni, pFilename);
                           ^~~~~~~~~
epgdb/epgdbsav.c:184:57: note: passing argument to parameter 'pFilename' here
static DB_FMT_TYPE EpgDbBuildFileName( uint cni, char * pFilename )
                                                        ^
epgdb/epgdbsav.c:1472:14: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   fd = open(pFilename, O_RDONLY|O_BINARY);
             ^~~~~~~~~
/usr/include/fcntl.h:299:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
epgdb/epgdbsav.c:1478:24: warning: passing 'uchar [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (strncmp(head.magic, MAGIC_STR, MAGIC_STR_LEN) == 0) &&
                       ^~~~~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
epgdb/epgdbsav.c:1514:12: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   sprintf(pFilename, "%s/" DUMP_NAME_FMT_UNIX, epgDbDirPath, cni);
           ^~~~~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgdb/epgdbsav.c:1515:17: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( (unlink(pFilename) != 0) && (access(pFilename, F_OK) != 0) )
                ^~~~~~~~~
/usr/include/unistd.h:144:25: note: passing argument to parameter here
int      unlink(const char *);
                            ^
epgdb/epgdbsav.c:1515:45: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( (unlink(pFilename) != 0) && (access(pFilename, F_OK) != 0) )
                                            ^~~~~~~~~
/usr/include/unistd.h:88:25: note: passing argument to parameter here
int      access(const char *, int);
                            ^
epgdb/epgdbsav.c:1521:12: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   sprintf(pFilename, "%s/" DUMP_NAME_FMT_DOS, epgDbDirPath, cni);
           ^~~~~~~~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
epgdb/epgdbsav.c:1522:17: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( (unlink(pFilename) != 0) && (access(pFilename, F_OK) != 0) )
                ^~~~~~~~~
/usr/include/unistd.h:144:25: note: passing argument to parameter here
int      unlink(const char *);
                            ^
epgdb/epgdbsav.c:1522:45: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( (unlink(pFilename) != 0) && (access(pFilename, F_OK) != 0) )
                                            ^~~~~~~~~
/usr/include/unistd.h:88:25: note: passing argument to parameter here
int      access(const char *, int);
                            ^
26 warnings generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgdb/epgdbmgmt.o epgdb/epgdbmgmt.c
epgdb/epgdbmgmt.c:89:10: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
         xfree(pWalk);
         ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
1 warning generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgdb/epgdbif.o epgdb/epgdbif.c
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgdb/epgdbfil.o epgdb/epgdbfil.c
epgdb/epgdbfil.c:172:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
      xfree(pWalk);
      ^
./epgctl/debug.h:217:24: note: expanded from macro 'xfree'
#define xfree(PTR)     free(PTR)
                       ^
epgdb/epgdbfil.c:929:49: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      size = sizeof(EPGDB_FILT_SUBSTR) + strlen(pStr) + 1 - 1;
                                                ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
epgdb/epgdbfil.c:937:14: warning: passing 'uchar [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(pSubStrCtx->str, pStr);
             ^~~~~~~~~~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
epgdb/epgdbfil.c:937:31: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(pSubStrCtx->str, pStr);
                              ^~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
epgdb/epgdbfil.c:1001:39: warning: passing 'const char *' to parameter of type 'const uchar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            EpgDbFilter_SubstrToLower(str, pCache, cacheSize);
                                      ^~~
epgdb/epgdbfil.c:964:54: note: passing argument to parameter 'src' here
static void EpgDbFilter_SubstrToLower( const uchar * src, uchar * dst, uint maxLen )
                                                     ^
epgdb/epgdbfil.c:1005:26: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         match = (strstr(pCache, ssc->str) != NULL);
                         ^~~~~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
epgdb/epgdbfil.c:1005:34: warning: passing 'uchar const[1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         match = (strstr(pCache, ssc->str) != NULL);
                                 ^~~~~~~~
/usr/include/string.h:68:40: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                                          ^
epgdb/epgdbfil.c:1009:35: warning: passing 'uchar const[1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         match = (strcasecmp(str, ssc->str) == 0);
                                  ^~~~~~~~
/usr/include/strings.h:63:43: note: passing argument to parameter here
int      strcasecmp(const char *, const char *);
                                              ^
epgdb/epgdbfil.c:1016:31: warning: passing 'uchar const[1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         match = (strstr(str, ssc->str) != NULL);
                              ^~~~~~~~
/usr/include/string.h:68:40: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                                          ^
epgdb/epgdbfil.c:1020:31: warning: passing 'uchar const[1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         match = (strcmp(str, ssc->str) == 0);
                              ^~~~~~~~
/usr/include/string.h:56:39: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                                          ^
epgdb/epgdbfil.c:1049:27: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if (xstrcmp(ssc, pTitleStr, title, sizeof(title), &title_lower))
                          ^~~~~~~~~
epgdb/epgdbfil.c:988:65: note: passing argument to parameter 'str' here
static bool xstrcmp( const EPGDB_FILT_SUBSTR *ssc, const char * str,
                                                                ^
epgdb/epgdbfil.c:1056:52: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( ((pShortStr != NULL) && xstrcmp(ssc, pShortStr, short_info, sizeof(short_info), &short_lower)) ||
                                                   ^~~~~~~~~
epgdb/epgdbfil.c:988:65: note: passing argument to parameter 'str' here
static bool xstrcmp( const EPGDB_FILT_SUBSTR *ssc, const char * str,
                                                                ^
epgdb/epgdbfil.c:1057:51: warning: passing 'const uchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              ((pLongStr != NULL) && xstrcmp(ssc, pLongStr, long_info, sizeof(long_info), &long_lower)) )
                                                  ^~~~~~~~
epgdb/epgdbfil.c:988:65: note: passing argument to parameter 'str' here
static bool xstrcmp( const EPGDB_FILT_SUBSTR *ssc, const char * str,
                                                                ^
13 warnings generated.
gcc -O2 -DUSE_THREADS=1 -pthread -I/usr/include -I/usr/pkg/include -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include/tcl8.4 -I/usr/pkg/include/tk8.4 -I. -I/usr/pkg/include -DTK_LIBRARY_PATH=\"/usr/pkg/lib/tk8.4\" -DTCL_LIBRARY_PATH=\"/usr/pkg/lib/tcl8.4\" -DX11_APP_DEFAULTS=\"/usr/pkg/lib/X11/app-defaults/Nxtvepg\" -DUSE_THREADS -DUSE_DAEMON -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\".nxtvdb\" -Ibuild-netbsd -Wp,-MMD,build-netbsd/deps.tmp -c -o build-netbsd/epgdb/epgblock.o epgdb/epgblock.c
epgdb/epgblock.c:256:7: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
      ^
epgdb/epgblock.c:256:22: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
                     ^
epgdb/epgblock.c:256:27: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
                          ^
epgdb/epgblock.c:256:32: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
                               ^
epgdb/epgblock.c:256:37: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
                                    ^
epgdb/epgblock.c:256:47: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
                                              ^
epgdb/epgblock.c:256:52: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
                                                   ^
epgdb/epgblock.c:256:57: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
                                                        ^
epgdb/epgblock.c:256:62: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
                                                             ^
epgdb/epgblock.c:256:67: error: illegal sequence in character literal
    { '£', '$', '@', '«', '½', '»', '¬', '#', '­', '¼', '¦', '¾', '÷' },
                                                                  ^
epgdb/epgblock.c:258:17: error: illegal sequence in character literal
    { '#', '$', '§', 'Ä', 'Ö', 'Ü', '^', '_', '°', 'ä', 'ö', 'ü', 'ß' },
                ^
epgdb/epgblock.c:258:22: error: illegal sequence in character literal
    { '#', '$', '§', 'Ä', 'Ö', 'Ü', '^', '_', '°', 'ä', 'ö', 'ü', 'ß' },
                     ^
epgdb/epgblock.c:258:27: error: illegal sequence in character literal
    { '#', '$', '§', 'Ä', 'Ö', 'Ü', '^', '_', '°', 'ä', 'ö', 'ü', 'ß' },
                          ^
epgdb/epgblock.c:258:32: error: illegal sequence in character literal
    { '#', '$', '§', 'Ä', 'Ö', 'Ü', '^', '_', '°', 'ä', 'ö', 'ü', 'ß' },
                               ^
epgdb/epgblock.c:258:47: error: illegal sequence in character literal
    { '#', '$', '§', 'Ä', 'Ö', 'Ü', '^', '_', '°', 'ä', 'ö', 'ü', 'ß' },
                                              ^
epgdb/epgblock.c:258:52: error: illegal sequence in character literal
    { '#', '$', '§', 'Ä', 'Ö', 'Ü', '^', '_', '°', 'ä', 'ö', 'ü', 'ß' },
                                                   ^
epgdb/epgblock.c:258:57: error: illegal sequence in character literal
    { '#', '$', '§', 'Ä', 'Ö', 'Ü', '^', '_', '°', 'ä', 'ö', 'ü', 'ß' },
                                                        ^
epgdb/epgblock.c:258:62: error: illegal sequence in character literal
    { '#', '$', '§', 'Ä', 'Ö', 'Ü', '^', '_', '°', 'ä', 'ö', 'ü', 'ß' },
                                                             ^
epgdb/epgblock.c:258:67: error: illegal sequence in character literal
    { '#', '$', '§', 'Ä', 'Ö', 'Ü', '^', '_', '°', 'ä', 'ö', 'ü', 'ß' },
                                                                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake: *** [build-netbsd/epgdb/epgblock.o] Error 1
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/misc/nxtvepg
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/misc/nxtvepg
