Hi ports, Mattieu, 

> http://build-failures.rhaalovely.net/powerpc/2019-02-04/games/crack-attack.log
> http://build-failures.rhaalovely.net/sparc64/2019-02-03/games/crack-attack.log

It's just a missing header, once patched it builds and runs fine on
macppc [1]. No issues on amd64 indeed :)

Any comment? 

Charlène.


[1] https://bsd.network/@julianaito/101676999242372011


Index: Makefile
===================================================================
RCS file: /cvs/ports/games/crack-attack/Makefile,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 Makefile
--- Makefile    24 Oct 2018 14:28:02 -0000      1.24
+++ Makefile    1 Mar 2019 19:08:54 -0000
@@ -3,7 +3,7 @@
 COMMENT=       OpenGL game based on SNES classic Tetris Attack
 
 DISTNAME=      crack-attack-1.1.14
-REVISION=      14
+REVISION=      15
 CATEGORIES=    games
 
 MAINTAINER=    Mattieu Baptiste <[email protected]>
Index: patches/patch-src_TextureLoader_h
===================================================================
RCS file: patches/patch-src_TextureLoader_h
diff -N patches/patch-src_TextureLoader_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_TextureLoader_h   1 Mar 2019 19:08:54 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+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"

Reply via email to