Fix build on powerpc.
PR: ports/146042 Submitted by: Andreas Tobler
This commit is contained in:
@@ -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 */
|
||||
Reference in New Issue
Block a user