summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-10-01 22:00:47 +0000
committermarino <marino@FreeBSD.org>2013-10-01 22:00:47 +0000
commit9dff950e883854501f10000294b1ff1e273ed431 (patch)
tree883fbc9d648a9076e0d2b40685cc9a337d69ba2e
parentb45041a7f1b20c29887c50ed5a893db216fb70cc (diff)
downloadFreeBSD-ports-9dff950e883854501f10000294b1ff1e273ed431.zip
FreeBSD-ports-9dff950e883854501f10000294b1ff1e273ed431.tar.gz
biology/avida: add <unistd.h>, <typoinfo> for modern compilers
-rw-r--r--biology/avida/files/patch-libs_apto_include_apto_core_Functor.h10
-rw-r--r--biology/avida/files/patch-libs_apto_utils_unittest_googletest_include_gtest_internal_gtest-port.h10
2 files changed, 20 insertions, 0 deletions
diff --git a/biology/avida/files/patch-libs_apto_include_apto_core_Functor.h b/biology/avida/files/patch-libs_apto_include_apto_core_Functor.h
new file mode 100644
index 0000000..ae59b88
--- /dev/null
+++ b/biology/avida/files/patch-libs_apto_include_apto_core_Functor.h
@@ -0,0 +1,10 @@
+--- libs/apto/include/apto/core/Functor.h.orig 2012-09-29 03:33:38.000000000 +0000
++++ libs/apto/include/apto/core/Functor.h
+@@ -38,6 +38,7 @@
+
+ #include "apto/platform/Visibility.h"
+
++#include <typeinfo>
+ #include <cassert>
+
+
diff --git a/biology/avida/files/patch-libs_apto_utils_unittest_googletest_include_gtest_internal_gtest-port.h b/biology/avida/files/patch-libs_apto_utils_unittest_googletest_include_gtest_internal_gtest-port.h
new file mode 100644
index 0000000..83dd715
--- /dev/null
+++ b/biology/avida/files/patch-libs_apto_utils_unittest_googletest_include_gtest_internal_gtest-port.h
@@ -0,0 +1,10 @@
+--- libs/apto/utils/unittest/googletest/include/gtest/internal/gtest-port.h.orig 2012-09-29 03:33:39.000000000 +0000
++++ libs/apto/utils/unittest/googletest/include/gtest/internal/gtest-port.h
+@@ -173,6 +173,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <unistd.h>
+ #ifndef _WIN32_WCE
+ #include <sys/stat.h>
+ #endif // !_WIN32_WCE
OpenPOWER on IntegriCloud