~ubuntu-branches/ubuntu/utopic/openal-soft/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/patches/no-fpuextended.patch

  • Committer: Package Import Robot
  • Author(s): Bret Curtis
  • Date: 2014-07-16 08:35:25 UTC
  • mfrom: (0.2.10)
  • Revision ID: package-import@ubuntu.com-20140716083525-5rldbuk4mo211l1a
Tags: 1:1.15.1-1
* Added openal-info binary. (Closes: 659198)
* Added makehrtf binary.
* Added 'audio' to short description. (Closes: 598064) 
* Added FLAGS fixes for cmake in rules for hardening.
* Added man pages for the two binaries.
* New upstream release. (Closes: 731159)
* Removed libsndio-dlopen-change.patch, no longer required.
* Removed no-fpuextended.patch, macros no longer used.
* Removed need for lintian overrides.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Fix builds on architectures without _FPU_EXTENDED
2
 
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3
 
Forwarded: http://opensource.creative.com/pipermail/openal-devel/2012-May/005900.html
4
 
 
5
 
--- a/OpenAL32/Include/alu.h
6
 
+++ b/OpenAL32/Include/alu.h
7
 
@@ -224,6 +224,29 @@
8
 
     return a0*mu*mu2 + a1*mu2 + a2*mu + a3;
9
 
 }
10
 
 
11
 
+#if defined(_FPU_GETCW) && defined(_FPU_SETCW)
12
 
+ #ifndef _FPU_EXTENDED
13
 
+  #define _FPU_EXTENDED        0
14
 
+ #endif
15
 
+ #ifndef _FPU_DOUBLE
16
 
+  #define _FPU_DOUBLE  0
17
 
+ #endif
18
 
+ #ifndef _FPU_SINGLE
19
 
+  #define _FPU_SINGLE  0
20
 
+ #endif
21
 
+ #ifndef _FPU_RC_NEAREST
22
 
+  #define _FPU_RC_NEAREST      0
23
 
+ #endif
24
 
+ #ifndef _FPU_RC_DOWN
25
 
+  #define _FPU_RC_DOWN 0
26
 
+ #endif
27
 
+ #ifndef _FPU_RC_UP
28
 
+  #define _FPU_RC_UP   0
29
 
+ #endif
30
 
+ #ifndef _FPU_RC_ZERO
31
 
+  #define _FPU_RC_ZERO 0
32
 
+ #endif
33
 
+#endif
34
 
 
35
 
 static __inline int SetMixerFPUMode(void)
36
 
 {