the attached patch prevents the following error when compiling packages such as dev-games/simgear with GCC 4.2:
In file included from ../../simgear/sound/soundmgr_openal.hxx:50,
/usr/include/AL/alc.h:190: error: '<anonymous>' has incomplete type
/usr/include/AL/alc.h:190: error: invalid use of 'ALCvoid'
/usr/include/AL/alc.h:251: error: '<anonymous>' has incomplete type
/usr/include/AL/alc.h:251: error: invalid use of 'ALCvoid'
make: *** [visual_enviro.o] Error 1
It matches what appears in upstream's SVN.
Created attachment 110100 [details, diff]
Added to CVS... thanks for the patch!
*** Bug 180846 has been marked as a duplicate of this bug. ***
*** Bug 186544 has been marked as a duplicate of this bug. ***
This *needs* to have been a revision bump on the ebuild! If you had openal-0.0.8-r1 compiled prior to 2007-02-13, then you won't pick up this patch, and it has started to cause problems with other builds (see bug #165135) - this is the second time in a few weeks that I've run into issues with ebuilds and GCC 4.2 just because the updated ebuilds were never rev-bumped to cause a recompile with the patch - I don't understand the reasoning behind *not* rev-bumping the ebuild...
Simply put, current policy actually says that "build-time fixes" do not require a revision bump, so many developers don't do a bump to reduce the recompiling that people are forced to do. This particular instance is a case where what we thought was only a compile-time fix really is not.
Anyway, I forced a bump for everyone this morning, before I even saw this. In the future, please file a new bug for this sort of thing, as many of us are much less likely to notice comments on bugs we've already resolved.