Add patch for failing i686 build.
This commit is contained in:
parent
45c2a19184
commit
22a6e6ac9e
11
OpenImageIO-1.7.7-i686_fix.patch
Normal file
11
OpenImageIO-1.7.7-i686_fix.patch
Normal 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
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user