ports/74417: attempt to unbreak vic on FreeBSD 5.x

Petr Holub hopet at ics.muni.cz
Fri Nov 26 15:00:43 UTC 2004


>Number:         74417
>Category:       ports
>Synopsis:       attempt to unbreak vic on FreeBSD 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 26 15:00:41 GMT 2004
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list