summaryrefslogtreecommitdiff
path: root/graphics/openexr
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2011-01-03 08:04:25 +0000
committerdsainty <dsainty@pkgsrc.org>2011-01-03 08:04:25 +0000
commit7c87a483482c3cfe5416e03bda78697ffa958114 (patch)
tree035b2ee512ee437bf668d5702e3a3832fc2b8abc /graphics/openexr
parent994767ef21b3203eded4287d6734a4a24037a80e (diff)
downloadpkgsrc-7c87a483482c3cfe5416e03bda78697ffa958114.tar.gz
Include <cstring> to declare memcpy(), used by blurImage(). No
PKGREVISION bump required, no functional change on platforms where this previously built. Fixes building graphics/openexr under Ubuntu 10.10.
Diffstat (limited to 'graphics/openexr')
-rw-r--r--graphics/openexr/distinfo3
-rw-r--r--graphics/openexr/patches/patch-ac14
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/openexr/distinfo b/graphics/openexr/distinfo
index 929e34134ef..658e1130c81 100644
--- a/graphics/openexr/distinfo
+++ b/graphics/openexr/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.14 2010/12/14 09:55:56 adam Exp $
+$NetBSD: distinfo,v 1.15 2011/01/03 08:04:25 dsainty Exp $
SHA1 (openexr-1.7.0.tar.gz) = 91d0d4e69f06de956ec7e0710fc58ec0d4c4dc2b
RMD160 (openexr-1.7.0.tar.gz) = 410ae4490988067cc80324e776b52ae6a261f157
Size (openexr-1.7.0.tar.gz) = 13542910 bytes
SHA1 (patch-aa) = 5c0d585e623d66d60e535ce3dc84c4db845c6382
SHA1 (patch-ab) = 7d4fdf8d36f58ea5126b8c72dae901d1d68e6a60
+SHA1 (patch-ac) = 44a777615f0d969d9c80f76aa93a8812de414560
SHA1 (patch-ai) = 9bf08eb6e092848e6b194989e03320a334eff640
diff --git a/graphics/openexr/patches/patch-ac b/graphics/openexr/patches/patch-ac
new file mode 100644
index 00000000000..ebd78851489
--- /dev/null
+++ b/graphics/openexr/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.5 2011/01/03 08:04:25 dsainty Exp $
+
+Include <cstring> to declare memcpy(), used by blurImage().
+
+--- exrenvmap/blurImage.cpp.orig 2009-02-26 12:39:27.000000000 +1300
++++ exrenvmap/blurImage.cpp 2010-12-26 12:11:57.891117560 +1300
+@@ -45,6 +45,7 @@
+ #include "Iex.h"
+ #include <iostream>
+ #include <algorithm>
++#include <cstring>
+
+ using namespace std;
+ using namespace Imf;