Your package fails to build with clang instead of gcc. [-Wreturn-type]
The attached patch fixes it.
 static int             FindVariable _ANSI_ARGS_((char *name, int *lengthPtr));
 
 void                   setenv_tcl _ANSI_ARGS_((char *name, char *value));
-int                    unsetenv_tcl _ANSI_ARGS_((char *name));
+void                   unsetenv_tcl _ANSI_ARGS_((char *name));
 
 \f
 /*
  *----------------------------------------------------------------------
  */
 
-int
+void
 unsetenv_tcl(name)
     char *name;                        /* Name of variable to remove. */
 {
 
  * Error message are not used, so discard with dummy function.
  */
 
-void
+int
 yyerror(msg)
-    char *msg;
+    const char *msg;
 {
 }