Add patch for failing i686 build.

This commit is contained in:
Richard M. Shaw 2016-10-03 10:52:10 -05:00
parent 45c2a19184
commit 22a6e6ac9e
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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 \