ace: fix segfaults on base-clang archs by adding a missing header
Spotted by and OK solene@
This commit is contained in:
parent
d4e39cc17f
commit
9ec9c4303c
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2019/07/12 20:46:14 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2019/10/02 21:11:08 cwen Exp $
|
||||
|
||||
COMMENT = solitaire games
|
||||
|
||||
DISTNAME = ace-1.4
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
SHARED_LIBS += cards 0.0 # 1.0
|
||||
|
||||
|
13
games/ace/patches/patch-lib_imagelib_c
Normal file
13
games/ace/patches/patch-lib_imagelib_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-lib_imagelib_c,v 1.1 2019/10/02 21:11:08 cwen Exp $
|
||||
|
||||
Fix segfault on clang archs
|
||||
|
||||
Index: lib/imagelib.c
|
||||
--- lib/imagelib.c.orig
|
||||
+++ lib/imagelib.c
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "imagelib.h"
|
||||
#include "cards.h"
|
Loading…
Reference in New Issue
Block a user