diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-06-29 23:23:59 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2019-06-29 23:23:59 +0200 |
commit | 6e1f8d552b73e508bba47dedb5676ce5ccdcc398 (patch) | |
tree | 952a8fa2652ad26946100707311824b8c7a88768 /gnu/packages/patches/lcalc-lcommon-h.patch | |
parent | c24b896365ebf0c783140e53e000305e682d18c5 (diff) | |
parent | 8e92d5465fc154fed5d06f7e4a64d7dcccded74d (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/patches/lcalc-lcommon-h.patch')
-rw-r--r-- | gnu/packages/patches/lcalc-lcommon-h.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/lcalc-lcommon-h.patch b/gnu/packages/patches/lcalc-lcommon-h.patch new file mode 100644 index 0000000000..897956de64 --- /dev/null +++ b/gnu/packages/patches/lcalc-lcommon-h.patch @@ -0,0 +1,13 @@ +Patch taken from the Sage packaging system. + +--- src/include/Lcommon.h 2010-01-31 15:16:45.000000000 +0000 ++++ src/include/Lcommon.h 2011-03-08 21:19:11.849443238 +0000 +@@ -25,7 +25,7 @@ + #ifdef USE_MPFR + inline double lcalc_to_double(const double& x) { return x; } + #endif +-//inline double lcalc_to_double(const long double& x) { return x; } ++inline double lcalc_to_double(const long double& x) { return x; } + inline double lcalc_to_double(const int& x) { return x; } + inline double lcalc_to_double(const long long& x) { return x; } + inline double lcalc_to_double(const short& x) { return x; } |