Summary: | =media-sound/ardour-4.7-r1 fixes to compile after upgrade to gcc-5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Dominik Bürkle <dominik.buerkle> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | jstein |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/etc/portage/patches/media-sound/ardour/ patches, 1 of 5
/etc/portage/patches/media-sound/ardour/ patches, 2 of 5 /etc/portage/patches/media-sound/ardour/ patches, 3 of 5 /etc/portage/patches/media-sound/ardour/ patches, 4 of 5 /etc/portage/patches/media-sound/ardour/ patches, 5 of 5 |
Created attachment 475302 [details, diff]
/etc/portage/patches/media-sound/ardour/ patches, 2 of 5
Created attachment 475304 [details, diff]
/etc/portage/patches/media-sound/ardour/ patches, 3 of 5
Created attachment 475306 [details, diff]
/etc/portage/patches/media-sound/ardour/ patches, 4 of 5
Created attachment 475308 [details, diff]
/etc/portage/patches/media-sound/ardour/ patches, 5 of 5
Thank you. Thank you very much Mark! This is highly appreciated! :-) I combined the patches into one file and committed it in an -r2 version. |
Created attachment 475300 [details, diff] /etc/portage/patches/media-sound/ardour/ patches, 1 of 5 After updating to gcc-5, ardour-4.7 no longer compiles. There were some "== 0" and "!= 0" comparisons of pointers which gcc-5 does not seem to understand any more. (?? WTF ??) I created a bunch of user-patches and modified the ebuild file (include epatch_user) as a workaround. The patches make implicit type casts where "== 0" was tested and remove "!= 0" in the other cases. to patch ardour-4.7-r1.ebuild: --- media-sound/ardour/ardour-4.7-r1.ebuild.old 2017-06-05 07:06:10.417275997 +0200 +++ media-sound/ardour/ardour-4.7-r1.ebuild 2017-06-05 04:26:44.930812407 +0200 @@ -107,6 +107,7 @@ append-flags "-lboost_system" python_fix_shebang "${S}"/wscript python_fix_shebang "${S}"/waf + epatch_user } src_configure() {