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

Bug 267453

Summary: dev-lang/ruby-1.9.1-r1 fails to build with gcc-4.4
Product: Gentoo Linux Reporter: John Keeping <john>
Component: [OLD] GCC PortingAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    
Attachments: Patch to allow ruby-1.9.1 to build with gcc-4.4

Description John Keeping 2009-04-25 18:53:23 UTC
GCC 4.4 fails on #elif without a conditional clause. The attached patch fixes this in Ruby 1.9.1
Comment 1 John Keeping 2009-04-25 18:54:55 UTC
Created attachment 189410 [details, diff]
Patch to allow ruby-1.9.1 to build with gcc-4.4
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-09 16:41:36 UTC
Patch looks perfectly cool.
Comment 3 Senuma Takahiko 2009-05-10 04:40:31 UTC
The patch works on dev-lang/ruby-1.9.1-r99 as well.
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-05-15 08:00:35 UTC
Added ruby-1.9.1_p129 to the tree, upstream already made that GCC-4.4 compliant.