summaryrefslogtreecommitdiff
path: root/graphics/ilmbase/patches/patch-Iex_IexThrowErrnoExc.cpp
blob: efabd205f5018d0359fc43ad278ac899eedcd4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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