add missing include for ports-gcc

This commit is contained in:
naddy 2018-11-29 21:06:27 +00:00
parent 7e8cc324b0
commit 1ea5319eab
2 changed files with 15 additions and 2 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.17 2018/10/24 14:28:05 sthen Exp $
# $OpenBSD: Makefile,v 1.18 2018/11/29 21:06:27 naddy Exp $
COMMENT = skeletal based character animation library
DISTNAME = cal3d-0.11.0
REVISION = 6
REVISION = 7
SHARED_LIBS = cal3d 1.0 # .12.0

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_cal3d_platform_h,v 1.1 2018/11/29 21:06:27 naddy Exp $
Index: src/cal3d/platform.h
--- src/cal3d/platform.h.orig
+++ src/cal3d/platform.h
@@ -76,6 +76,7 @@ typedef int intptr_t;
// standard includes
#include <stdlib.h>
+#include <string.h>
#include <math.h>
// debug includes