summary refs log tree commit diff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2020-09-23 14:14:09 +0200
committerAndreas Enge <andreas@enge.fr>2020-09-23 14:14:09 +0200
commit049a1714fc0dee6c69f216b6f2e4f43410f6fcac (patch)
treec3ffe607e4aaa0dddd556747439d83872e74bdaa /gnu/packages/patches
parent82f983da35c25c9cfd8f2a3b4fc9412f9ace0e04 (diff)
downloadguix-049a1714fc0dee6c69f216b6f2e4f43410f6fcac.tar.gz
gnu: fplll: Correct include files.
* gnu/packages/patches/fplll-std-fenv.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register patch.
* gnu/packages/algebra.scm (fplll): Use patch and move all inputs to
propagated-inputs.
Diffstat (limited to 'gnu/packages/patches')
-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()
+   {