Do not try to use EOVERFLOW if it is equal to ERANGE, such as in MirBSD. Fixes MirBSD build. PKGREVISION++.diff -r1.6 -r1.7 pkgsrc/graphics/ilmbase/Makefile
(bsiegert)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.6 2011/01/03 07:58:43 dsainty Exp $ | 1 | # $NetBSD: Makefile,v 1.7 2012/07/26 10:58:46 bsiegert Exp $ | |
2 | 2 | |||
3 | DISTNAME= ilmbase-1.0.2 | 3 | DISTNAME= ilmbase-1.0.2 | |
4 | PKGREVISION= 1 | 4 | PKGREVISION= 2 | |
5 | CATEGORIES= graphics | 5 | CATEGORIES= graphics | |
6 | MASTER_SITES= http://savannah.nongnu.org/download/openexr/ | 6 | MASTER_SITES= http://savannah.nongnu.org/download/openexr/ | |
7 | 7 | |||
8 | MAINTAINER= adam@NetBSD.org | 8 | MAINTAINER= adam@NetBSD.org | |
9 | HOMEPAGE= http://www.openexr.com/ | 9 | HOMEPAGE= http://www.openexr.com/ | |
10 | COMMENT= High dynamic-range (HDR) image file format library and tools | 10 | COMMENT= High dynamic-range (HDR) image file format library and tools | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 14 | |||
15 | USE_TOOLS+= gmake | 15 | USE_TOOLS+= gmake | |
16 | USE_LANGUAGES= c c++ | 16 | USE_LANGUAGES= c c++ | |
17 | USE_LIBTOOL= yes | 17 | USE_LIBTOOL= yes |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2011/01/03 07:58:43 dsainty Exp $ | 1 | $NetBSD: distinfo,v 1.5 2012/07/26 10:58:46 bsiegert Exp $ | |
2 | 2 | |||
3 | SHA1 (ilmbase-1.0.2.tar.gz) = fe6a910a90cde80137153e25e175e2b211beda36 | 3 | SHA1 (ilmbase-1.0.2.tar.gz) = fe6a910a90cde80137153e25e175e2b211beda36 | |
4 | RMD160 (ilmbase-1.0.2.tar.gz) = 40aed65079ee174be8ed237e5def941ae2b761b3 | 4 | RMD160 (ilmbase-1.0.2.tar.gz) = 40aed65079ee174be8ed237e5def941ae2b761b3 | |
5 | Size (ilmbase-1.0.2.tar.gz) = 496540 bytes | 5 | Size (ilmbase-1.0.2.tar.gz) = 496540 bytes | |
6 | SHA1 (patch-Iex_IexThrowErrnoExc.cpp) = 0cb0680bddcc80feba04ad3d5a902dcf6f25dd00 | |||
6 | SHA1 (patch-aa) = 7498a0cfafaec4f1e43dd57270f514bc5a8e7b1f | 7 | SHA1 (patch-aa) = 7498a0cfafaec4f1e43dd57270f514bc5a8e7b1f | |
7 | SHA1 (patch-ab) = a4e80234beb617861d1ab01a8bcfd34e03675da4 | 8 | SHA1 (patch-ab) = a4e80234beb617861d1ab01a8bcfd34e03675da4 | |
8 | SHA1 (patch-ac) = af3991c83db7bece1575a29a0445016c8618e6a2 | 9 | 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