summaryrefslogtreecommitdiff
path: root/graphics/ilmbase/patches/patch-Iex_IexThrowErrnoExc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ilmbase/patches/patch-Iex_IexThrowErrnoExc.cpp')
-rw-r--r--graphics/ilmbase/patches/patch-Iex_IexThrowErrnoExc.cpp13
1 files changed, 13 insertions, 0 deletions
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