From 1c6d6f6b8858c23cc0b61cbe504b89ac3571d1ca Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 12 Feb 2019 19:35:22 +0100 Subject: [PATCH] chessx: add missing includes This fixes build with latest qt5. [ci skip] --- srcpkgs/chessx/patches/missing-includes.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/chessx/patches/missing-includes.patch diff --git a/srcpkgs/chessx/patches/missing-includes.patch b/srcpkgs/chessx/patches/missing-includes.patch new file mode 100644 index 00000000000..faa5b4507f7 --- /dev/null +++ b/srcpkgs/chessx/patches/missing-includes.patch @@ -0,0 +1,30 @@ +--- src/dialogs/preferences.cpp ++++ src/dialogs/preferences.cpp +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #if defined(_MSC_VER) && defined(_DEBUG) + #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) +--- src/dialogs/savedialog.cpp ++++ src/dialogs/savedialog.cpp +@@ -24,6 +24,7 @@ + + #include + #include ++#include + + #if defined(_MSC_VER) && defined(_DEBUG) + #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) +--- src/gui/gamewindow.cpp ++++ src/gui/gamewindow.cpp +@@ -9,6 +9,7 @@ + #include "settings.h" + + #include ++#include + + #if defined(_MSC_VER) && defined(_DEBUG) + #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )