diff --git a/OpenImageIO-0.10.4-gcc47_unistd_h.fix b/OpenImageIO-0.10.4-gcc47_unistd_h.fix new file mode 100644 index 0000000..5691937 --- /dev/null +++ b/OpenImageIO-0.10.4-gcc47_unistd_h.fix @@ -0,0 +1,11 @@ +diff -Naur OpenImageIO-oiio-7b7590f.orig/src/include/strutil.h OpenImageIO-oiio-7b7590f/src/include/strutil.h +--- OpenImageIO-oiio-7b7590f.orig/src/include/strutil.h 2011-11-20 09:23:48.000000000 -0600 ++++ OpenImageIO-oiio-7b7590f/src/include/strutil.h 2012-01-05 14:30:34.015046609 -0600 +@@ -44,6 +44,7 @@ + #include + #include + #include ++#include + + #include "export.h" + #include "version.h" diff --git a/OpenImageIO.spec b/OpenImageIO.spec index ac191d4..f698a8e 100644 --- a/OpenImageIO.spec +++ b/OpenImageIO.spec @@ -17,6 +17,7 @@ Patch0: OpenImageIO-0.10.2-git_backports.patch Patch1: OpenImageIO-0.10.0-atomic_test_fix.patch Patch2: OpenImageIO-0.10.3-use_external_tbb.patch Patch3: OpenImageIO-0.10.2-Z_BEST_COMPRESSION.patch +Patch4: OpenImageIO-0.10.4-gcc47_unistd_h.fix BuildRequires: boost-devel glew-devel qt-devel OpenEXR-devel ilmbase-devel BuildRequires: python2-devel txt2man @@ -65,6 +66,7 @@ Development files for package %{name} %patch1 -p1 -b .atomic %patch2 -p1 -b .tbb %patch3 -p1 -b .zlib +%patch4 -p1 -b .gcc47 # Remove bundled pugixml rm -f src/include/pugixml.hpp \