ports/46847: new port: multimedia/nxtvepg (electronic tv programme guide, bktr)

Edwin Groothuis edwin at FreeBSD.org
Mon Oct 6 01:43:34 UTC 2003


Synopsis: new port: multimedia/nxtvepg (electronic tv programme guide, bktr)

State-Changed-From-To: feedback->open
State-Changed-By: edwin
State-Changed-When: Sun Oct 5 18:42:59 PDT 2003
State-Changed-Why: 
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)
     {


http://www.freebsd.org/cgi/query-pr.cgi?pr=46847



More information about the freebsd-ports-bugs mailing list