void-packages/srcpkgs/qt5/patches/gcc7-avoid_wchar_t.patch
Jürgen Buchmüller 0eb32413aa qt5: fix gcc7 build
2017-05-20 03:55:19 +02:00

11 lines
435 B
Diff

--- qtwebengine/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/global.cpp 2017-05-20 02:18:35.281893421 +0200
+++ qtwebengine/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/global.cpp 2017-05-20 02:23:36.260127027 +0200
@@ -24,7 +24,7 @@
struct CHash;
// Only needed to hash single-character strings.
-template <wchar_t N>
+template <unsigned N>
struct CHash<N> {
static const unsigned value = N;
};