Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127188

Summary: dev-libs/STLport-5.0.2 gcc4 patch / wcsftime hack
Product: Gentoo Linux Reporter: Hanno Zysik (geki) <h.mth>
Component: [OLD] GCC PortingAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482, 219909    
Attachments: check gcc version
Hack (?) to compile with gcc4
Updated diff

Description Hanno Zysik (geki) 2006-03-22 07:44:01 UTC
emerge of STLport-5.0.2 looks for g++-v3 path. With gcc4 it should look for g++-v4.

I will attach a patch to the ebuild.
I also add a hack (?) to compile with gcc4.
Comment 1 Hanno Zysik (geki) 2006-03-22 07:44:45 UTC
Created attachment 82860 [details, diff]
check gcc version
Comment 2 Hanno Zysik (geki) 2006-03-22 07:45:25 UTC
Created attachment 82861 [details, diff]
Hack (?) to compile with gcc4
Comment 3 Hanno Zysik (geki) 2006-03-22 07:47:04 UTC
Maybe useful?

# grep -rn wcsftime /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/cwchar:115:#undef wcsftime
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/cwchar:185:  using ::wcsftime;
Comment 4 Hanno Zysik (geki) 2006-03-30 18:11:14 UTC
Created attachment 83469 [details, diff]
Updated diff

I need this on my other box, too. (gcc-3.4.6)
Comment 5 Hanno Zysik (geki) 2006-03-30 18:15:39 UTC
Comment on attachment 83469 [details, diff]
Updated diff

arrr, just wrong.
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2006-04-08 20:59:26 UTC
The hack is fine for now since that code doesn't exist in newer versions.  Thanks a lot.