The following patch is necessary to compile Ardour 2.7.1 with GCC 4.4
Created attachment 175344 [details, diff] Patch to compile media-sound/ardour-2.7.1 with GCC 4.4
Bug report filed upstream at http://tracker.ardour.org/view.php?id=2492
+#include <stdint.h> not sure there, but wouldn't it be better to include cstdint instead?
In response to Comment #3: It's possible to use <cstdint> instead of <stdint.h>, but if you do so, you have to add -std=c++0x to your CFLAGS -- an experimental flag with whose side effects you might rather not deal. Much easier to use <stdint.h>.
In fact, if you add -std=c++0x to the CFLAGS, the build fails for unrelated reasons. Unrelated QA side note: The 2.7.1 ebuild has this line: dodoc DOCUMENTATION/* but the DOCUMENTATION directory does not exist. (Such a directory seems to have been removed rather than renamed, so this line should be removed from the ebuild.)
Patch was applied upstream with rev 4719.
InCVS. Thanks Daniel