rpms/openal/FC-6 openal-x86_64-mmx.patch, NONE, 1.1 openal.spec, 1.21, 1.22
Andreas Bierfert (awjb)
fedora-extras-commits at redhat.com
Sun Jun 17 08:13:52 UTC 2007
Author: awjb
Update of /cvs/pkgs/rpms/openal/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1715/FC-6
Modified Files:
openal.spec
Added Files:
openal-x86_64-mmx.patch
Log Message:
- fix #203336
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__ */
Index: openal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openal/FC-6/openal.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- openal.spec 7 Nov 2006 16:55:53 -0000 1.21
+++ openal.spec 17 Jun 2007 08:13:16 -0000 1.22
@@ -1,6 +1,6 @@
Name: openal
Version: 0.0.9
-Release: 0.9.20060204cvs%{?dist}
+Release: 0.10.20060204cvs%{?dist}
Summary: Open Audio Library
Group: System Environment/Libraries
@@ -16,6 +16,8 @@
Patch1: openal-no-undefined.patch
Patch2: openal-pkgconfig.patch
Patch3: openal-pause.patch
+# fixes race condition on x86_64 for now (#203336)
+Patch4: openal-x86_64-mmx.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel
@@ -55,6 +57,7 @@
%patch1
%patch2
%patch3 -p1
+%patch4 -p1
./autogen.sh
%patch0 -p1
@@ -102,6 +105,10 @@
%changelog
+* Sun Jun 17 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 0.0.9-0.10.20060204
+- apply patch for bug #203336
+
* Sat Nov 04 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.0.9-0.9.20060204
- fix #190438
More information about the scm-commits
mailing list