summaryrefslogtreecommitdiff
path: root/graphics/ilmbase
diff options
context:
space:
mode:
authordsainty <dsainty>2011-01-03 07:58:43 +0000
committerdsainty <dsainty>2011-01-03 07:58:43 +0000
commitcc8e554838995610c80781d69c0237d1eb7a48e1 (patch)
treef12404ba245ccfd42b2e56ca7adf4228938e91ef /graphics/ilmbase
parent8b04d5ad01f968b35787f108b83bfde04a0e4ace (diff)
downloadpkgsrc-cc8e554838995610c80781d69c0237d1eb7a48e1.tar.gz
Include <cstring> to declare memset(), used from ImathMatrix.h in
inlines. Bump PKGREVISION, as this modifies the installed header as used by other packages. Partially fixes building graphics/openexr under Ubuntu 10.10.
Diffstat (limited to 'graphics/ilmbase')
-rw-r--r--graphics/ilmbase/Makefile3
-rw-r--r--graphics/ilmbase/distinfo3
-rw-r--r--graphics/ilmbase/patches/patch-ac14
3 files changed, 18 insertions, 2 deletions
diff --git a/graphics/ilmbase/Makefile b/graphics/ilmbase/Makefile
index 2290968c775..62fd53d4399 100644
--- a/graphics/ilmbase/Makefile
+++ b/graphics/ilmbase/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2010/12/14 09:52:51 adam Exp $
+# $NetBSD: Makefile,v 1.6 2011/01/03 07:58:43 dsainty Exp $
DISTNAME= ilmbase-1.0.2
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://savannah.nongnu.org/download/openexr/
diff --git a/graphics/ilmbase/distinfo b/graphics/ilmbase/distinfo
index dcd86b6a4e1..a2672173cbe 100644
--- a/graphics/ilmbase/distinfo
+++ b/graphics/ilmbase/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2010/12/14 09:52:51 adam Exp $
+$NetBSD: distinfo,v 1.4 2011/01/03 07:58:43 dsainty Exp $
SHA1 (ilmbase-1.0.2.tar.gz) = fe6a910a90cde80137153e25e175e2b211beda36
RMD160 (ilmbase-1.0.2.tar.gz) = 40aed65079ee174be8ed237e5def941ae2b761b3
Size (ilmbase-1.0.2.tar.gz) = 496540 bytes
SHA1 (patch-aa) = 7498a0cfafaec4f1e43dd57270f514bc5a8e7b1f
SHA1 (patch-ab) = a4e80234beb617861d1ab01a8bcfd34e03675da4
+SHA1 (patch-ac) = af3991c83db7bece1575a29a0445016c8618e6a2
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>
+