diff --git a/OpenImageIO-1.7.7-i686_fix.patch b/OpenImageIO-1.7.7-i686_fix.patch new file mode 100644 index 0000000..2cd8540 --- /dev/null +++ b/OpenImageIO-1.7.7-i686_fix.patch @@ -0,0 +1,11 @@ +--- a/src/libtexture/texturesys.cpp ++++ b/src/libtexture/texturesys.cpp +@@ -2477,6 +2477,8 @@ TextureSystemImpl::sample_bicubic (int n + } else { + wx = evalBSplineWeights (float4(sfrac)); + wy = evalBSplineWeights (float4(tfrac)); ++ dwx = float4::Zero(); ++ dwy = float4::Zero(); + } + + // figure out lerp weights so we can turn the filter into a sequence of lerp's diff --git a/OpenImageIO.spec b/OpenImageIO.spec index a3d9f77..f0c585f 100644 --- a/OpenImageIO.spec +++ b/OpenImageIO.spec @@ -14,6 +14,7 @@ Source0: https://github.com/%{name}/%{subname}/archive/Release-%{version} # Images for test suite #Source1: oiio-images.tar.gz +Patch0: OpenImageIO-1.7.7-i686_fix.patch BuildRequires: cmake gcc-c++ BuildRequires: txt2man @@ -96,6 +97,7 @@ Development files for package %{name} %prep %setup -q -n oiio-Release-%{version} +%patch0 -p1 # Remove bundled pugixml rm -f src/include/OpenImageIO/pugixml.hpp \