Summary: | media-sound/audtty: fails with forced --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Tony Vroon (RETIRED) <chainsaw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sound |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/qa/asneeded.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
Build log
Patch to modify files/audtty-0.1.9a-cc-and-destdir.patch for proper link ordering |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 172559 [details]
Build log
Created attachment 181831 [details, diff]
Patch to modify files/audtty-0.1.9a-cc-and-destdir.patch for proper link ordering
The upstream Makefile places libraries before the object files, so --as-needed discarded the references. Gentoo already patches the upstream Makefile to convert "cc" to "$(CC)". That line needs an additional modification to put the libraries later on the line. For simplicity, the attached patch modifies the existing Gentoo patch so that the libraries are reordered, in addition to the changes the Gentoo patch previously applied. Thus, to fix the bug, use the attached patch to modify files/audtty-0.1.9a-cc-and-destdir.patch and commit the resulting patch file.
Your contribution to Gentoo Linux is highly appreciated :) +*audtty-0.1.9a-r1 (18 Feb 2009) + + 18 Feb 2009; <chainsaw@gentoo.org> + files/audtty-0.1.9a-cc-and-destdir.patch, -audtty-0.1.9a.ebuild, + +audtty-0.1.9a-r1.ebuild: + Bump up audacious DEPEND to v1.5 where the D-Bus mess has been sorted out. + Patch by Kevin Pyle <kevin.pyle@bluecoat.com> fixes link ordering and + closes bug #247822 filed by Diego E. Flameeyes Pettenò + <flameeyes@gentoo.org>. |