aboutsummaryrefslogtreecommitdiffstats
path: root/biology/avida
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-06-04 16:26:03 +0800
committermiwi <miwi@FreeBSD.org>2013-06-04 16:26:03 +0800
commit70b5f12266b5c997e6b5db9092e25205c005576f (patch)
tree1f13c60b4f1f0fec9e3443105e129123acd0a5ac /biology/avida
parent02618729019f6d262a991ad8fff2a048f328faca (diff)
downloadfreebsd-ports-gnome-70b5f12266b5c997e6b5db9092e25205c005576f.tar.gz
freebsd-ports-gnome-70b5f12266b5c997e6b5db9092e25205c005576f.tar.zst
freebsd-ports-gnome-70b5f12266b5c997e6b5db9092e25205c005576f.zip
- Fix build with clang
PR: 179215 Submitted by: Ports Fury
Diffstat (limited to 'biology/avida')
-rw-r--r--biology/avida/files/patch-avida-core__source__tools__tArray.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/biology/avida/files/patch-avida-core__source__tools__tArray.h b/biology/avida/files/patch-avida-core__source__tools__tArray.h
new file mode 100644
index 000000000000..7c08bbe7f152
--- /dev/null
+++ b/biology/avida/files/patch-avida-core__source__tools__tArray.h
@@ -0,0 +1,10 @@
+--- avida-core/source/tools/tArray.h.orig
++++ avida-core/source/tools/tArray.h
+@@ -23,6 +23,7 @@
+ #ifndef tArray_h
+ #define tArray_h
+
++#include <cstdlib>
+ #include <cassert>
+
+ #ifndef NULL