Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2010 13:10:55 -0500 (CDT)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150196: [path] enable altivec on multimedia/vlc on powerpc64
Message-ID:  <201009011810.o81IAtgA097941@anacreon.physics.wisc.edu>
Resent-Message-ID: <201009011820.o81IK1aJ047545@freefall.freebsd.org>

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

>Number:         150196
>Category:       ports
>Synopsis:       [path] enable altivec on multimedia/vlc on powerpc64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 01 18:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Nathan Whitehorn
>Release:        FreeBSD 9.0-CURRENT powerpc
>Organization:
University of Wisconsin
>Environment:
System: FreeBSD anacreon.physics.wisc.edu 9.0-CURRENT FreeBSD 9.0-CURRENT #21 r212065M: Tue Aug 31 13:57:43 CDT 2010 root@anacreon.physics.wisc.edu:/usr/obj/scratch/src/sys/ANACREON powerpc
>Description:
	VLC's configuration script does not automatically enable altivec support
	on 64-bit PowerPC (it does on 32-bit PowerPC).
>How-To-Repeat:
>Fix:
	The attached patch passes --enable-altivec to VLC's configure on
	this platform.

--- vlc.Makefile.diff begins here ---
--- Makefile.dist	2010-09-01 12:53:30.000000000 -0500
+++ Makefile	2010-09-01 12:54:15.000000000 -0500
@@ -190,6 +190,10 @@
 .endif
 # End OS specific hacks
 
+.if ${ARCH} == "powerpc64"
+CONFIGURE_ARGS+= --enable-altivec # VLC's config script doesn't know to do this
+.endif
+
 # User tunables
 
 # Define these to override
--- vlc.Makefile.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?201009011810.o81IAtgA097941>