Bug 46847

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 Flags
file.shar none

Description Simon Barner 2003-01-08 01:10:03 UTC
	This is a new port for nxtvepg, an electronic tv programme guide that
	extracts its information from special teletext signals.
	
	The programming will need a working tv tuner card that is supported by the
	bktr(4) driver.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2003-10-06 02:35:52 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
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2003-10-06 02:42:59 UTC
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) 
{
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2003-10-06 02:50:44 UTC
State Changed
From-To: open->closed

Commited, thanks! 
Please give the patches in files/patch-tcl2c.c to the author!