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

cvs diff -r1.6 -r1.7 pkgsrc/graphics/ilmbase/Attic/Makefile (expand / switch to unified diff)

--- 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,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
3DISTNAME= ilmbase-1.0.2 3DISTNAME= ilmbase-1.0.2
4PKGREVISION= 1 4PKGREVISION= 2
5CATEGORIES= graphics 5CATEGORIES= graphics
6MASTER_SITES= http://savannah.nongnu.org/download/openexr/ 6MASTER_SITES= http://savannah.nongnu.org/download/openexr/
7 7
8MAINTAINER= adam@NetBSD.org 8MAINTAINER= adam@NetBSD.org
9HOMEPAGE= http://www.openexr.com/ 9HOMEPAGE= http://www.openexr.com/
10COMMENT= High dynamic-range (HDR) image file format library and tools 10COMMENT= High dynamic-range (HDR) image file format library and tools
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15USE_TOOLS+= gmake 15USE_TOOLS+= gmake
16USE_LANGUAGES= c c++ 16USE_LANGUAGES= c c++
17USE_LIBTOOL= yes 17USE_LIBTOOL= yes

cvs diff -r1.4 -r1.5 pkgsrc/graphics/ilmbase/Attic/distinfo (expand / switch to unified diff)

--- 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 @@ @@ -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
3SHA1 (ilmbase-1.0.2.tar.gz) = fe6a910a90cde80137153e25e175e2b211beda36 3SHA1 (ilmbase-1.0.2.tar.gz) = fe6a910a90cde80137153e25e175e2b211beda36
4RMD160 (ilmbase-1.0.2.tar.gz) = 40aed65079ee174be8ed237e5def941ae2b761b3 4RMD160 (ilmbase-1.0.2.tar.gz) = 40aed65079ee174be8ed237e5def941ae2b761b3
5Size (ilmbase-1.0.2.tar.gz) = 496540 bytes 5Size (ilmbase-1.0.2.tar.gz) = 496540 bytes
 6SHA1 (patch-Iex_IexThrowErrnoExc.cpp) = 0cb0680bddcc80feba04ad3d5a902dcf6f25dd00
6SHA1 (patch-aa) = 7498a0cfafaec4f1e43dd57270f514bc5a8e7b1f 7SHA1 (patch-aa) = 7498a0cfafaec4f1e43dd57270f514bc5a8e7b1f
7SHA1 (patch-ab) = a4e80234beb617861d1ab01a8bcfd34e03675da4 8SHA1 (patch-ab) = a4e80234beb617861d1ab01a8bcfd34e03675da4
8SHA1 (patch-ac) = af3991c83db7bece1575a29a0445016c8618e6a2 9SHA1 (patch-ac) = af3991c83db7bece1575a29a0445016c8618e6a2

File Added: pkgsrc/graphics/ilmbase/patches/Attic/patch-Iex_IexThrowErrnoExc.cpp
$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