aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-09-16 02:54:24 +0800
committermarino <marino@FreeBSD.org>2015-09-16 02:54:24 +0800
commitfb5a0c94153558cca25f6bf08ac5de1423ac5d76 (patch)
tree0b9ac3a002048098734fdbdf37d087d75e80f985 /graphics
parent8719f1f17c3e8763e3881a8baf2d9c69db921115 (diff)
downloadfreebsd-ports-gnome-fb5a0c94153558cca25f6bf08ac5de1423ac5d76.tar.gz
freebsd-ports-gnome-fb5a0c94153558cca25f6bf08ac5de1423ac5d76.tar.zst
freebsd-ports-gnome-fb5a0c94153558cca25f6bf08ac5de1423ac5d76.zip
graphics/cal3d(-devel): Fix build on gcc5
Trivial addition of <string.h>, approved by blanket
Diffstat (limited to 'graphics')
-rw-r--r--graphics/cal3d-devel/files/patch-src_cal3d_platform.h10
-rw-r--r--graphics/cal3d/files/patch-src_cal3d_platform.h10
2 files changed, 20 insertions, 0 deletions
diff --git a/graphics/cal3d-devel/files/patch-src_cal3d_platform.h b/graphics/cal3d-devel/files/patch-src_cal3d_platform.h
new file mode 100644
index 000000000000..370be459655b
--- /dev/null
+++ b/graphics/cal3d-devel/files/patch-src_cal3d_platform.h
@@ -0,0 +1,10 @@
+--- src/cal3d/platform.h.orig 2006-03-01 22:55:35 UTC
++++ src/cal3d/platform.h
+@@ -77,6 +77,7 @@ typedef int intptr_t;
+ // standard includes
+ #include <stdlib.h>
+ #include <math.h>
++#include <string.h>
+
+ // debug includes
+ #include <assert.h>
diff --git a/graphics/cal3d/files/patch-src_cal3d_platform.h b/graphics/cal3d/files/patch-src_cal3d_platform.h
new file mode 100644
index 000000000000..370be459655b
--- /dev/null
+++ b/graphics/cal3d/files/patch-src_cal3d_platform.h
@@ -0,0 +1,10 @@
+--- src/cal3d/platform.h.orig 2006-03-01 22:55:35 UTC
++++ src/cal3d/platform.h
+@@ -77,6 +77,7 @@ typedef int intptr_t;
+ // standard includes
+ #include <stdlib.h>
+ #include <math.h>
++#include <string.h>
+
+ // debug includes
+ #include <assert.h>