Bug#654395: problem in debian/patches/0005-install_in_usr_lib.patch

Luka Frelih luka at ljudmila.org
Thu Jan 5 00:50:18 UTC 2012


the crash seems to be introduced in 
debian/patches/0005-install_in_usr_lib.patch by omitting blender version 
in printf arguments

diff --git a/source/blender/blenlib/intern/path_util.c 
b/source/blender/blenlib/intern/path_util.c
index e79d850..eb5e063 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -1025,7 +1025,7 @@ static int get_path_system(char *targetpath, const 
char *folder_name, const char

      system_base_path = (const char *)GHOST_getSystemDir();
      if (system_base_path) {
-        BLI_snprintf(system_path, FILE_MAX, BLENDER_SYSTEM_FORMAT, 
system_base_path, blender_version_decimal(ver));
+        BLI_snprintf(system_path, FILE_MAX, BLENDER_SYSTEM_FORMAT, 
system_base_path);
      }

      if(!system_path[0])


built with this change reversed, blender runs and does not crash.

however, for some reason no menus are showing in my build... may be 
another bug or something in my build environment?

best,
LF






More information about the pkg-multimedia-maintainers mailing list