diff --git a/games-board/chessx/chessx-1.4.6.recipe b/games-board/chessx/chessx-1.4.6.recipe index 5619569cf..e80a88bab 100644 --- a/games-board/chessx/chessx-1.4.6.recipe +++ b/games-board/chessx/chessx-1.4.6.recipe @@ -31,6 +31,7 @@ LICENSE="GNU GPL v2 REVISION="2" SOURCE_URI="https://downloads.sourceforge.net/chessx/chessx-$portVersion.tgz" CHECKSUM_SHA256="ad951910a3bd53f5655f9e85101e7969b536078473e09a2a7dded6ef171a68ed" +PATCHES="chessx-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="x86" diff --git a/games-board/chessx/patches/chessx-1.4.6.patchset b/games-board/chessx/patches/chessx-1.4.6.patchset new file mode 100644 index 000000000..83588ea9c --- /dev/null +++ b/games-board/chessx/patches/chessx-1.4.6.patchset @@ -0,0 +1,93 @@ +From d435095bd205f69a1b844e0ad9189809ad974f5a Mon Sep 17 00:00:00 2001 +From: hognose +Date: Thu, 21 Jun 2018 8:31:29 +0000 +Subject: [PATCH] Fixed includes + +--- + src/dialogs/preferences.cpp | 7 ++++--- + src/dialogs/savedialog.cpp | 3 ++- + src/gui/ficsconsole.cpp | 1 - + src/gui/ficsconsole.h | 1 - + src/gui/gamewindow.cpp | 1 + + 5 files changed, 7 insertions(+), 6 deletions(-) + +diff --git a/src/dialogs/preferences.cpp b/src/dialogs/preferences.cpp +index bcc670b..76b2be7 100644 +--- a/src/dialogs/preferences.cpp ++++ b/src/dialogs/preferences.cpp +@@ -21,17 +21,18 @@ + #include "engineoptiondialog.h" + #include "downloadmanager.h" + ++#include + #include + #include + #include ++#include ++#include ++#include + #include + #include + #include +-#include + #include + #include +-#include +-#include + #include + + #if defined(_MSC_VER) && defined(_DEBUG) +diff --git a/src/dialogs/savedialog.cpp b/src/dialogs/savedialog.cpp +index 95b7f88..fb7092f 100644 +--- a/src/dialogs/savedialog.cpp ++++ b/src/dialogs/savedialog.cpp +@@ -22,8 +22,9 @@ + #include "settings.h" + #include "tags.h" + +-#include ++#include + #include ++#include + + #if defined(_MSC_VER) && defined(_DEBUG) + #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) +diff --git a/src/gui/ficsconsole.cpp b/src/gui/ficsconsole.cpp +index 1911a7a..20c3f11 100644 +--- a/src/gui/ficsconsole.cpp ++++ b/src/gui/ficsconsole.cpp +@@ -18,7 +18,6 @@ + #include + #include + #include +-#include + + #if defined(_MSC_VER) && defined(_DEBUG) + #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) +diff --git a/src/gui/ficsconsole.h b/src/gui/ficsconsole.h +index 94d98e2..9cdc696 100644 +--- a/src/gui/ficsconsole.h ++++ b/src/gui/ficsconsole.h +@@ -20,7 +20,6 @@ class QButtonGroup; + class QTimer; + class QTableWidgetItem; + class SimpleLabel; +-class QSound; + + enum + { +diff --git a/src/gui/gamewindow.cpp b/src/gui/gamewindow.cpp +index 354eff2..60d1976 100644 +--- a/src/gui/gamewindow.cpp ++++ b/src/gui/gamewindow.cpp +@@ -8,6 +8,7 @@ + #include "nag.h" + #include "settings.h" + ++#include + #include + + #if defined(_MSC_VER) && defined(_DEBUG) +-- +2.17.1 +