=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for tkgate-1.6inb5
--- all ---
--- tkgate._man ---
--- all ---
making all in ./src/common...
--- hash.o ---
--- tkgate._man ---
rm -f tkgate._man
if test -z "" ; then  cd `dirname tkgate` &&  ln -s `basename tkgate.man` `basename tkgate._man`;  else  cpp -undef -traditional  -D__apploaddir__=/usr/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 6 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 6 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org"   < tkgate.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d' 			-e '/^#line  *[0-9][0-9]*  *.*$/d' 			-e '/^[ 	]*XCOMM$/s/XCOMM/#/' 			-e '/^[ 	]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' 			-e '/^[ 	]*XHASH/s/XHASH/#/' 			-e '/\@\@$/s/\@\@$/\\/' >tkgate._man;  fi
--- all ---
gcc -O2      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c hash.c
--- list.o ---
gcc -O2      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c list.c
--- gmac._man ---
rm -f gmac._man
if test -z "" ; then  cd `dirname gmac` &&  ln -s `basename gmac.man` `basename gmac._man`;  else  cpp -undef -traditional  -D__apploaddir__=/usr/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 6 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 6 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org"   < gmac.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d' 			-e '/^#line  *[0-9][0-9]*  *.*$/d' 			-e '/^[ 	]*XCOMM$/s/XCOMM/#/' 			-e '/^[ 	]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' 			-e '/^[ 	]*XHASH/s/XHASH/#/' 			-e '/\@\@$/s/\@\@$/\\/' >gmac._man;  fi
--- all ---
--- ycmalloc.o ---
gcc -O2      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c ycmalloc.c
--- misc.o ---
gcc -O2      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c misc.c
--- ycmalloc.o ---
ycmalloc.c:106:7: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
  L = strlen(S);
      ^
ycmalloc.c:106:7: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
ycmalloc.c:108:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
  strcpy(N,S);
  ^
ycmalloc.c:108:3: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
ycmalloc.c:136:3: warning: implicitly declaring library function 'vsprintf' with type 'int (char *, const char *, __va_list_tag *)'
  vsprintf(buf,s,ap);
  ^
ycmalloc.c:136:3: note: please include the header <stdio.h> or explicitly provide a declaration for 'vsprintf'
3 warnings generated.
--- vgrammar.o ---
--- expr.o ---
gcc -O2      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c expr.c
--- vgrammar.o ---
gcc -O2      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c vgrammar.c
vgrammar.y:245:7: warning: implicit declaration of function 'BeginVN' is invalid in C99 [-Wimplicit-function-declaration]
    { BeginVN(); }
      ^
vgrammar.y:245:7: warning: implicit declaration of function 'BeginDD' is invalid in C99 [-Wimplicit-function-declaration]
    { BeginDD(); }
      ^
vgrammar.y:271:7: warning: implicit declaration of function 'BeginDDP' is invalid in C99 [-Wimplicit-function-declaration]
    { BeginDDP(); }
      ^
--- expr.o ---
expr.c:31:18: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)'
  int *p = (int*)malloc(sizeof(int));
                 ^
expr.c:31:18: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
expr.c:48:15: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
  if (E->lit) free(E->lit);
              ^
expr.c:407:5: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)'
    printf("; ");
    ^
expr.c:407:5: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
expr.c:510:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
--- vgrammar.o ---
3 warnings generated.
--- delay.o ---
gcc -O2      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c delay.c
delay.c:123:3: warning: implicit declaration of function 'BeginDD' is invalid in C99 [-Wimplicit-function-declaration]
  BeginDD();
  ^
delay.c:124:3: warning: implicit declaration of function 'yyrestart' is invalid in C99 [-Wimplicit-function-declaration]
  yyrestart(f);
  ^
--- expr.o ---
4 warnings generated.
--- luthor.o ---
gcc -O2      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c luthor.c
--- delay.o ---
2 warnings generated.
--- libcommon.a ---
rm -f libcommon.a
ar clq libcommon.a hash.o list.o misc.o ycmalloc.o
ranlib libcommon.a
--- libvparser.a ---
rm -f libvparser.a
ar clq libvparser.a vgrammar.o luthor.o expr.o delay.o
ranlib libvparser.a
making all in ./src/tkgate...
--- tkgate.o ---
--- tkgatewin.o ---
--- tkgate.o ---
gcc -O2    -I/usr/pkg/include  -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c tkgate.c
--- tkgatewin.o ---
gcc -O2    -I/usr/pkg/include  -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c tkgatewin.c
tkgatewin.c:82:13: warning: enumeration values 'MM_EDIT' and 'MM_ANALYZE' not handled in switch [-Wswitch]
    switch (cm) {
            ^
tkgatewin.c:104:5: warning: implicit declaration of function 'cpath_close' is invalid in C99 [-Wimplicit-function-declaration]
    cpath_close();
    ^
tkgatewin.c:124:5: warning: implicit declaration of function 'cpath_open' is invalid in C99 [-Wimplicit-function-declaration]
    cpath_open();
    ^
--- tkgate.o ---
tkgate.c:484:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types]
  p = Tcl_GetVar(XGate.tcl,"tkg_simDefaultDelayFile",TCL_GLOBAL_ONLY);
    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgate.c:488:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types]
  p = Tcl_GetVar(XGate.tcl,"tkg_simDelayFile",TCL_GLOBAL_ONLY);
    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgate.c:548:5: warning: implicit declaration of function 'tkgate_setMajorMode' is invalid in C99 [-Wimplicit-function-declaration]
    tkgate_setMajorMode(MM_SIMULATE);
    ^
tkgate.c:578:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types]
  char *lang = Tcl_GetVar(tcl,"lang",TCL_GLOBAL_ONLY);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- tkgatewin.o ---
tkgatewin.c:270:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.instGC,            GXxor, Tcl_GetVar(XGate.tcl,"tkg_instColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:271:40: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.moduleGC,          GXxor, Tcl_GetVar(XGate.tcl,"tkg_moduleColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:272:41: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.modportGC,         GXxor, Tcl_GetVar(XGate.tcl,"tkg_modulePortColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:273:39: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.frameGC,           GXxor, Tcl_GetVar(XGate.tcl,"tkg_frameColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
--- tkgate.o ---
tkgate.c:646:29: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
--- tkgatewin.o ---
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
--- tkgate.o ---
  Tcl_CreateCommand(tcl,"m",gat_msgLookup,(ClientData)0,0);
                            ^~~~~~~~~~~~~
--- tkgatewin.o ---
tkgatewin.c:274:41: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.commentGC,         GXxor, Tcl_GetVar(XGate.tcl,"tkg_commentColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
--- tkgate.o ---
/scratch/cad/tkgate/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tkgate.c:652:3: warning: implicit declaration of function 'init_gates' is invalid in C99 [-Wimplicit-function-declaration]
  init_gates();                         /* initialized built-in gate types */
  ^
--- tkgatewin.o ---
tkgatewin.c:275:42: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.hyperlinkGC,       GXxor, Tcl_GetVar(XGate.tcl,"tkg_hyperlinkColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:276:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.wireGC,            GXxor, Tcl_GetVar(XGate.tcl,"tkg_wireColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:277:37: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.busGC,             GXxor, Tcl_GetVar(XGate.tcl,"tkg_busColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:278:41: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.selWireGC,         GXxor, Tcl_GetVar(XGate.tcl,"tkg_wireColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:279:40: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.selBusGC,          GXxor, Tcl_GetVar(XGate.tcl,"tkg_busColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:280:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.toolGC,            GXxor, Tcl_GetVar(XGate.tcl,"tkg_toolColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:281:39: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.cpathGC,           GXxor, Tcl_GetVar(XGate.tcl,"tkg_cpathColor",TCL_GLOBAL_ONLY));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:285:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.scopeGridGC,       GXcopy, Tcl_GetVar(XGate.tcl,"tkg_gridColor",TCL_GLOBAL_ONLY));
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:286:42: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.scopeOneGC,        GXcopy, Tcl_GetVar(XGate.tcl,"tkg_oneColor",TCL_GLOBAL_ONLY));
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:287:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.scopeZeroGC,       GXcopy, Tcl_GetVar(XGate.tcl,"tkg_zeroColor",TCL_GLOBAL_ONLY));
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:288:44: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.scopeFloatGC,      GXcopy, Tcl_GetVar(XGate.tcl,"tkg_floatColor",TCL_GLOBAL_ONLY));
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:289:46: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  Tkg_setColor(XGate.scopeUnknownGC,    GXcopy, Tcl_GetVar(XGate.tcl,"tkg_unknownColor",TCL_GLOBAL_ONLY));
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:220:41: note: passing argument to parameter 'colorName' here
void Tkg_setColor(GC gc,int func, char *colorName)
                                        ^
tkgatewin.c:291:41: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  XGate.inst_pixel       = Tkg_GetColor(Tcl_GetVar(XGate.tcl,"tkg_instColor",TCL_GLOBAL_ONLY));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:176:24: note: passing argument to parameter 'name' here
int Tkg_GetColor(char *name)
                       ^
tkgatewin.c:292:41: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  XGate.ledoff_pixel     = Tkg_GetColor(Tcl_GetVar(XGate.tcl,"tkg_offLedColor",TCL_GLOBAL_ONLY));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:176:24: note: passing argument to parameter 'name' here
int Tkg_GetColor(char *name)
                       ^
tkgatewin.c:293:41: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  XGate.ledon_pixel      = Tkg_GetColor(Tcl_GetVar(XGate.tcl,"tkg_onLedColor",TCL_GLOBAL_ONLY));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:176:24: note: passing argument to parameter 'name' here
int Tkg_GetColor(char *name)
                       ^
tkgatewin.c:294:41: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  XGate.ledunknown_pixel = Tkg_GetColor(Tcl_GetVar(XGate.tcl,"tkg_zLedColor",TCL_GLOBAL_ONLY));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:176:24: note: passing argument to parameter 'name' here
int Tkg_GetColor(char *name)
                       ^
tkgatewin.c:296:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  XGate.comment_pixel = Tkg_GetColor(Tcl_GetVar(XGate.tcl,"tkg_commentColor",TCL_GLOBAL_ONLY));
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:176:24: note: passing argument to parameter 'name' here
int Tkg_GetColor(char *name)
                       ^
tkgatewin.c:297:40: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types]
  XGate.hyperlink_pixel = Tkg_GetColor(Tcl_GetVar(XGate.tcl,"tkg_hyperlinkColor",TCL_GLOBAL_ONLY));
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:176:24: note: passing argument to parameter 'name' here
int Tkg_GetColor(char *name)
                       ^
tkgatewin.c:783:59: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types]
  if (Tk_ConfigureWidget(tcl, gw->win, configSpecs, argc, argv, (char*) gw, flags) != TCL_OK)
                                                          ^~~~
/scratch/cad/tkgate/work/.buildlink/include/tkDecls.h:221:30: note: passing argument to parameter 'argv' here
                                int argc, CONST84 char **argv, char *widgRec,
                                                         ^
tkgatewin.c:850:42: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
  Tcl_CreateCommand(tcl, Tk_PathName(w), gateWinCommand, gw, gateWinDestroy);
                                         ^~~~~~~~~~~~~~
/scratch/cad/tkgate/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tkgatewin.c:912:5: warning: implicit declaration of function 'cpath_mouseDown' is invalid in C99 [-Wimplicit-function-declaration]
    cpath_mouseDown(es);
    ^
tkgatewin.c:953:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types]
  currentFile = Tcl_GetVar(XGate.tcl,"tkg_currentFile",TCL_GLOBAL_ONLY);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tkgatewin.c:995:5: warning: implicit declaration of function 'cpath_mouseUp' is invalid in C99 [-Wimplicit-function-declaration]
    cpath_mouseUp(es);
    ^
tkgatewin.c:1045:5: warning: implicit declaration of function 'verify_circuit' is invalid in C99 [-Wimplicit-function-declaration]
    verify_circuit();
    ^
tkgatewin.c:1138:8: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
                    ,gat_scope
                     ^~~~~~~~~
/scratch/cad/tkgate/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tkgatewin.c:1143:8: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
                    ,makeGateWin
                     ^~~~~~~~~~~
/scratch/cad/tkgate/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tkgatewin.c:1148:8: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
                    ,pressGateWin
                     ^~~~~~~~~~~~
/scratch/cad/tkgate/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tkgatewin.c:1153:8: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
                    ,doublePressGateWin
                     ^~~~~~~~~~~~~~~~~~
/scratch/cad/tkgate/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tkgatewin.c:1158:8: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
                    ,releaseGateWin
                     ^~~~~~~~~~~~~~
/scratch/cad/tkgate/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tkgatewin.c:1163:8: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
                    ,motionGateWin
                     ^~~~~~~~~~~~~
/scratch/cad/tkgate/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
--- tkgate.o ---
6 warnings generated.
--- ascii.o ---
gcc -O2    -I/usr/pkg/include  -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c ascii.c
--- tkgatewin.o ---
38 warnings generated.
--- defaults.o ---
gcc -O2    -I/usr/pkg/include  -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c defaults.c
--- edit.o ---
gcc -O2    -I/usr/pkg/include  -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c edit.c
--- error.o ---
gcc -O2    -I/usr/pkg/include  -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c error.c
--- edit.o ---
edit.c:750:5: error: non-void function 'PrintNet' should return a value [-Wreturn-type]
    return;
    ^
edit.c:1169:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types]
    home = Tcl_GetVar(XGate.tcl,"tkg_gateHome",TCL_GLOBAL_ONLY);
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
edit.c:1249:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types]
  char *home    = Tcl_GetVar(XGate.tcl,"tkg_gateHome",TCL_GLOBAL_ONLY);
        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
edit.c:1250:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types]
  char *curfile = Tcl_GetVar(XGate.tcl,"tkg_currentFile",TCL_GLOBAL_ONLY);
        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 1 error generated.
*** [edit.o] Error code 1

make: stopped in /scratch/cad/tkgate/work/tkgate-1.6i/src/tkgate
--- error.o ---
error.c:181:3: warning: implicit declaration of function 'cpath_reshow' is invalid in C99 [-Wimplicit-function-declaration]
  cpath_reshow();
  ^
1 warning generated.
1 error

make: stopped in /scratch/cad/tkgate/work/tkgate-1.6i/src/tkgate
*** [all] Error code 2

make: stopped in /scratch/cad/tkgate/work/tkgate-1.6i
1 error

make: stopped in /scratch/cad/tkgate/work/tkgate-1.6i
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/cad/tkgate
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/cad/tkgate
