diff options
Diffstat (limited to 'debian/patches/dyson-jsruntime-pow.patch')
-rw-r--r-- | debian/patches/dyson-jsruntime-pow.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/dyson-jsruntime-pow.patch b/debian/patches/dyson-jsruntime-pow.patch new file mode 100644 index 0000000..29da26c --- /dev/null +++ b/debian/patches/dyson-jsruntime-pow.patch @@ -0,0 +1,13 @@ +Index: qtdeclarative-opensource-src-5.2.1/src/qml/jsruntime/qv4globalobject.cpp +=================================================================== +--- qtdeclarative-opensource-src-5.2.1.orig/src/qml/jsruntime/qv4globalobject.cpp 2014-02-02 00:38:02.000000000 +0400 ++++ qtdeclarative-opensource-src-5.2.1/src/qml/jsruntime/qv4globalobject.cpp 2014-04-27 10:07:34.676700559 +0400 +@@ -534,7 +534,7 @@ + } + + if (overflow) { +- double result = (double) v_overflow * pow(R, overflow_digit_count); ++ double result = (double) v_overflow * pow((double)R, (double)overflow_digit_count); + result += v; + return Encode(sign * result); + } else { |