The following commit has been merged in the master branch: commit 36a979d38b13c9e4ea7cad59a1a628c4e13ae3e7 Author: Andres Mejia <amejia...@gmail.com> Date: Tue May 1 10:53:16 2012 -0400
Fix build failures on architectures without _FPU_EXTENDED. (Closes: #666963) diff --git a/debian/changelog b/debian/changelog index 61bfba8..f68d14a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +openal-soft (1:1.14-2) unstable; urgency=low + + * Fix build failures on architectures without _FPU_EXTENDED. (Closes: #666963) + + -- Andres Mejia <ame...@debian.org> Tue, 01 May 2012 10:52:21 -0400 + openal-soft (1:1.14-1) unstable; urgency=low * New upstream release. diff --git a/debian/patches/no-fpuextended.patch b/debian/patches/no-fpuextended.patch new file mode 100644 index 0000000..58aae81 --- /dev/null +++ b/debian/patches/no-fpuextended.patch @@ -0,0 +1,35 @@ +Description: Fix builds on architectures without _FPU_EXTENDED +Author: Nobuhiro Iwamatsu <iwama...@nigauri.org> + +--- a/OpenAL32/Include/alu.h ++++ b/OpenAL32/Include/alu.h +@@ -224,6 +224,29 @@ + return a0*mu*mu2 + a1*mu2 + a2*mu + a3; + } + ++#if defined(_FPU_GETCW) && defined(_FPU_SETCW) ++ #ifndef _FPU_EXTENDED ++ #define _FPU_EXTENDED 0 ++ #endif ++ #ifndef _FPU_DOUBLE ++ #define _FPU_DOUBLE 0 ++ #endif ++ #ifndef _FPU_SINGLE ++ #define _FPU_SINGLE 0 ++ #endif ++ #ifndef _FPU_RC_NEAREST ++ #define _FPU_RC_NEAREST 0 ++ #endif ++ #ifndef _FPU_RC_DOWN ++ #define _FPU_RC_DOWN 0 ++ #endif ++ #ifndef _FPU_RC_UP ++ #define _FPU_RC_UP 0 ++ #endif ++ #ifndef _FPU_RC_ZERO ++ #define _FPU_RC_ZERO 0 ++ #endif ++#endif + + static __inline int SetMixerFPUMode(void) + { diff --git a/debian/patches/series b/debian/patches/series index cafd205..c6c45de 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1 @@ -# Nothing to patch +no-fpuextended.patch -- Packaging for openal-soft _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits