diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile index 5232e219694..45afe997733 100644 --- a/games/crack-attack/Makefile +++ b/games/crack-attack/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.24 2018/10/24 14:28:02 sthen Exp $ +# $OpenBSD: Makefile,v 1.25 2019/03/01 20:01:27 cwen Exp $ COMMENT= OpenGL game based on SNES classic Tetris Attack DISTNAME= crack-attack-1.1.14 -REVISION= 14 +REVISION= 15 CATEGORIES= games MAINTAINER= Mattieu Baptiste diff --git a/games/crack-attack/patches/patch-src_TextureLoader_h b/games/crack-attack/patches/patch-src_TextureLoader_h new file mode 100644 index 00000000000..f9224eddf53 --- /dev/null +++ b/games/crack-attack/patches/patch-src_TextureLoader_h @@ -0,0 +1,14 @@ +$OpenBSD: patch-src_TextureLoader_h,v 1.1 2019/03/01 20:01:27 cwen Exp $ +Fix for ports-gcc: +error: 'strncpy' was not declared in this scope +Index: src/TextureLoader.h +--- src/TextureLoader.h.orig ++++ src/TextureLoader.h +@@ -28,6 +28,7 @@ + #define TEXTURELOADER_H + + #include ++#include + + #include "glext.h" + #include "sstream.h"