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

Bug 465194

Summary: games-misc/opengfx: Fails to build with GCC 4.8.0
Product: Gentoo Linux Reporter: Aleksander <spider.ch>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: spider.ch
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 461954    
Attachments: Emerge info
Full build log
opengfx-0.4.5.ebuild
opengfx-0.4.6.1.ebuild
files/opengfx-gcc-4.8.patch

Description Aleksander 2013-04-09 06:21:17 UTC
Cannot build any version of opengfx with gcc-4.8.

Here's possible solution: http://bugs.openttd.org/task/5489
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2013-04-10 00:03:03 UTC
Build logs, emerge --info.
Comment 2 Aleksander 2013-04-10 07:57:55 UTC
Created attachment 345082 [details]
Emerge info
Comment 3 Aleksander 2013-04-10 07:58:48 UTC
Created attachment 345084 [details]
Full build log
Comment 4 Aleksander 2013-04-10 08:02:15 UTC
Added emerge --info and build log as attachment.
Comment 5 Mark Gomersbach 2013-04-22 15:02:23 UTC
(In reply to comment #0)
> Cannot build any version of opengfx with gcc-4.8.
> 
> Here's possible solution: http://bugs.openttd.org/task/5489

Applied patches from url and seems to work fine here.
Comment 6 Mark Gomersbach 2013-04-22 15:04:23 UTC
Created attachment 346296 [details]
opengfx-0.4.5.ebuild

Checks for GCC version and applies patch when >=4.8
Comment 7 Mark Gomersbach 2013-04-22 15:05:11 UTC
Created attachment 346298 [details]
opengfx-0.4.6.1.ebuild

Checks for GCC version and applies patch when >=4.8
Comment 8 Mark Gomersbach 2013-04-22 15:06:10 UTC
Created attachment 346300 [details]
files/opengfx-gcc-4.8.patch

Needed patch file
Comment 9 Aleksander 2013-04-24 06:41:35 UTC
Great.
But when updated ebuilds will be in portage tree?
Comment 10 Tupone Alfredo gentoo-dev 2013-05-09 18:49:58 UTC
It should be fixed. Please test.