Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 335926 Details for
Bug 452694
media-gfx/blender-2.49b-r2 fails to build with gcc-4.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from Comment #0
blender-2.49b-gcc46.patch (text/plain), 1.26 KB, created by
Samuli Suominen (RETIRED)
on 2013-01-17 16:49:19 UTC
(
hide
)
Description:
Patch from Comment #0
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2013-01-17 16:49:19 UTC
Size:
1.26 KB
patch
obsolete
>diff -ur blender-2.49b.orig/extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h blender-2.49b/extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h >--- blender-2.49b.orig/extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h 2009-09-01 18:23:19.000000000 +0300 >+++ blender-2.49b/extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h 2013-01-17 18:46:52.413784542 +0200 >@@ -18,6 +18,7 @@ > #define _BT_SOFT_BODY_INTERNALS_H > > #include "btSoftBody.h" >+#include <string.h> > > #include "LinearMath/btQuickprof.h" > #include "BulletCollision/BroadphaseCollision/btBroadphaseInterface.h" >@@ -171,8 +172,7 @@ > template <typename T> > static inline void ZeroInitialize(T& value) > { >- static const T zerodummy; >- value=zerodummy; >+ memset(&value,0,sizeof(T)); > } > // > template <typename T> >diff -ur blender-2.49b.orig/intern/memutil/MEM_Allocator.h blender-2.49b/intern/memutil/MEM_Allocator.h >--- blender-2.49b.orig/intern/memutil/MEM_Allocator.h 2009-09-01 18:20:41.000000000 +0300 >+++ blender-2.49b/intern/memutil/MEM_Allocator.h 2013-01-17 18:47:25.113781922 +0200 >@@ -24,6 +24,7 @@ > #ifndef __MEM_Allocator_h_included__ > #define __MEM_Allocator_h_included__ 1 > >+#include <cstddef> > #include "guardedalloc/MEM_guardedalloc.h" > #include "guardedalloc/BLO_sys_types.h" >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 452694
: 335926