Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 251034

Summary: media-sound/ardour patch to compile with GCC 4.4
Product: Gentoo Linux Reporter: Daniel J. <sleeperseven>
Component: [OLD] GCC PortingAssignee: Professional Audio Applications Maintainers <proaudio>
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    
Attachments: Patch to compile media-sound/ardour-2.7.1 with GCC 4.4

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