summaryrefslogtreecommitdiff
path: root/graphics/ilmbase/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ilmbase/patches/patch-ac')
-rw-r--r--graphics/ilmbase/patches/patch-ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/ilmbase/patches/patch-ac b/graphics/ilmbase/patches/patch-ac
new file mode 100644
index 00000000000..48214aa9a39
--- /dev/null
+++ b/graphics/ilmbase/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2011/01/03 07:58:43 dsainty Exp $
+
+Include <cstring> to declare memset(), used from this header in inlines.
+
+--- Imath/ImathMatrix.h.orig 2010-07-17 10:48:40.000000000 +1200
++++ Imath/ImathMatrix.h 2011-01-03 20:30:27.543078712 +1300
+@@ -49,6 +49,7 @@
+ #include "ImathVec.h"
+ #include "ImathShear.h"
+
++#include <cstring>
+ #include <iostream>
+ #include <iomanip>
+