File blender-2.56-gcc46.patch of Package blender

Index: extern/bullet2/src/BulletSoftBody/btSoftBody.h
===================================================================
--- extern/bullet2/src/BulletSoftBody/btSoftBody.h.orig	2011-08-11 18:47:59.000000000 +0200
+++ extern/bullet2/src/BulletSoftBody/btSoftBody.h	2011-09-06 21:12:35.220997936 +0200
@@ -201,6 +201,7 @@ public:
 	/* Material		*/ 
 	struct	Material : Element
 	{
+                Material (){}
 		btScalar				m_kLST;			// Linear stiffness coefficient [0,1]
 		btScalar				m_kAST;			// Area/Angular stiffness coefficient [0,1]
 		btScalar				m_kVST;			// Volume stiffness coefficient [0,1]
@@ -215,6 +216,7 @@ public:
 	/* Node			*/ 
 	struct	Node : Feature
 	{
+                Node (){}
 		btVector3				m_x;			// Position
 		btVector3				m_q;			// Previous step position
 		btVector3				m_v;			// Velocity
@@ -228,6 +230,7 @@ public:
 	/* Link			*/ 
 	struct	Link : Feature
 	{
+                Link (){}
 		Node*					m_n[2];			// Node pointers
 		btScalar				m_rl;			// Rest length		
 		int						m_bbending:1;	// Bending link
@@ -239,6 +242,7 @@ public:
 	/* Face			*/ 
 	struct	Face : Feature
 	{
+                Face (){} 
 		Node*					m_n[3];			// Node pointers
 		btVector3				m_normal;		// Normal
 		btScalar				m_ra;			// Rest area
@@ -289,6 +293,7 @@ public:
 	/* Note			*/ 
 	struct	Note : Element
 	{
+                Note (){}
 		const char*				m_text;			// Text
 		btVector3				m_offset;		// Offset
 		int						m_rank;			// Rank
Index: extern/Eigen2/Eigen/src/Core/util/Memory.h
===================================================================
--- extern/Eigen2/Eigen/src/Core/util/Memory.h.orig	2011-09-06 21:12:35.175997937 +0200
+++ extern/Eigen2/Eigen/src/Core/util/Memory.h	2011-09-06 21:12:35.221997936 +0200
@@ -38,6 +38,8 @@
 #define EIGEN_FREEBSD_MALLOC_ALREADY_ALIGNED 0
 #endif
 
+#include <stddef.h>
+
 #if defined(__APPLE__) || defined(_WIN64) || EIGEN_FREEBSD_MALLOC_ALREADY_ALIGNED
   #define EIGEN_MALLOC_ALREADY_ALIGNED 1
 #else
Index: source/blender/collada/AnimationImporter.cpp
===================================================================
--- source/blender/collada/AnimationImporter.cpp.orig	2011-08-11 18:44:01.000000000 +0200
+++ source/blender/collada/AnimationImporter.cpp	2011-09-06 21:12:35.258997943 +0200
@@ -52,6 +52,7 @@
 #include "ArmatureImporter.h"
 
 #include <algorithm>
+#include <cstddef>
 
 // first try node name, if not available (since is optional), fall back to original id
 template<class T>
openSUSE Build Service is sponsored by