openbsd-ports/games/xkobo/patches/patch-scenes_h
espie e73aea126d make the compiler whine less and fix a surprising funny error with llvm,
reported by naddy@:

new C++ rules means that externally visible variables *must* get
type-correct mangled decorations, which  can't work with unnamed types.
lol
2017-02-28 14:17:53 +00:00

13 lines
318 B
Plaintext

$OpenBSD: patch-scenes_h,v 1.1 2017/02/28 14:17:53 espie Exp $
--- scenes.h.orig Tue Feb 28 15:11:33 2017
+++ scenes.h Tue Feb 28 15:11:40 2017
@@ -39,7 +39,7 @@ typedef struct {
int x, y, h, v;
} _base;
-typedef const struct {
+typedef const struct myscene {
int ratio;
int startx;
int starty;