From 0f23f207913e174c77b1ea46586662e0a6340f40 Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Fri, 22 Dec 2017 18:03:12 +0700 Subject: app-office/texmacs: bump to 1.99.6 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- app-office/texmacs/files/texmacs-1.99.6-math_util.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app-office/texmacs/files/texmacs-1.99.6-math_util.patch (limited to 'app-office/texmacs/files') diff --git a/app-office/texmacs/files/texmacs-1.99.6-math_util.patch b/app-office/texmacs/files/texmacs-1.99.6-math_util.patch new file mode 100644 index 000000000000..006c92c2be33 --- /dev/null +++ b/app-office/texmacs/files/texmacs-1.99.6-math_util.patch @@ -0,0 +1,15 @@ +diff -r -U2 TeXmacs-1.99.6-src.orig/src/Graphics/Types/math_util.hpp TeXmacs-1.99.6-src/src/Graphics/Types/math_util.hpp +--- TeXmacs-1.99.6-src.orig/src/Graphics/Types/math_util.hpp 2017-12-22 03:27:43.000000000 +0700 ++++ TeXmacs-1.99.6-src/src/Graphics/Types/math_util.hpp 2017-12-22 16:44:35.052378917 +0700 +@@ -24,11 +24,4 @@ + inline int sign (double x) { return x>0?1:x<0?-1:0; } + inline bool fnull (double x, double approx) { return norm(x) <= approx; } +-#ifndef __SUNPRO_CC +-inline double pow (double x, int n) { +- double r= 1.0; +- while (n > 0) { r *= x; n--; } +- return r; } +-#endif +- + + #endif // defined MATH_UTIL_H -- cgit v1.2.3-65-gdbad