aboutsummaryrefslogtreecommitdiff
path: root/graphics/openexr/files/patch-IlmImfTest_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/openexr/files/patch-IlmImfTest_main.cpp')
-rw-r--r--graphics/openexr/files/patch-IlmImfTest_main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/openexr/files/patch-IlmImfTest_main.cpp b/graphics/openexr/files/patch-IlmImfTest_main.cpp
new file mode 100644
index 000000000000..65b8592f3f0a
--- /dev/null
+++ b/graphics/openexr/files/patch-IlmImfTest_main.cpp
@@ -0,0 +1,11 @@
+--- IlmImfTest/main.cpp.orig 2018-08-10 01:34:59 UTC
++++ IlmImfTest/main.cpp
+@@ -100,7 +100,7 @@
+ #include <string.h>
+ #include <time.h>
+
+-#if defined(OPENEXR_IMF_HAVE_LINUX_PROCFS) || defined(OPENEXR_IMF_HAVE_DARWIN)
++#if defined(OPENEXR_IMF_HAVE_LINUX_PROCFS) || defined(OPENEXR_IMF_HAVE_DARWIN) || defined(__FreeBSD__)
+ #include <unistd.h>
+ #include <sstream>
+ #endif