Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251034 - media-sound/ardour patch to compile with GCC 4.4
Summary: media-sound/ardour patch to compile with GCC 4.4
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
Depends on:
Blocks: gcc-4.4
  Show dependency tree
Reported: 2008-12-15 14:57 UTC by Daniel J.
Modified: 2009-04-01 21:34 UTC (History)
1 user (show)

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

Patch to compile media-sound/ardour-2.7.1 with GCC 4.4 (ardour-2.7.1-gcc44.patch,1.38 KB, patch)
2008-12-15 14:58 UTC, Daniel J.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel J. 2008-12-15 14:57:44 UTC
The following patch is necessary to compile Ardour 2.7.1 with GCC 4.4
Comment 1 Daniel J. 2008-12-15 14:58:26 UTC
Created attachment 175344 [details, diff]
Patch to compile media-sound/ardour-2.7.1 with GCC 4.4
Comment 2 Daniel J. 2008-12-15 16:39:58 UTC
Bug report filed upstream at
Comment 3 Alexis Ballier gentoo-dev 2009-02-03 08:37:29 UTC
+#include <stdint.h>

not sure there, but wouldn't it be better to include cstdint instead?
Comment 4 Daniel J. 2009-02-17 17:26:23 UTC
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>.
Comment 5 Daniel J. 2009-02-17 18:08:30 UTC
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:
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.)
Comment 6 Daniel J. 2009-03-02 21:07:29 UTC
Patch was applied upstream with rev 4719.
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-01 21:34:00 UTC
InCVS. Thanks Daniel