Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 30620 Details for
Bug 49844
blender fails with gcc 3.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Whole fix for blender 2.33
blender-2.33-gcc34.patch (text/plain), 1.43 KB, created by
Ville Leskinen
on 2004-05-03 10:21:38 UTC
(
hide
)
Description:
Whole fix for blender 2.33
Filename:
MIME Type:
Creator:
Ville Leskinen
Created:
2004-05-03 10:21:38 UTC
Size:
1.43 KB
patch
obsolete
>diff -u -r blender-2.33.orig/intern/iksolver/intern/TNT/vec.h blender-2.33/intern/iksolver/intern/TNT/vec.h >--- blender-2.33.orig/intern/iksolver/intern/TNT/vec.h 2002-11-20 16:43:09.000000000 +0200 >+++ blender-2.33/intern/iksolver/intern/TNT/vec.h 2004-05-03 20:18:57.626768796 +0300 >@@ -39,6 +39,8 @@ > #include <iostream> > #include <strstream> > >+using std::endl; >+ > namespace TNT > { > >diff -u -r blender-2.33.orig/source/blender/blenkernel/intern/exotic.c blender-2.33/source/blender/blenkernel/intern/exotic.c >--- blender-2.33.orig/source/blender/blenkernel/intern/exotic.c 2004-04-23 01:33:57.000000000 +0300 >+++ blender-2.33/source/blender/blenkernel/intern/exotic.c 2004-05-03 20:19:35.681011162 +0300 >@@ -1148,7 +1148,7 @@ > /* search for "field", count data size and make datablock. return skipdata */ > float *fp; > int len, stackcount, skipdata=0; >- char *cpa, terminator, str[64]; >+ char *cpa, terminator, str[64], *tmp; > long i; > > len= strlen(field); >@@ -1192,9 +1192,13 @@ > /* atof doesn't stop after the first float > * in a long string at Windows... so we copy > * the float to a new string then atof... */ >- >- i= (long)(strpbrk(cpa, ", \n")-cpa); >- >+ tmp = cpa; >+ >+ while (strpbrk(cpa, ", \n") != tmp) { >+ tmp++; >+ i++; >+ } >+ > if (i>63) *fp= 0.0; > else { > memcpy(str, cpa, i); >Only in blender-2.33/source/blender/blenkernel/intern: exotic.c~
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 49844
:
30601
|
30614
| 30620