Bug 46847 - new port: multimedia/nxtvepg (electronic tv programme guide, bktr)
Summary: new port: multimedia/nxtvepg (electronic tv programme guide, bktr)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-08 01:10 UTC by Simon Barner
Modified: 2003-10-06 02:51 UTC (History)
0 users

See Also:


Attachments
file.shar (13.99 KB, text/plain)
2003-01-08 01:10 UTC, Simon Barner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 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 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 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!