Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364231 - games-emulation/dosbox-0.74 fails to build with gcc-4.6
Summary: games-emulation/dosbox-0.74 fails to build with gcc-4.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.6
  Show dependency tree
 
Reported: 2011-04-20 12:02 UTC by Philipp
Modified: 2011-04-28 07:23 UTC (History)
1 user (show)

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


Attachments
Patch to fix the build (dosbox-0.74-gcc46.patch,244 bytes, text/plain)
2011-04-20 12:02 UTC, Philipp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp 2011-04-20 12:02:07 UTC
Created attachment 270645 [details]
Patch to fix the build

In file included from ../../include/programs.h:28:0,
                 from cpu.cpp:29:
../../include/dos_inc.h: In member function 'void DOS_MCB::SetFileName(const char*)':
../../include/dos_inc.h:543:78: error: expected primary-expression before ',' token
../../include/dos_inc.h:543:79: error: 'filename' was not declared in this scope
../../include/dos_inc.h:543:87: error: 'offsetof' was not declared in this scope
../../include/dos_inc.h: In member function 'void DOS_MCB::GetFileName(char*)':
../../include/dos_inc.h:544:71: error: expected primary-expression before ',' token
../../include/dos_inc.h:544:72: error: 'filename' was not declared in this scope
../../include/dos_inc.h:544:80: error: 'offsetof' was not declared in this scope

...
Comment 1 Tupone Alfredo gentoo-dev 2011-04-28 07:23:17 UTC
Fixed. Thanks for report