Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2000 11:15:49 +0100 (CET)
From:      Alexander Langer <alex@cichlids.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16249: fix misc/vbibecode (bentofied)
Message-ID:  <200001211015.LAA05450@cichlids.cichlids.com>

next in thread | raw e-mail | index | archive | help

>Number:         16249
>Category:       ports
>Synopsis:       fix misc/vbibecode (bentofied)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 21 02:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Langer
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

-current

>Description:

I believe I forgot to file this a PR (at least it doesn't show up in the ports-ml and I got no response from GNATS).
Well, this fixes the compile-problems found by bento (under current)

>How-To-Repeat:

build under current

>Fix:


--- /usr/ports/misc/vbidecode/patches/patch-aa	Tue Jun  8 00:10:33 1999
+++ patches/patch-aa	Thu Jan 20 15:49:01 2000
@@ -1,20 +1,37 @@
-*** vbidecode.cc.orig	Mon Jun  7 17:12:04 1999
---- vbidecode.cc	Mon Jun  7 17:12:20 1999
-*************** TODO:
-*** 52,58 ****
-  #include <sys/stat.h>
-  
-  #include "tables.h"
-! #include "../../driver/bttv.h"
-  
-  int verbosity=0;
-  
---- 52,59 ----
-  #include <sys/stat.h>
-  
-  #include "tables.h"
-! /* #include "../../driver/bttv.h" */
-! #define VBI_MAXLINES 16
-  
-  int verbosity=0;
-  
+--- apps/vbidecode/vbidecode.cc.orig	Sun Feb 28 19:18:04 1999
++++ apps/vbidecode/vbidecode.cc	Thu Jan 20 15:47:58 2000
+@@ -52,7 +52,8 @@
+ #include <sys/stat.h>
+ 
+ #include "tables.h"
+-#include "../../driver/bttv.h"
++/* #include "../../driver/bttv.h" */
++#define VBI_MAXLINES 16
+ 
+ int verbosity=0;
+ 
+@@ -214,7 +215,7 @@
+   int namep;
+   unsigned char *info;
+   
+-  getname(char *name) {
++  int getname(char *name) {
+     memcpy(name,lastname,9);
+   }
+   vpsinfo() {
+@@ -494,13 +495,13 @@
+ struct VDdeco {
+   int Vflag;
+ 
+-  write(unsigned char *data, int n) {
++  int write(unsigned char *data, int n) {
+     int i;
+     for (i=0; i<n; i++)
+       decode(data[i]);
+   }
+ 
+-  decode(unsigned char dat) {
++  int decode(unsigned char dat) {
+     if (!Vflag) {
+       if (dat==0x56)
+ 	Vflag=1;

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001211015.LAA05450>