rpms/openal/FC-5 openal-x86_64-mmx.patch, NONE, 1.1 openal.spec, 1.20, 1.21

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Sun Jun 17 08:13:46 UTC 2007


Author: awjb

Update of /cvs/pkgs/rpms/openal/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1715/FC-5

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-5/openal.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- openal.spec	7 Nov 2006 16:55:47 -0000	1.20
+++ openal.spec	17 Jun 2007 08:13:10 -0000	1.21
@@ -1,6 +1,6 @@
 Name:           openal
 Version:        0.0.9
-Release:        0.7.20060204cvs%{?dist}
+Release:        0.8.20060204cvs%{?dist}
 Summary:        Open Audio Library
 
 Group:          System Environment/Libraries
@@ -17,6 +17,9 @@
 Patch2:         openal-pkgconfig.patch
 # see #202260
 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
@@ -56,6 +59,7 @@
 %patch1
 %patch2
 %patch3 -p1
+%patch4 -p1
 ./autogen.sh
 %patch0 -p1
 
@@ -103,6 +107,11 @@
 
 
 %changelog
+* Sun Jun 17 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 0.0.9-0.8.20060204
+- apply patch for bug #203336
+
+
 * Tue Nov 07 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 0.0.9-0.7.20060204
 - fix #190438




More information about the fedora-extras-commits mailing list