aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/fplll-std-fenv.patch
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-10-19 12:51:57 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-10-19 13:11:40 -0400
commit5e2140511c1ad9ccd731438b74d61b62111da1e6 (patch)
treea4ff748ad26e121b88469b5d921001ef1382be8f /gnu/packages/patches/fplll-std-fenv.patch
parent9e3a5ee417ea7fe9721be8804ff047e80c4f22ed (diff)
parent353bdae32f72b720c7ddd706576ccc40e2b43f95 (diff)
downloadguix-5e2140511c1ad9ccd731438b74d61b62111da1e6.tar
guix-5e2140511c1ad9ccd731438b74d61b62111da1e6.tar.gz
Merge branch 'staging'
Conflicts: gnu/packages/admin.scm gnu/packages/commencement.scm gnu/packages/gdb.scm gnu/packages/llvm.scm gnu/packages/package-management.scm gnu/packages/tls.scm
Diffstat (limited to 'gnu/packages/patches/fplll-std-fenv.patch')
-rw-r--r--gnu/packages/patches/fplll-std-fenv.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/patches/fplll-std-fenv.patch b/gnu/packages/patches/fplll-std-fenv.patch
new file mode 100644
index 0000000000..aa2438f0c9
--- /dev/null
+++ b/gnu/packages/patches/fplll-std-fenv.patch
@@ -0,0 +1,18 @@
+See https://github.com/fplll/fplll/issues/444
+
+--- fplll-5.3.3-checkout.old/fplll/enum/enumerate_base.h 2020-09-23 13:55:27.833769823 +0200
++++ fplll-5.3.3-checkout/fplll/enum/enumerate_base.h 2020-09-23 13:56:14.313771769 +0200
+@@ -127,10 +127,10 @@
+ int rounding_backup;
+ void save_rounding()
+ {
+- rounding_backup = std::fegetround();
+- std::fesetround(FE_TONEAREST);
++ rounding_backup = fegetround();
++ fesetround(FE_TONEAREST);
+ }
+- void restore_rounding() { std::fesetround(rounding_backup); }
++ void restore_rounding() { fesetround(rounding_backup); }
+
+ inline bool next_pos_up()
+ {