diff --git a/blender-2.45-yafray.patch b/blender-2.45-yafray.patch new file mode 100644 index 0000000..3c64b90 --- /dev/null +++ b/blender-2.45-yafray.patch @@ -0,0 +1,24 @@ +--- blender-2.45/source/blender/yafray/intern/export_Plugin.cpp.orig 2007-09-18 05:58:44.000000000 +0100 ++++ blender-2.45/source/blender/yafray/intern/export_Plugin.cpp 2008-02-05 14:32:07.000000000 +0000 +@@ -97,8 +97,8 @@ + #else + static char *alternative[]= + { +- "/usr/local/lib/", +- "/usr/lib/", ++ "/usr/local/lib64/", ++ "/usr/lib64/", + NULL + }; + +@@ -120,8 +120,8 @@ + #else + static char *alternative[]= + { +- "/usr/local/lib/yafray", +- "/usr/lib/yafray", ++ "/usr/local/lib64/yafray", ++ "/usr/lib64/yafray", + NULL + }; + diff --git a/blender.spec b/blender.spec index 450f7ca..46d2057 100644 --- a/blender.spec +++ b/blender.spec @@ -3,7 +3,7 @@ Name: blender Version: 2.45 -Release: 7%{?dist} +Release: 8%{?dist} Summary: 3D modeling, animation, rendering and post-production @@ -28,6 +28,7 @@ Source7: blender-2.44.config Patch1: blender-2.44-scons.patch Patch2: blender-2.44-bid.patch Patch3: blender-2.45-gcc43.patch +Patch4: blender-2.45-yafray.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -71,6 +72,7 @@ secure, multi-platform content to the web, CD-ROMs, and other media. %patch1 -p1 -b .org %patch2 -p1 -b .bid %patch3 -p1 -b .gcc43 +%patch4 -p1 PYVER=$(%{__python} -c "import sys ; print sys.version[:3]") @@ -174,6 +176,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %{_datadir}/mime/packages/blender.xml %changelog +* Thu Feb 28 2008 Jochen Schmitt - 2.45-8 +- Fix yafray load bug (#451571) + * Sun Feb 10 2008 Jochen Schmitt 2.45-7 - Rebuild for gcc-4.3