aboutsummaryrefslogtreecommitdiffstats
path: root/testing/flightgear/musl-fix_feenableexcept.patch
diff options
context:
space:
mode:
authorThomas Kienlen <kommander@laposte.net>2021-11-12 22:07:16 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2021-11-15 07:16:39 +0000
commit0ab53fe0620f9b8ee0e7ee321be3f9b77ff4c913 (patch)
tree596432a6407e68794c829893ee8229121c218d1f /testing/flightgear/musl-fix_feenableexcept.patch
parent1e3e8503307b7d73c50c853dfc45be8e94ff6b50 (diff)
downloadaports-0ab53fe0620f9b8ee0e7ee321be3f9b77ff4c913.tar.gz
aports-0ab53fe0620f9b8ee0e7ee321be3f9b77ff4c913.tar.bz2
aports-0ab53fe0620f9b8ee0e7ee321be3f9b77ff4c913.tar.xz
testing/flightgear: upgrade to 2021.3.11
Diffstat (limited to 'testing/flightgear/musl-fix_feenableexcept.patch')
-rw-r--r--testing/flightgear/musl-fix_feenableexcept.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/flightgear/musl-fix_feenableexcept.patch b/testing/flightgear/musl-fix_feenableexcept.patch
new file mode 100644
index 0000000000..9d456a2d28
--- /dev/null
+++ b/testing/flightgear/musl-fix_feenableexcept.patch
@@ -0,0 +1,11 @@
+--- a/src/FDM/JSBSim/JSBSim.cpp 2017-03-01 21:06:31.000000000 +0100
++++ b/src/FDM/JSBSim/JSBSim.cpp 2017-03-17 09:49:13.115544107 +0100
+@@ -287,7 +287,7 @@
+ _clearfp();
+ _controlfp(_controlfp(0, 0) & ~(_EM_INVALID | _EM_ZERODIVIDE | _EM_OVERFLOW),
+ _MCW_EM);
+-#elif defined(__GNUC__) && !defined(sgi) && !defined(__APPLE__)
++#elif defined(__GNUC__) && !defined(sgi) && !defined(__APPLE__) && defined(__GLIBC__)
+ feenableexcept(FE_DIVBYZERO | FE_INVALID);
+ #endif
+