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

Bug 266026

Summary: app-backup/kbackup-0.5.3 fails with gcc-4.3
Product: Gentoo Linux Reporter: Arttu Valo <arttuv69>
Component: Current packagesAssignee: Ioannis Aslanidis (RETIRED) <deathwing00>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: esigra, kde
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    

Description Arttu Valo 2009-04-13 16:22:59 UTC
app-backup/kbackup-0.5.3 fails with gcc-4.3, but kbackup-0.5.4 seems to work with it. A single line patch fixed 0.5.3 compilation for me:

diff -ur kbackup-0.5.3.old/src/Selector.cxx kbackup-0.5.3/src/Selector.cxx
--- kbackup-0.5.3.old/src/Selector.cxx  2009-04-13 19:05:32.000000000 +0300
+++ kbackup-0.5.3/src/Selector.cxx      2009-04-13 19:09:37.000000000 +0300
@@ -23,6 +23,7 @@
 #include <qdir.h>

 #include <iostream>
+#include <cstdlib>
 using namespace std;
 //--------------------------------------------------------------------------------
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2009-04-14 09:43:24 UTC
Thanks, I'll check.
Comment 2 Theo Chatzimichos (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2009-06-12 11:58:19 UTC
0.5.4 is under stabilization, so i'll remove 0.5.3 soon from tree.