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

Bug 252745

Summary: ~x11-misc/slim-1.3.1 won't build with GCC 4.4 [patch attached]
Product: Gentoo Linux Reporter: Daniel J. <sleeperseven>
Component: [OLD] GCC PortingAssignee: Jeremy Olexa (darkside) (RETIRED) <darkside>
Status: RESOLVED FIXED    
Severity: normal CC: desktop-misc, kentnl
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://developer.berlios.de/bugs/?func=detailbug&bug_id=14984&group_id=2663
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    
Attachments: Adds #include <cstdio> to enable GCC 4.4 build

Description Daniel J. 2008-12-27 20:14:17 UTC
Emerging slim-1.3.1-r4 with GCC 4.4 results in the following:

switchuser.cpp: In member function 'void SwitchUser::SetClientAuth(const char*)':
switchuser.cpp:59: error: 'remove' was not declared in this scope

This can be easily patched with a patch available here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505332

Not sure if this has been reported upstream.  The fix does not appear in upstream's SVN yet.
Comment 1 Daniel J. 2008-12-27 20:15:08 UTC
Created attachment 176538 [details, diff]
Adds #include <cstdio> to enable GCC 4.4 build
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2008-12-31 04:01:24 UTC
Sent patch upstream. When gcc-4.4 enters the tree, I will patch manually if there hasn't been a new release since now. Thanks for helping for the gcc-4.4 porting effort! =)
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2009-03-25 23:55:40 UTC
in -r5, thx.