diff options
Diffstat (limited to 'finance/kmymoney/files/patch-kmymoney_converter_mymoneystatementreader.cpp')
-rw-r--r-- | finance/kmymoney/files/patch-kmymoney_converter_mymoneystatementreader.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/finance/kmymoney/files/patch-kmymoney_converter_mymoneystatementreader.cpp b/finance/kmymoney/files/patch-kmymoney_converter_mymoneystatementreader.cpp new file mode 100644 index 000000000000..4806313e5347 --- /dev/null +++ b/finance/kmymoney/files/patch-kmymoney_converter_mymoneystatementreader.cpp @@ -0,0 +1,15 @@ +kmymoney/converter/mymoneystatementreader.cpp:1555:19: error: no member named 'abs' in namespace 'std'; did you mean 'labs'? + const int gap = std::abs(matchedSchedule.transaction().postDate().toJulianDay() - importedTransaction.postDate().toJulianDay()); + ^~~~~~~~ + labs + +--- kmymoney/converter/mymoneystatementreader.cpp.orig 2018-04-17 04:30:23 UTC ++++ kmymoney/converter/mymoneystatementreader.cpp +@@ -23,6 +23,7 @@ + + #include "mymoneystatementreader.h" + #include <typeinfo> ++#include <cstdlib> + + // ---------------------------------------------------------------------------- + // QT Headers |