diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2012-07-26 10:58:46 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2012-07-26 10:58:46 +0000 |
commit | e42a21d02ab1d25cfd4ee22a28911fa07add5a9d (patch) | |
tree | 0df48bdc92ec136d880300c29eb1369682075987 | |
parent | 1822ff320a1c07e8d3e1dc0643a633a64e7850a7 (diff) | |
download | pkgsrc-e42a21d02ab1d25cfd4ee22a28911fa07add5a9d.tar.gz |
Do not try to use EOVERFLOW if it is equal to ERANGE, such as in MirBSD.
Fixes MirBSD build.
PKGREVISION++.
-rw-r--r-- | graphics/ilmbase/Makefile | 4 | ||||
-rw-r--r-- | graphics/ilmbase/distinfo | 3 | ||||
-rw-r--r-- | graphics/ilmbase/patches/patch-Iex_IexThrowErrnoExc.cpp | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/graphics/ilmbase/Makefile b/graphics/ilmbase/Makefile index 62fd53d4399..877f8d31af4 100644 --- a/graphics/ilmbase/Makefile +++ b/graphics/ilmbase/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2011/01/03 07:58:43 dsainty Exp $ +# $NetBSD: Makefile,v 1.7 2012/07/26 10:58:46 bsiegert Exp $ DISTNAME= ilmbase-1.0.2 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://savannah.nongnu.org/download/openexr/ diff --git a/graphics/ilmbase/distinfo b/graphics/ilmbase/distinfo index a2672173cbe..5ee11651b95 100644 --- a/graphics/ilmbase/distinfo +++ b/graphics/ilmbase/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.4 2011/01/03 07:58:43 dsainty Exp $ +$NetBSD: distinfo,v 1.5 2012/07/26 10:58:46 bsiegert 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-Iex_IexThrowErrnoExc.cpp) = 0cb0680bddcc80feba04ad3d5a902dcf6f25dd00 SHA1 (patch-aa) = 7498a0cfafaec4f1e43dd57270f514bc5a8e7b1f SHA1 (patch-ab) = a4e80234beb617861d1ab01a8bcfd34e03675da4 SHA1 (patch-ac) = af3991c83db7bece1575a29a0445016c8618e6a2 diff --git a/graphics/ilmbase/patches/patch-Iex_IexThrowErrnoExc.cpp b/graphics/ilmbase/patches/patch-Iex_IexThrowErrnoExc.cpp new file mode 100644 index 00000000000..efabd205f50 --- /dev/null +++ b/graphics/ilmbase/patches/patch-Iex_IexThrowErrnoExc.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-Iex_IexThrowErrnoExc.cpp,v 1.1 2012/07/26 10:58:47 bsiegert Exp $ + +--- Iex/IexThrowErrnoExc.cpp.orig Thu Jul 26 10:46:21 2012 ++++ Iex/IexThrowErrnoExc.cpp +@@ -410,7 +410,7 @@ void throwErrnoExc (const std::string &t + throw EnametoolongExc (tmp); + #endif + +- #if defined (EOVERFLOW) ++ #if defined (EOVERFLOW) && EOVERFLOW != ERANGE + case EOVERFLOW: + throw EoverflowExc (tmp); + #endif |