From a8f4c7cff1449e1dc01298d78c2a681181e190b1 Mon Sep 17 00:00:00 2001 From: dsainty Date: Mon, 3 Jan 2011 07:58:43 +0000 Subject: Include 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. --- graphics/ilmbase/Makefile | 3 ++- graphics/ilmbase/distinfo | 3 ++- graphics/ilmbase/patches/patch-ac | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 graphics/ilmbase/patches/patch-ac (limited to 'graphics/ilmbase') 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 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 + #include + #include + -- cgit v1.2.3