Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214138 - x11-apps/ttmkfdir-3.0.9-r3 fails w/gcc 4.3.0
Summary: x11-apps/ttmkfdir-3.0.9-r3 fails w/gcc 4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-03-21 13:05 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-21 01:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ttmkfdir-3.0.9-gcc43.patch (ttmkfdir-3.0.9-gcc43.patch,293 bytes, patch)
2008-03-21 13:08 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-03-21 13:05:43 UTC
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2  -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -o commandline.o -c commandline.cpp
directory.cpp: In member function ‘virtual bool ttfdirectory::select(const char*) const’:
directory.cpp:52: error: ‘strlen’ was not declared in this scope
make: *** [directory.o] Error 1
make: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c commandline.cpp  -fPIC -DPIC -o .libs/commandline.o
commandline.cpp:3:1: warning: "_GNU_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
commandline.cpp:3:1: warning: "_GNU_SOURCE" redefined
<command-line>:1:1: warning: this is the location of the previous definition
 i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c commandline.cpp -o commandline.o >/dev/null 2>&1


Reproducible: Always
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-03-21 13:08:50 UTC
Created attachment 146764 [details, diff]
ttmkfdir-3.0.9-gcc43.patch

This solves the problem. Snatched from:
http://cvs.fedoraproject.org/viewcvs/*checkout*/devel/ttmkfdir/ttmkfdir-3.0.9-bug434301.patch?rev=1.1
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-04-21 01:54:28 UTC
applied a patch to include cstring.  i'm not sure why stdlib.h is included.