openbsd-ports/audio/openal/patches/patch-src_al_mixfunc_c

13 lines
423 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_al_mixfunc_c,v 1.2 2008/04/04 09:33:10 jasper Exp $
--- src/al_mixfunc.c.orig Fri Sep 30 11:20:51 2005
+++ src/al_mixfunc.c Tue Apr 1 15:30:54 2008
@@ -38,7 +38,7 @@ ALboolean _alMixFuncInit( ALMixFunc *mf, ALuint size )
2006-10-30 18:31:37 -05:00
return AL_FALSE;
}
-#ifdef __MMX__
+#if defined(__MMX__) && !defined(__amd64__)
if (_alHaveMMX()) {
/* FIXME: we really ignore size. */
mf->max = MMXMIXSOURCES;