summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2013-12-02 23:39:09 +0000
committerbsiegert <bsiegert@pkgsrc.org>2013-12-02 23:39:09 +0000
commitb0e86f0ccc91a067c981acb30fb345b7f6b8a601 (patch)
tree53e665897faf70c17331d5f6e409e79ab3c793ac /graphics
parentfa6a31697d07b9af1e3f474430864b0f2e2d33b8 (diff)
downloadpkgsrc-b0e86f0ccc91a067c981acb30fb345b7f6b8a601.tar.gz
Add #undef abs in ImathFun.h. On MirBSD, something (I don't know what)
redefines abs and breaks the openexr build. Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ilmbase/Makefile3
-rw-r--r--graphics/ilmbase/distinfo3
-rw-r--r--graphics/ilmbase/patches/patch-Imath_ImathFun.h13
3 files changed, 17 insertions, 2 deletions
diff --git a/graphics/ilmbase/Makefile b/graphics/ilmbase/Makefile
index 0dc58f9a929..b0c4cfdd752 100644
--- a/graphics/ilmbase/Makefile
+++ b/graphics/ilmbase/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2013/07/31 18:25:28 adam Exp $
+# $NetBSD: Makefile,v 1.13 2013/12/02 23:39:09 bsiegert Exp $
DISTNAME= ilmbase-2.0.1
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://download.savannah.nongnu.org/releases/openexr/
diff --git a/graphics/ilmbase/distinfo b/graphics/ilmbase/distinfo
index 0a569988251..5b2cae74d93 100644
--- a/graphics/ilmbase/distinfo
+++ b/graphics/ilmbase/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.8 2013/07/31 18:25:28 adam Exp $
+$NetBSD: distinfo,v 1.9 2013/12/02 23:39:09 bsiegert Exp $
SHA1 (ilmbase-2.0.1.tar.gz) = bfa62519094413f686c6f08c5923b47a10eea180
RMD160 (ilmbase-2.0.1.tar.gz) = a17bce323d3025ddb971c254bef31a7c230b4b20
Size (ilmbase-2.0.1.tar.gz) = 555828 bytes
SHA1 (patch-Iex_IexThrowErrnoExc.cpp) = 1a4206619320a2a95378b7c2db14fde20b0ffd71
+SHA1 (patch-Imath_ImathFun.h) = 79ab60ada8cecd52e5b16fadbded82492d79a1df
SHA1 (patch-aa) = 7498a0cfafaec4f1e43dd57270f514bc5a8e7b1f
SHA1 (patch-ab) = 1e39351d9513e10e3745c188612f9daf41253234
diff --git a/graphics/ilmbase/patches/patch-Imath_ImathFun.h b/graphics/ilmbase/patches/patch-Imath_ImathFun.h
new file mode 100644
index 00000000000..f378525dbe7
--- /dev/null
+++ b/graphics/ilmbase/patches/patch-Imath_ImathFun.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-Imath_ImathFun.h,v 1.1 2013/12/02 23:39:09 bsiegert Exp $
+
+--- Imath/ImathFun.h.orig Thu Sep 19 17:07:20 2013
++++ Imath/ImathFun.h
+@@ -48,6 +48,8 @@
+ #include "ImathInt64.h"
+ #include "ImathNamespace.h"
+
++#undef abs
++
+ IMATH_INTERNAL_NAMESPACE_HEADER_ENTER
+
+ template <class T>