From a733c671ae2cd0d41fb6542bf78be4ff1dbe2df2 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 1 Nov 2016 22:34:06 +0100 Subject: deps: updated for KDE 5_16.08 --- deps/poppler/patches/poppler_cpp11.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 deps/poppler/patches/poppler_cpp11.patch (limited to 'deps/poppler/patches') diff --git a/deps/poppler/patches/poppler_cpp11.patch b/deps/poppler/patches/poppler_cpp11.patch new file mode 100644 index 0000000..2eeedd1 --- /dev/null +++ b/deps/poppler/patches/poppler_cpp11.patch @@ -0,0 +1,18 @@ +diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc +index 13d090c..9803d38 100644 +--- a/poppler/SplashOutputDev.cc ++++ b/poppler/SplashOutputDev.cc +@@ -94,6 +94,13 @@ extern "C" int unlink(char *filename); + #endif + #endif + ++#if __cplusplus > 199711L ++#include ++#ifndef isfinite ++#define isfinite(x) std::isfinite(x) ++#endif ++#endif ++ + static inline void convertGfxColor(SplashColorPtr dest, + SplashColorMode colorMode, + GfxColorSpace *colorSpace, -- cgit v1.2.3