Summary: | media-libs/nas: should not define abs() as macros | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anthony Basile <blueness> |
Component: | [OLD] Library | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | vapier, vitto.giova |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://radscan.com/pipermail/nas/2015-April/001331.html | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=510770 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to remove abs() and fabs() |
Description
Anthony Basile
2014-05-19 15:06:34 UTC
Created attachment 402194 [details, diff]
Patch to remove abs() and fabs()
Upstream looks inactive since 2013. Also, it should be safe to just remove abs() and fabs() since they are defined in POSIX. This patch should do the trick.
Patch sent upstream at ${URL}. (In reply to Anthony Basile from comment #1) > Created attachment 402194 [details, diff] [details, diff] > Patch to remove abs() and fabs() > > Upstream looks inactive since 2013. Also, it should be safe to just remove > abs() and fabs() since they are defined in POSIX. This patch should do the > trick. I tested in on uclibc, glibc an musl and it just works, as expected. (In reply to Anthony Basile from comment #3) > (In reply to Anthony Basile from comment #1) > > Created attachment 402194 [details, diff] [details, diff] [details, diff] > > Patch to remove abs() and fabs() > > > > Upstream looks inactive since 2013. Also, it should be safe to just remove > > abs() and fabs() since they are defined in POSIX. This patch should do the > > trick. > > I tested in on uclibc, glibc an musl and it just works, as expected. This patch was accepted upstream. Permission to backport? http://radscan.com/pipermail/nas/2015-April/thread.html#1331 (In reply to Anthony Basile from comment #4) > (In reply to Anthony Basile from comment #3) > > (In reply to Anthony Basile from comment #1) > > > Created attachment 402194 [details, diff] [details, diff] [details, diff] [details, diff] > > > Patch to remove abs() and fabs() > > > > > > Upstream looks inactive since 2013. Also, it should be safe to just remove > > > abs() and fabs() since they are defined in POSIX. This patch should do the > > > trick. > > > > I tested in on uclibc, glibc an musl and it just works, as expected. > > This patch was accepted upstream. Permission to backport? > > http://radscan.com/pipermail/nas/2015-April/thread.html#1331 Committed with Chainsaw's permission in IRC. |