Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419565 - kde-misc/kdocker: doesn't build with gcc-4.7
Summary: kde-misc/kdocker: doesn't build with gcc-4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: doesn't block gcc-4.7-stable
Keywords:
Depends on:
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-06-04 05:01 UTC by Nikos Chantziaras
Modified: 2012-06-07 20:50 UTC (History)
0 users

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


Attachments
GCC 4.7 support (gcc-4.7.patch,486 bytes, patch)
2012-06-04 05:01 UTC, Nikos Chantziaras
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2012-06-04 05:01:08 UTC
Building kdocker with gcc-4.7.0 fails with:


solutions/qtsingleapplication/qtlocalpeer.cpp:103:54: error: '::getuid' has not been declared


It's just the header includes missing for getuid().  Attached is a patch to fix the issue.
Comment 1 Nikos Chantziaras 2012-06-04 05:01:53 UTC
Created attachment 314129 [details, diff]
GCC 4.7 support
Comment 2 Michael Palimaka (kensington) gentoo-dev 2012-06-04 10:03:26 UTC
Thank-you for the report and patch. This is now fixed in CVS.

+*kdocker-4.6-r2 (04 Jun 2012)
+
+  04 Jun 2012; Michael Palimaka <kensington@gentoo.org>
+  +files/kdocker-4.6-gcc-4.7.patch, +kdocker-4.6-r2.ebuild:
+  Bump to EAPI=4, add missing dependencies, and respect LINGUAS. Fix build with
+  GCC-4.7 thanks to Nikos Chantziaras <realnc@gmail.com> in bug #419565.