summaryrefslogtreecommitdiff
path: root/math/lcalc/files/patch-include_Lglobals.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/lcalc/files/patch-include_Lglobals.h')
-rw-r--r--math/lcalc/files/patch-include_Lglobals.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/math/lcalc/files/patch-include_Lglobals.h b/math/lcalc/files/patch-include_Lglobals.h
new file mode 100644
index 000000000000..eaf2d25e7824
--- /dev/null
+++ b/math/lcalc/files/patch-include_Lglobals.h
@@ -0,0 +1,21 @@
+--- include/Lglobals.h.orig 2012-08-08 21:21:55 UTC
++++ include/Lglobals.h
+@@ -18,15 +18,17 @@
+ with the package; see the file 'COPYING'. If not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
++ Patches borrowed from SageMath.
++
+ */
+
+
+ #ifndef Lglobals_H
+ #define Lglobals_H
+
++#include <valarray>
+ using namespace std;
+
+-#include <valarray>
+ #ifdef USE_MPFR
+ #include "Lgmpfrxx.h"
+ typedef mpfr_class Double;