Add #undef abs in ImathFun.h. On MirBSD, something (I don't know what)
redefines abs and breaks the openexr build. Bump PKGREVISION.
This commit is contained in:
parent
fa6a31697d
commit
b0e86f0ccc
3 changed files with 17 additions and 2 deletions
|
@ -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/
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
13
graphics/ilmbase/patches/patch-Imath_ImathFun.h
Normal file
13
graphics/ilmbase/patches/patch-Imath_ImathFun.h
Normal file
|
@ -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>
|
Loading…
Reference in a new issue