Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2004 21:17:34 +0800 (CST)
From:      Yen-Ming Lee <leeym@utopia.leeym.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        roger@FreeBSD.org
Subject:   ports/63124: unbreak port: misc/vbidecode
Message-ID:  <20040220131734.C1B7F3EA788@utopia.leeym.com>
Resent-Message-ID: <200402201320.i1KDKIHw015831@freefall.freebsd.org>

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

>Number:         63124
>Category:       ports
>Synopsis:       unbreak port: misc/vbidecode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 20 05:20:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.2.1-RC2 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.2.1-RC2 FreeBSD 5.2.1-RC2 #5: Tue Feb 17 05:19:23 CST 2004 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386


	
>Description:

add USE_GCC=2.95, respect CXX, and unbreak this port on -CURRENT.

>How-To-Repeat:

http://bento.freebsd.org/errorlogs/i386-5-latest/vbidecode-1.1.3.log

>Fix:

	

--- vbidecode.diff begins here ---
diff -ruN --exclude CVS /usr/ports/misc/vbidecode/Makefile vbidecode/Makefile
--- /usr/ports/misc/vbidecode/Makefile	Fri Feb  6 23:25:49 2004
+++ vbidecode/Makefile	Fri Feb 20 21:14:56 2004
@@ -19,15 +19,10 @@
 
 PLIST_FILES=		bin/vbidecode
 WRKSRC=			${WRKDIR}/bttv/apps/vbidecode
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN=         "Does not compile (bad C++ code)"
-.endif
+USE_GCC=		2.95
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/vbidecode ${PREFIX}/bin
 	@${STRIP_CMD} ${PREFIX}/bin/vbidecode
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude CVS /usr/ports/misc/vbidecode/files/patch-ab vbidecode/files/patch-ab
--- /usr/ports/misc/vbidecode/files/patch-ab	Mon Sep 20 10:29:48 1999
+++ vbidecode/files/patch-ab	Fri Feb 20 21:12:04 2004
@@ -5,7 +5,7 @@
  
  vbidecode: vbidecode.cc
 -	g++ -g -O6 -fomit-frame-pointer -m486 -funroll-loops -o vbidecode vbidecode.cc 
-+	g++ -g -O6 -fomit-frame-pointer -funroll-loops -o vbidecode vbidecode.cc 
++	${CXX} -g -O6 -fomit-frame-pointer -funroll-loops -o vbidecode vbidecode.cc 
  
  clean:
  	rm -f vbidecode
--- vbidecode.diff ends here ---


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



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