aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openal-soft/openal-fegetround.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-01 22:58:59 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-01 22:59:17 -0600
commitf88cc86a06880f4c432e5cbeec04663e024b0b5e (patch)
treed51bc23ec959abc8ce58decc997a1279363598c8 /testing/openal-soft/openal-fegetround.patch
parent87044cdf9e4c2ac5096717f1736864d0758772aa (diff)
downloadaports-f88cc86a06880f4c432e5cbeec04663e024b0b5e.tar.bz2
aports-f88cc86a06880f4c432e5cbeec04663e024b0b5e.tar.xz
testing/openal-soft: new aport
Diffstat (limited to 'testing/openal-soft/openal-fegetround.patch')
-rw-r--r--testing/openal-soft/openal-fegetround.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/openal-soft/openal-fegetround.patch b/testing/openal-soft/openal-fegetround.patch
new file mode 100644
index 0000000000..261ab595a0
--- /dev/null
+++ b/testing/openal-soft/openal-fegetround.patch
@@ -0,0 +1,20 @@
+--- openal-soft-1.12.854.orig/Alc/ALu.c
++++ openal-soft-1.12.854.mod/Alc/ALu.c
+@@ -1345,7 +1345,7 @@
+ int fpuState;
+ ALuint i, c;
+
+-#if defined(HAVE_FESETROUND)
++#if 0
+ fpuState = fegetround();
+ fesetround(FE_TOWARDZERO);
+ #elif defined(HAVE__CONTROLFP)
+@@ -1489,7 +1489,7 @@
+ size -= SamplesToDo;
+ }
+
+-#if defined(HAVE_FESETROUND)
++#if 0
+ fesetround(fpuState);
+ #elif defined(HAVE__CONTROLFP)
+ _controlfp(fpuState, 0xfffff);