[Bf-committers] [Patch]Fix issue to build blender-2.56 with python-3.2 Beta 2

Jochen Schmitt Jochen at herr-schmitt.de
Tue Jan 18 21:57:35 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,

I have tried to build blender-2.56 agains the Beta 2 of python-3.2
which you may find in the rawhide repsitory of Fedora.

to get the build working, I have create the following patch:

diff -up
blender-2.56-beta-source/source/gameengine/GameLogic/SCA_PythonController.cpp.py32
blender-2.56-beta-source/source/gameengine/GameLogic/SCA_PythonController.cpp
- ---
blender-2.56-beta-source/source/gameengine/GameLogic/SCA_PythonController.cpp.py32

2011-01-16 22:44:18.706809999 +0100
+++
blender-2.56-beta-source/source/gameengine/GameLogic/SCA_PythonController.cpp  
 
 
2011-01-16 22:44:54.668810004 +0100
@@ -408,7 +408,7 @@ void SCA_PythonController::Trigger(SCA_L
                 */
 
                excdict= PyDict_Copy(m_pythondictionary);
- -               resultobj = PyEval_EvalCode((PyCodeObject*)m_bytecode,
excdict, excdict);
+               resultobj = PyEval_EvalCode((PyObject*)m_bytecode,
excdict, excdict);
                /* PyRun_SimpleString(m_scriptText.Ptr()); */
                break;


Best Regards:

Jochen Schmitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iJwEAQECAAYFAk01/rUACgkQZLAIBz9lVu8zewQAqTk3PDjcwgRNd0b8Ms8HtN1a
KiKBVm9XI6c/R2FUNHTkeyntYvJOgUCEGAGNmsyZQOEWLq8u44hbaxo8aDqt6Kj8
oF8HgHv/Pxvqv3yktyahDxi7oGAxsBGv/eYMMgeRJaHPiMZUYikO/g79+qc8yTXw
uRo8KzUugr5y5DSHoK8=
=IEtB
-----END PGP SIGNATURE-----



More information about the Bf-committers mailing list