openbsd-ports/multimedia/xine-lib/patches/patch-src_xine-utils_cpu_accel_c
jakemsr e8d61b3065 update to xine-lib-1.1.7
- use some CONFIGURE_ENV instead of patching
- rearrange/update CONFIGURE_ARGS
- many patches no longer relevant
- add CD audio support

input, tetsing and prodding from brad@
2007-06-13 10:58:28 +00:00

17 lines
540 B
Plaintext

$OpenBSD: patch-src_xine-utils_cpu_accel_c,v 1.2 2007/06/13 10:58:29 jakemsr Exp $
--- src/xine-utils/cpu_accel.c.orig Thu Mar 29 15:45:12 2007
+++ src/xine-utils/cpu_accel.c Sun May 20 22:40:14 2007
@@ -56,6 +56,12 @@ static uint32_t arch_accel (void)
/* No need to test for this on AMD64, we know what the
platform has. */
caps = MM_ACCEL_X86_MMX | MM_ACCEL_X86_SSE | MM_ACCEL_X86_MMXEXT | MM_ACCEL_X86_SSE2;
+#endif
+
+#if defined(__OpenBSD__)
+#ifdef __i386__
+ caps = MM_ACCEL_X86_MMX;
+#endif
#else
#ifndef _MSC_VER