Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127188 - dev-libs/STLport-5.0.2 gcc4 patch / wcsftime hack
Summary: dev-libs/STLport-5.0.2 gcc4 patch / wcsftime hack
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482 219909
  Show dependency tree
 
Reported: 2006-03-22 07:44 UTC by Hanno Zysik (geki)
Modified: 2008-05-01 21:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
check gcc version (STLport-5.0.2-gcc-version.patch,694 bytes, patch)
2006-03-22 07:44 UTC, Hanno Zysik (geki)
Details | Diff
Hack (?) to compile with gcc4 (STLport-5.0.2-gcc410-hack.patch,419 bytes, patch)
2006-03-22 07:45 UTC, Hanno Zysik (geki)
Details | Diff
Updated diff (wcsftime.diff,406 bytes, patch)
2006-03-30 18:11 UTC, Hanno Zysik (geki)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.