Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419635 - games-emulation/zsnes-1.51: doesn't build with gcc-4.7
Summary: games-emulation/zsnes-1.51: doesn't build with gcc-4.7
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
Whiteboard: doesn't block gcc-4.7-stable
Depends on:
Blocks: gcc-4.7
  Show dependency tree
Reported: 2012-06-04 16:57 UTC by Nikos Chantziaras
Modified: 2012-06-07 20:48 UTC (History)
0 users

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

GCC 4.7 support (zsnes-1.51-gcc47.patch,335 bytes, patch)
2012-06-04 16:57 UTC, Nikos Chantziaras
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2012-06-04 16:57:47 UTC
Created attachment 314219 [details, diff]
GCC 4.7 support

Building zsnes with gcc-4.7.0 fails:

tools/depbuild.cpp: In function 'void dependency_calculate(const char*, stat&)':
tools/depbuild.cpp:181:37: error: 'F_OK' was not declared in this scope
tools/depbuild.cpp:181:41: error: 'access' was not declared in this scope

I am attaching a patch to fix this. It needs to be applied after all other current patches.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2012-06-04 20:05:14 UTC
in portage.  thanks for the bug report and patch.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-07 20:48:41 UTC
  04 Jun 2012; Michael Sterrett <> zsnes-1.51-r2.ebuild,
  files/zsnes-1.51-archopt-july-23-update.patch, files/zsnes-1.51-buffer.patch,
  files/zsnes-1.51-depbuild.patch, +files/zsnes-1.51-gcc47.patch,
  Fix compile with gcc47 (bug #419635), submitted by Nikos Chantziaras