aboutsummaryrefslogtreecommitdiff
path: root/graphics/libvisual
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2010-04-25 18:46:44 +0000
committerMark Linimon <linimon@FreeBSD.org>2010-04-25 18:46:44 +0000
commit78ff1db63340c0380d64cb8ce0ec422580aeebc4 (patch)
tree0446d555d077f20d153d7f7115f9b1cdd15be299 /graphics/libvisual
parent26ebbca8546095b47a2e88bd063162a55d9b6fef (diff)
Notes
Diffstat (limited to 'graphics/libvisual')
-rw-r--r--graphics/libvisual/Makefile2
-rw-r--r--graphics/libvisual/files/patch-libvisual-lv_cpu.c10
2 files changed, 10 insertions, 2 deletions
diff --git a/graphics/libvisual/Makefile b/graphics/libvisual/Makefile
index dec30095b890..5c6972941e69 100644
--- a/graphics/libvisual/Makefile
+++ b/graphics/libvisual/Makefile
@@ -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:
diff --git a/graphics/libvisual/files/patch-libvisual-lv_cpu.c b/graphics/libvisual/files/patch-libvisual-lv_cpu.c
new file mode 100644
index 000000000000..b81f188e1bf3
--- /dev/null
+++ b/graphics/libvisual/files/patch-libvisual-lv_cpu.c
@@ -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 */