Fix build on powerpc.

PR:		ports/146042
Submitted by:	Andreas Tobler
This commit is contained in:
Mark Linimon
2010-04-25 18:46:44 +00:00
parent 26ebbca854
commit 78ff1db633
2 changed files with 10 additions and 2 deletions
-2
View File
@@ -27,8 +27,6 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
CFLAGS+= -mmmx
.elif ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
post-patch:
@@ -0,0 +1,10 @@
--- 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 */