rpms/openal/EL-4 openal-x86_64-mmx.patch,NONE,1.1
Andreas Bierfert (awjb)
fedora-extras-commits at redhat.com
Tue Jan 8 07:59:09 UTC 2008
Author: awjb
Update of /cvs/pkgs/rpms/openal/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6289
Added Files:
openal-x86_64-mmx.patch
Log Message:
- add patch
openal-x86_64-mmx.patch:
--- NEW FILE openal-x86_64-mmx.patch ---
--- portable/configure.ac~ 2007-02-07 20:09:34.000000000 +0100
+++ portable/configure.ac 2007-02-07 20:09:34.000000000 +0100
@@ -360,7 +360,7 @@
dnl Special objs for architectures
case "$target" in
- *i386* | *i486* | *i586* | *i686* | *x86_64*)
+ *i386* | *i486* | *i586* | *i686*)
openal_x86_support_yn=yes
AC_MSG_CHECKING([for MMX support])
diff -ur portable.orig/src/al_mixfunc.c portable/src/al_mixfunc.c
--- portable.orig/src/al_mixfunc.c 2005-09-30 17:20:51.000000000 +0200
+++ portable/src/al_mixfunc.c 2007-02-07 20:14:13.000000000 +0100
@@ -38,7 +38,7 @@
return AL_FALSE;
}
-#ifdef __MMX__
+#if defined __MMX__ && !defined __x86_64__
if (_alHaveMMX()) {
/* FIXME: we really ignore size. */
mf->max = MMXMIXSOURCES;
diff -ur portable.orig/src/mixaudio16.h portable/src/mixaudio16.h
--- portable.orig/src/mixaudio16.h 2005-11-18 14:31:47.000000000 +0100
+++ portable/src/mixaudio16.h 2007-02-07 20:13:45.000000000 +0100
@@ -12,7 +12,7 @@
#include "al_types.h"
#include "al_siteconfig.h"
-#ifdef __MMX__
+#if defined __MMX__ && !defined __x86_64__
#include "mixaudio16_mmx_prk.h"
#endif /* __MMX__ */
More information about the fedora-extras-commits
mailing list