diff --git a/blender-2.42a-x64.patch b/blender-2.42a-x64.patch new file mode 100644 index 0000000..1de8749 --- /dev/null +++ b/blender-2.42a-x64.patch @@ -0,0 +1,26 @@ +--- source/gameengine/Expressions/ListValue.cpp~ 2006-12-12 09:49:00.000000000 -0800 ++++ source/gameengine/Expressions/ListValue.cpp 2006-12-12 09:50:57.000000000 -0800 +@@ -23,12 +23,12 @@ + #include + #endif + +-int listvalue_bufferlen(PyObject* list) ++Py_ssize_t listvalue_bufferlen(PyObject* list) + { + return ( ((CListValue*)list)->GetCount()); + } + +-PyObject* listvalue_buffer_item(PyObject* list,int index) ++PyObject* listvalue_buffer_item(PyObject* list,Py_ssize_t index) + { + if (index >= 0 && index < ((CListValue*) list)->GetCount()) + { +@@ -68,7 +68,7 @@ + + + /* just slice it into a python list... */ +-PyObject* listvalue_buffer_slice(PyObject* list,int ilow, int ihigh) ++PyObject* listvalue_buffer_slice(PyObject* list,Py_ssize_t ilow, Py_ssize_t ihigh) + { + int i, j; + PyListObject *newlist; diff --git a/blender.spec b/blender.spec index 1d7d38b..d0edc43 100644 --- a/blender.spec +++ b/blender.spec @@ -3,7 +3,7 @@ Name: blender Version: 2.42a -Release: 11%{?dist} +Release: 12%{?dist} Summary: 3D modeling, animation, rendering and post-production @@ -20,7 +20,7 @@ Source6: blender-wrapper Source7: blender-2.42.config Patch1: blender-2.42-scons.patch -Patch2: blender-2.42a-x65.patch +Patch2: blender-2.42a-x64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -162,6 +162,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %{_datadir}/mime/packages/blender.xml %changelog +* Tue Dec 12 2006 Jochen Schmitt 2.42a-12 +- Fix typo + * Tue Dec 12 2006 Jochen Schmitt 2.42a-11 - Try x64-patch for complle with python-2.5