Bug 214181 - dev-util/xxdiff-3.2-r1 fails w/gcc 4.3.0
Bug#: 214181 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: loki_val@gentoo.org
Component: GCC Porting
URL: 
Summary: dev-util/xxdiff-3.2-r1 fails w/gcc 4.3.0
Keywords:  
Status Whiteboard: 
Opened: 2008-03-21 22:27 0000
Description:   Opened: 2008-03-21 22:27 0000
main.cpp: In function ‘int main(int, char**, char**)’:
main.cpp:62: error: ‘putenv’ was not declared in this scope
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ./resources.h:652,
                 from ./line.h:40,
                 from ./app.h:36,
                 from overview.cpp:29:
./resources.inline.h: In member function ‘int*
XxResources::getDynProgTable(uint, uint) const’:
./resources.inline.h:266: error: ‘realloc’ was not declared in this scope
In file included from /usr/kde/3.5/include/kaboutdata.h:25,
                 from /usr/kde/3.5/include/kaboutapplication.h:27,
                 from ./kdeSupport.h:42,
                 from ./app.h:48,
                 from overview.cpp:29:
/usr/qt/3/include/qimage.h: In member function ‘bool
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within ||
make: *** [overview.o] Error 1


Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Peter Alfredsen 2008-03-21 22:29:22 0000 -------
Created an attachment (id=146793) [details]
05_417780_gcc4.3_ftbfs.dpatch

Fixes the problem.
Snatched from debian:
http://bugs.debian.org/417780

------- Comment #2 From Martin Väth 2008-04-20 09:27:36 0000 -------
*** Bug 218534 has been marked as a duplicate of this bug. ***

------- Comment #3 From SpanKY 2008-04-20 09:36:46 0000 -------
added to the tree, thanks

http://sources.gentoo.org/dev-util/xxdiff/xxdiff-3.2-r1.ebuild?r1=1.5&r2=1.6
http://sources.gentoo.org/dev-util/xxdiff/files/xxdiff-3.2-gcc43.patch?rev=1.1