From a5828e776ac46ac72ba908ea19754f60d317f71c Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Sun, 11 Nov 2018 03:33:50 +0000 Subject: To build with GCC7, this port needs additional include in src/pingus/screens/demo_session.cpp . PR: 232912 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) --- games/pingus/Makefile | 2 +- games/pingus/files/patch-src_pingus_screens_demo__session.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 games/pingus/files/patch-src_pingus_screens_demo__session.cpp (limited to 'games') diff --git a/games/pingus/Makefile b/games/pingus/Makefile index 91b2f578d20c..eb49d23f8511 100644 --- a/games/pingus/Makefile +++ b/games/pingus/Makefile @@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/signals2.hpp:devel/boost-libs LIB_DEPENDS= libpng.so:graphics/png -USES= compiler:c++11-lib iconv scons tar:bzip2 +USES= compiler:c++11-lib gl iconv scons tar:bzip2 USE_GL= gl USE_SDL= sdl image mixer LIBS+= ${ICONV_LIB} diff --git a/games/pingus/files/patch-src_pingus_screens_demo__session.cpp b/games/pingus/files/patch-src_pingus_screens_demo__session.cpp new file mode 100644 index 000000000000..8146968392f2 --- /dev/null +++ b/games/pingus/files/patch-src_pingus_screens_demo__session.cpp @@ -0,0 +1,10 @@ +--- src/pingus/screens/demo_session.cpp.orig 2018-11-02 16:05:42 UTC ++++ src/pingus/screens/demo_session.cpp +@@ -17,6 +17,7 @@ + #include "pingus/screens/demo_session.hpp" + + #include ++#include + #include + + #include "engine/gui/gui_manager.hpp" -- cgit v1.2.3