Bug 127188 - dev-libs/STLport-5.0.2 gcc4 patch / wcsftime hack
Bug#: 127188 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cpp@gentoo.org Reported By: h.mth@web.de
Component: GCC Porting
URL: 
Summary: dev-libs/STLport-5.0.2 gcc4 patch / wcsftime hack
Keywords:  
Status Whiteboard: 
Opened: 2006-03-22 07:44 0000
Description:   Opened: 2006-03-22 07:44 0000
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 From Hanno Meyer-Thurow 2006-03-22 07:44:45 0000 -------
Created an attachment (id=82860) [details]
check gcc version

------- Comment #2 From Hanno Meyer-Thurow 2006-03-22 07:45:25 0000 -------
Created an attachment (id=82861) [details]
Hack (?) to compile with gcc4

------- Comment #3 From Hanno Meyer-Thurow 2006-03-22 07:47:04 0000 -------
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 From Hanno Meyer-Thurow 2006-03-30 18:11:14 0000 -------
Created an attachment (id=83469) [details]
Updated diff

I need this on my other box, too. (gcc-3.4.6)

------- Comment #5 From Hanno Meyer-Thurow 2006-03-30 18:15:39 0000 -------
(From update of attachment 83469 [details])
arrr, just wrong.

------- Comment #6 From Mark Loeser 2006-04-08 20:59:26 0000 -------
The hack is fine for now since that code doesn't exist in newer versions. 
Thanks a lot.