openbsd-ports/games/omega/patches/patch-fixstr_c

15 lines
314 B
Plaintext

$OpenBSD: patch-fixstr_c,v 1.2 2017/05/25 18:37:14 espie Exp $
Index: fixstr.c
--- fixstr.c.orig
+++ fixstr.c
@@ -15,7 +15,9 @@ to be far arrays. You don't need to run this for the u
Thus it can be broken. */
#include <stdio.h>
+#ifndef __OpenBSD__
#include <malloc.h>
+#endif
#define TMPFILE "fixtmp.c"