- Fix build with SDL2

PR:		240067
Reported by:	shamaz.mazum@gmail.com
This commit is contained in:
Dmitry Marakasov 2019-08-26 14:58:46 +00:00
parent f76cc65486
commit d86e2f1b5a
2 changed files with 9 additions and 2 deletions

View file

@ -14,8 +14,6 @@ COMMENT= Simple Text Adventure, The Interpreter
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= close_code.h included without matching begin_code.h
USES= cmake compiler:c++11-lang iconv lua:51 pkgconfig sdl
CMAKE_ARGS= -DMANDIR=man

View file

@ -0,0 +1,9 @@
--- src/SDL_anigif.h.orig 2019-03-08 09:20:22 UTC
+++ src/SDL_anigif.h
@@ -56,6 +56,5 @@ extern DECLSPEC int AG_LoadGIF_RW( SDL_RWops* src, AG
#ifdef __cplusplus
}
#endif
-#include "close_code.h"
#endif /* _SDL_ANIGIF_H */