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

Bug 227091

Summary: vdr-epgsearch-0.9.24 fails w/ gcc-4.3
Product: Gentoo Linux Reporter: Michael Brakemeier <michael>
Component: [OLD] GCC PortingAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: normal CC: che, media-tv, michael
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: ebuild w/langinfo-patch
include langinfo.h patch

Description Michael Brakemeier 2008-06-15 08:38:24 UTC
Compile w/gcc-4.3.1 fails due to missing include langinfo.h:

g++ -march=pentium-m -mtune=pentium-m -O3 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_DDEPGENTRY -DUSE_DVBSETUP -DUSE_DVLVIDPREFER -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_OSDMAXITEMS -DUSE_PLUGINMISSING -DUSE_TIMERINFO -DUSE_WAREAGLEICON -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"epgsearch"' -DHAVE_PCREPOSIX -I/usr/include -I/usr/include  epgsearch.c
epgsearch.c: In member function 'void cPluginEpgsearch::CheckUTF8()':
epgsearch.c:471: error: 'CODESET' was not declared in this scope
epgsearch.c:471: error: 'nl_langinfo' was not declared in this scope
make: *** [epgsearch.o] Error 1


Reproducible: Always

Steps to Reproduce:
1.emerge -av epgsearch
2.
3.
Comment 1 Michael Brakemeier 2008-06-15 08:41:00 UTC
Created attachment 156825 [details]
ebuild w/langinfo-patch
Comment 2 Michael Brakemeier 2008-06-15 08:41:56 UTC
Created attachment 156827 [details, diff]
include langinfo.h patch
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-15 09:24:58 UTC
Remember not to bump the revision, this is a buildtime-only fix.
Comment 4 Matthias Schwarzott gentoo-dev 2008-06-17 11:46:00 UTC
Commited. Thanks to berti for the patch.