Thu Jul 26 10:58:47 2012 UTC ()
Do not try to use EOVERFLOW if it is equal to ERANGE, such as in MirBSD.
Fixes MirBSD build.
PKGREVISION++.
(bsiegert)
diff -r1.6 -r1.7 pkgsrc/graphics/ilmbase/Makefile
diff -r1.4 -r1.5 pkgsrc/graphics/ilmbase/distinfo
diff -r0 -r1.1 pkgsrc/graphics/ilmbase/patches/patch-Iex_IexThrowErrnoExc.cpp
--- pkgsrc/graphics/ilmbase/Attic/Makefile 2011/01/03 07:58:43 1.6
+++ pkgsrc/graphics/ilmbase/Attic/Makefile 2012/07/26 10:58:46 1.7
@@ -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/
--- pkgsrc/graphics/ilmbase/Attic/distinfo 2011/01/03 07:58:43 1.4
+++ pkgsrc/graphics/ilmbase/Attic/distinfo 2012/07/26 10:58:46 1.5
@@ -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
$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