ports/146042: [patch] make libvisual build for powerpc
Andreas Tobler
andreast-list at fgznet.ch
Sun Apr 25 18:20:03 UTC 2010
>Number: 146042
>Category: ports
>Synopsis: [patch] make libvisual build for powerpc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 25 18:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Andreas Tobler
>Release: -CURRENT
>Organization:
none
>Environment:
FreeBSD wolfram.andreas.nets 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r207154M: Sun Apr 25 02:19:25 CEST 2010 andreast at wolfram.andreas.nets:/usr/obj/export/devel/fbsd/src/sys/ANDREAST_ppc_pb powerpc
>Description:
The attached patch plus this Makefile diff makes libvisual build for powerpc:
--- Makefile.orig 2010-04-25 17:25:08.000000000 +0200
+++ Makefile 2010-04-25 17:25:02.000000000 +0200
@@ -27,8 +27,6 @@
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
CFLAGS+= -mmmx
-.elif ${ARCH} == "powerpc"
-BROKEN= Does not compile on powerpc
.endif
post-patch:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- libvisual/lv_cpu.c.orig 2010-04-25 17:13:26.000000000 +0200
+++ libvisual/lv_cpu.c 2010-04-25 17:11:29.000000000 +0200
@@ -423,7 +423,7 @@
#endif
#endif /* VISUAL_ARCH_X86 */
-#if VISUAL_ARCH_POWERPC
+#if defined(VISUAL_ARCH_POWERPC)
check_os_altivec_support ();
#endif /* VISUAL_ARCH_POWERPC */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list