crack-attack: Add missing header for ports-gcc
OK jca@
This commit is contained in:
parent
1fdd118784
commit
26d3a97993
@ -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 <mattieu.b@free.fr>
|
||||
|
14
games/crack-attack/patches/patch-src_TextureLoader_h
Normal file
14
games/crack-attack/patches/patch-src_TextureLoader_h
Normal file
@ -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 <GL/glut.h>
|
||||
+#include <string.h>
|
||||
|
||||
#include "glext.h"
|
||||
#include "sstream.h"
|
Loading…
x
Reference in New Issue
Block a user