Ticket #3267 (closed defect: fixed)
mc fails to build against musl libc
Reported by: | paulbarker | Owned by: | andrew_b |
---|---|---|---|
Priority: | major | Milestone: | 4.8.14 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description
mc fails to build when using musl as the libc provider. This is due to the CTRL() macro not being defined in <termios.h>. We could include <sys/ttydefaults.h> explicitly but it's easier just to ensure CTRL is defined.
I've attached a patch taken from the Sabotage Linux distro which fixes this. This patch has also been tested and works with the OpenEmbedded? build system. The patch is in unified diff format but I can provide it in another format if needed.
Attachments
Change History
comment:1 Changed 10 years ago by andrew_b
- Owner set to andrew_b
- Status changed from new to accepted
- Votes for changeset set to andrew_b
- Branch state changed from no branch to on review
- Milestone changed from Future Releases to 4.8.14
Branch: 3267_musl_libc
changeset:9b126e229a142874014582309575ac0dcf70ad5f
comment:2 Changed 10 years ago by slavazanko
- Votes for changeset changed from andrew_b to andrew_b slavazanko
- Branch state changed from on review to approved
comment:3 Changed 10 years ago by andrew_b
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b slavazanko to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
Merged to master: [e78b636eba9d23e9f5f066b022bd5640c85409be].
Note: See
TracTickets for help on using
tickets.