gcc-4.3.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org>
  2. Date: 2005-08-23
  3. Initial Package Version: 1.2.2
  4. Upstream Status: Unknown (discussed on the OpenEXR mailing lists though)
  5. Origin: Jeff Clifford (on the OpenEXR mailing list)
  6. http://lists.gnu.org/archive/html/openexr-devel/2005-07/msg00024.html
  7. Description: Fixes GCC-4 related build problem
  8. Index: openexr-1.7.0/exrenvmap/main.cpp
  9. ===================================================================
  10. --- openexr-1.7.0.orig/exrenvmap/main.cpp
  11. +++ openexr-1.7.0/exrenvmap/main.cpp
  12. @@ -50,6 +50,7 @@
  13. #include <string>
  14. #include <string.h>
  15. #include <stdlib.h>
  16. +#include <cstring>
  17. using namespace Imf;
  18. using namespace std;
  19. Index: openexr-1.7.0/exrmaketiled/main.cpp
  20. ===================================================================
  21. --- openexr-1.7.0.orig/exrmaketiled/main.cpp
  22. +++ openexr-1.7.0/exrmaketiled/main.cpp
  23. @@ -44,7 +44,7 @@
  24. #include <iostream>
  25. #include <exception>
  26. -#include <string>
  27. +#include <cstring>
  28. #include <string.h>
  29. #include <stdlib.h>
  30. Index: openexr-1.7.0/exrenvmap/makeLatLongMap.cpp
  31. ===================================================================
  32. --- openexr-1.7.0.orig/exrenvmap/makeLatLongMap.cpp
  33. +++ openexr-1.7.0/exrenvmap/makeLatLongMap.cpp
  34. @@ -47,6 +47,7 @@
  35. #include <ImfStandardAttributes.h>
  36. #include "Iex.h"
  37. #include <iostream>
  38. +#include <cstring>
  39. #include <algorithm>
  40. Index: openexr-1.7.0/exrenvmap/blurImage.cpp
  41. ===================================================================
  42. --- openexr-1.7.0.orig/exrenvmap/blurImage.cpp
  43. +++ openexr-1.7.0/exrenvmap/blurImage.cpp
  44. @@ -44,6 +44,7 @@
  45. #include <resizeImage.h>
  46. #include "Iex.h"
  47. #include <iostream>
  48. +#include <cstring>
  49. #include <algorithm>
  50. using namespace std;