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

Bug 226363

Summary: kde-misc/kbeam-0.61-r1 compilation failure with gcc-4.3
Product: Gentoo Linux Reporter: Chí-Thanh Christopher Nguyễn <chithanh>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: teidakankan
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: kbeam-0.61-gcc-4.3.patch

Description Chí-Thanh Christopher Nguyễn gentoo-dev 2008-06-13 13:24:19 UTC
kde-misc/kbeam-0.61-r1 fails to compile with gcc-4.3.1


Reproducible: Always

Steps to Reproduce:
1. emerge =kde-misc/kbeam-0.61-r1

Actual Results:  
main.cpp: In function 'int main(int, char**)':
main.cpp:47: error: 'exit' was not declared in this scope

Expected Results:  
build successfully

It looks like it is missing an stdlib.h include. Compilation with gcc-4.1.2 works fine.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2008-06-13 13:33:37 UTC
Created attachment 156629 [details, diff]
kbeam-0.61-gcc-4.3.patch

Patch to make kbeam-0.61 build with gcc-4.3
tested on amd64
Comment 2 Timo Gurr (RETIRED) gentoo-dev 2008-06-14 13:21:57 UTC
Fixed in CVS in kbeam-0.61-r1.ebuild, thanks for providing the patch.