Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
Date:                    2005-08-23
Initial Package Version: 1.2.2
Upstream Status:         Unknown (discussed on the OpenEXR mailing lists though)
Origin:                  Jeff Clifford (on the OpenEXR mailing list)
                         http://lists.gnu.org/archive/html/openexr-devel/2005-07/msg00024.html
Description:             Fixes GCC-4 related build problem


Index: openexr-1.7.0/exrenvmap/main.cpp
===================================================================
--- openexr-1.7.0.orig/exrenvmap/main.cpp
+++ openexr-1.7.0/exrenvmap/main.cpp
@@ -50,6 +50,7 @@
 #include <string>
 #include <string.h>
 #include <stdlib.h>
+#include <cstring>
 
 using namespace Imf;
 using namespace std;
Index: openexr-1.7.0/exrmaketiled/main.cpp
===================================================================
--- openexr-1.7.0.orig/exrmaketiled/main.cpp
+++ openexr-1.7.0/exrmaketiled/main.cpp
@@ -44,7 +44,7 @@
 
 #include <iostream>
 #include <exception>
-#include <string>
+#include <cstring>
 #include <string.h>
 #include <stdlib.h>
 
Index: openexr-1.7.0/exrenvmap/makeLatLongMap.cpp
===================================================================
--- openexr-1.7.0.orig/exrenvmap/makeLatLongMap.cpp
+++ openexr-1.7.0/exrenvmap/makeLatLongMap.cpp
@@ -47,6 +47,7 @@
 #include <ImfStandardAttributes.h>
 #include "Iex.h"
 #include <iostream>
+#include <cstring>
 #include <algorithm>
 
 
Index: openexr-1.7.0/exrenvmap/blurImage.cpp
===================================================================
--- openexr-1.7.0.orig/exrenvmap/blurImage.cpp
+++ openexr-1.7.0/exrenvmap/blurImage.cpp
@@ -44,6 +44,7 @@
 #include <resizeImage.h>
 #include "Iex.h"
 #include <iostream>
+#include <cstring>
 #include <algorithm>
 
 using namespace std;
