forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scribus-1.5.2-qt57-build.patch
21 lines (18 loc) · 1 KB
/
scribus-1.5.2-qt57-build.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
commit ddb5688ae4f4ff40ba1204a413fcf15279b35f2b
Author: Franz Schmid <[email protected]>
Date: Sat Jun 18 09:14:21 2016 +0000
Compile Fix for compiling with Qt-5.7
git-svn-id: svn://scribus.net/trunk/Scribus@21381 11d20701-8431-0410-a711-e3c959e3b870
diff --git a/scribus/third_party/fparser/fpoptimizer.cc b/scribus/third_party/fparser/fpoptimizer.cc
index ae8c0f6..673e1b6 100644
--- a/scribus/third_party/fparser/fpoptimizer.cc
+++ b/scribus/third_party/fparser/fpoptimizer.cc
@@ -7296,7 +7296,7 @@ namespace FPoptimizer_CodeTree
//if(imm >= 0.0)
{
double new_base_immed = std::pow(base_immed, imm);
- if(isinf(new_base_immed) || new_base_immed == 0.0)
+ if(std::isinf(new_base_immed) || new_base_immed == 0.0)
{
// It produced an infinity. Do not change.
break;