Summary: | new port: multimedia/nxtvepg (electronic tv programme guide, bktr) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Simon Barner <barner> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Simon Barner
2003-01-08 01:10:03 UTC
State Changed From-To: open->feedback Can't get it working on -current: cc -O -o tcl2c tcl2c.c ./tcl2c epgtcl/mainwin.tcl Cannot create C output file 'epgtcl/mainwinÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐepgtcl/mainwinÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐmainwin.c.h_tcl': No such file or directory gmake: *** [epgtcl/mainwin.c] Error 1 *** Error code 2 State Changed From-To: feedback->open Use this as files/patch-tcl2c.c --- tcl2c.c.orig Sun Nov 3 04:15:11 2002 +++ tcl2c.c Sun Oct 5 18:40:37 2003 @@ -43,6 +43,7 @@ #include <stdlib.h> #include <stdio.h> +#include <time.h> #include <errno.h> #define FALSE 0 @@ -123,6 +124,8 @@ scriptName = malloc(fileNameLen + 1); strncpy(outNameC, argv[1], fileNameLen - 4); strncpy(outNameH, argv[1], fileNameLen - 4); + outNameC[fileNameLen]=0; + outNameH[fileNameLen]=0; baseName = (char *)strrchr(argv[1], '/'); if (baseName != NULL) { State Changed From-To: open->closed Commited, thanks! Please give the patches in files/patch-tcl2c.c to the author! |