openbsd-ports/audio/openal/patches/patch-src_al_mixfunc_c
jasper aea74efec6 - @requirements@ wasn't properly set in openal.pc, causing openal to never
get picked up.
- regen patches while here

from brad@
2008-04-04 09:33:10 +00:00

13 lines
423 B
Plaintext

$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 )
return AL_FALSE;
}
-#ifdef __MMX__
+#if defined(__MMX__) && !defined(__amd64__)
if (_alHaveMMX()) {
/* FIXME: we really ignore size. */
mf->max = MMXMIXSOURCES;