diff --git a/games-engines/eepp/eepp-0.9.5.recipe b/games-engines/eepp/eepp-0.9.5.recipe index 1d2c846b5..f1e7bec3a 100644 --- a/games-engines/eepp/eepp-0.9.5.recipe +++ b/games-engines/eepp/eepp-0.9.5.recipe @@ -4,12 +4,13 @@ cross-platform game development." HOMEPAGE="https://bitbucket.org/SpartanJ/eepp" COPYRIGHT="2011-2014 Martín Lucas Golini" LICENSE="MIT" -REVISION="3" +REVISION="4" SOURCE_URI="https://bitbucket.org/SpartanJ/eepp/get/release-0.9.5.tar.gz" CHECKSUM_SHA256="b4094be1b29361c66ab15cae166576d3600f7b6d914b339af857878559156b48" SOURCE_DIR="SpartanJ-eepp-b44ee6ad7704" +PATCHES="eepp-$portVersion.patchset" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" diff --git a/games-engines/eepp/patches/eepp-0.9.5.patchset b/games-engines/eepp/patches/eepp-0.9.5.patchset new file mode 100644 index 000000000..f76cbc525 --- /dev/null +++ b/games-engines/eepp/patches/eepp-0.9.5.patchset @@ -0,0 +1,33 @@ +From 4584ab5f0cbd331411f96db30a20577bdf6b12c4 Mon Sep 17 00:00:00 2001 +From: begasus +Date: Fri, 21 Sep 2018 10:31:05 +0000 +Subject: fix build with missing sys/select.h (fd_set) + + +diff --git a/src/eepp/network/csocketselector.cpp b/src/eepp/network/csocketselector.cpp +index 236d4c1..c1da2e0 100644 +--- a/src/eepp/network/csocketselector.cpp ++++ b/src/eepp/network/csocketselector.cpp +@@ -2,6 +2,7 @@ + #include + #include + #include ++#include + + #ifdef _MSC_VER + #pragma warning(disable : 4127) // "conditional expression is constant" generated by the FD_SET macro +diff --git a/src/eepp/network/ctcpsocket.cpp b/src/eepp/network/ctcpsocket.cpp +index 68cadbc..d506b93 100644 +--- a/src/eepp/network/ctcpsocket.cpp ++++ b/src/eepp/network/ctcpsocket.cpp +@@ -4,6 +4,7 @@ + #include + #include + #include ++#include + + #ifdef _MSC_VER + #pragma warning(disable : 4127) // "conditional expression is constant" generated by the FD_SET macro +-- +2.19.0 +