Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252745 - ~x11-misc/slim-1.3.1 won't build with GCC 4.4 [patch attached]
Summary: ~x11-misc/slim-1.3.1 won't build with GCC 4.4 [patch attached]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL: http://developer.berlios.de/bugs/?fun...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2008-12-27 20:14 UTC by Daniel J.
Modified: 2009-03-25 23:55 UTC (History)
2 users (show)

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


Attachments
Adds #include <cstdio> to enable GCC 4.4 build (slim-1.3.1-gcc4.4.patch,260 bytes, patch)
2008-12-27 20:15 UTC, Daniel J.
Details | Diff

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