pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ilmbase Include <cstring> to declare memset()...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c967382f9952
branches:  trunk
changeset: 583849:c967382f9952
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Mon Jan 03 07:58:43 2011 +0000

description:
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:

 graphics/ilmbase/Makefile         |   3 ++-
 graphics/ilmbase/distinfo         |   3 ++-
 graphics/ilmbase/patches/patch-ac |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r bd8c9b14c516 -r c967382f9952 graphics/ilmbase/Makefile
--- a/graphics/ilmbase/Makefile Mon Jan 03 07:38:57 2011 +0000
+++ b/graphics/ilmbase/Makefile Mon Jan 03 07:58:43 2011 +0000
@@ -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 -r bd8c9b14c516 -r c967382f9952 graphics/ilmbase/distinfo
--- a/graphics/ilmbase/distinfo Mon Jan 03 07:38:57 2011 +0000
+++ b/graphics/ilmbase/distinfo Mon Jan 03 07:58:43 2011 +0000
@@ -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 -r bd8c9b14c516 -r c967382f9952 graphics/ilmbase/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ilmbase/patches/patch-ac Mon Jan 03 07:58:43 2011 +0000
@@ -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>
+ 



Home | Main Index | Thread Index | Old Index