From hopet@kloboucek.ics.muni.cz  Fri Nov 26 14:55:34 2004
Return-Path: <hopet@kloboucek.ics.muni.cz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 5D8F116A4D0; Fri, 26 Nov 2004 14:55:34 +0000 (GMT)
Received: from kloboucek.ics.muni.cz (kloboucek.ics.muni.cz [147.251.3.38])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id AB2FC43D45; Fri, 26 Nov 2004 14:55:33 +0000 (GMT)
	(envelope-from hopet@kloboucek.ics.muni.cz)
Received: from kloboucek.ics.muni.cz (localhost [127.0.0.1])
	by kloboucek.ics.muni.cz (8.13.1/8.13.1) with ESMTP id iAQEtaBr002671;
	Fri, 26 Nov 2004 15:55:36 +0100 (CET)
	(envelope-from hopet@kloboucek.ics.muni.cz)
Received: (from root@localhost)
	by kloboucek.ics.muni.cz (8.13.1/8.13.1/Submit) id iAQEtaGv002670;
	Fri, 26 Nov 2004 15:55:36 +0100 (CET)
	(envelope-from hopet)
Message-Id: <200411261455.iAQEtaGv002670@kloboucek.ics.muni.cz>
Date: Fri, 26 Nov 2004 15:55:36 +0100 (CET)
From: Petr Holub <hopet@ics.muni.cz>
Reply-To: Petr Holub <hopet@ics.muni.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc: fenner@freebsd.org
Subject: attempt to unbreak vic on FreeBSD 5.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         74417
>Category:       ports
>Synopsis:       attempt to unbreak vic on FreeBSD 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    fenner
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 26 15:00:41 GMT 2004
>Closed-Date:    Wed Jul 20 06:57:41 GMT 2005
>Last-Modified:  Wed Aug 24 13:30:19 GMT 2005
>Originator:     Petr Holub
>Release:        FreeBSD 5.3-RELEASE-p1 i386
>Organization:
Masaryk University
>Environment:
System: FreeBSD kloboucek.ics.muni.cz 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #10: Fri Nov 26 11:28:50 CET 2004 toor@kloboucek.ics.muni.cz:/usr/src/sys/i386/compile/KLOBOUCEK i386


>Description:

	I've tried to unbreak the vic port on FreeBSD 5.x. This is the easiest
	way by using GCC 2.95. I've verified it to work after compilation.
	However, the cleaner way would be to patch vic to avoid type-related
	problems that make it break on GCC 3. Could anybody (preferably 
	maintainer) try to verify that I haven't messed up anything?

>How-To-Repeat:
>Fix:

--- vic.patch begins here ---
diff -ruN vic.bak/Makefile vic/Makefile
--- vic.bak/Makefile	Wed Sep 29 07:44:50 2004
+++ vic/Makefile	Fri Nov 26 15:44:13 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	vic
 PORTVERSION=	2.8.1.1.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mbone tk83 ipv6
 MASTER_SITES=	http://www-mice.cs.ucl.ac.uk/multimedia/software/vic/2.8ucl-1.1.3/
 DISTNAME=	${PORTNAME}-2.8ucl-1.1.3
@@ -21,6 +21,7 @@
 WRKSRC=		${WRKDIR}/vic-2.8ucl-1.1.3/vic
 
 USE_AUTOCONF_VER=	213
+USE_GCC=		2.95
 USE_PERL5_BUILD=yes
 USE_X_PREFIX=	yes
 CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
@@ -33,10 +34,6 @@
 MAN1=		vic.1
 
 .include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN=		"Does not compile on FreeBSD >= 5.x"
-.endif
 
 pre-patch:
 	@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
--- vic.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->fenner 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Nov 27 07:21:14 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74417 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Wed Jul 20 06:57:25 GMT 2005 
State-Changed-Why:  
Fixed by current maintainer around 2005/03/20. 

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

From: Mikhail Teterin <mi+kde@aldan.algebra.com>
To: "Petr Holub" <hopet@ics.muni.cz>, bug-followup@freebsd.org
Cc:  
Subject: Re: ports/74417: attempt to unbreak vic on FreeBSD 5.x
Date: Wed, 24 Aug 2005 09:25:07 -0400

 On Tuesday 23 August 2005 11:56 am, Petr Holub wrote:
 = after some recent upgrades of packages, I've accidentally upgraded
 = also vic and found, that it works now. So the problem was perhaps
 = with some older versions of Tcl/Tk I used to have. The new version
 = works fine on all machines I have now and thus I'd suggest to close
 = the PR ports/74417.
 
 Thanks for the confirmation. I'm glad it all worked out for you.
 The PR, however, is closed since July 20 :-) Yours,
 
 	-mi
 
>Unformatted:
