Ticket #30078 (closed defect: fixed)
arj cannot build in Lion due to conflicting strnlen
| Reported by: | snc@… | Owned by: | snc@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.99 |
| Keywords: | Cc: | jmr@…, ryandesign@… | |
| Port: | arj |
Description
Arj will not build in Lion with llvm-gcc-4.2 nor gcc-4.2.
fardata.c:194: error: conflicting types for 'strnlen'
This is an ancient project (2005) and could probably just be dropped. Input/patches welcome.
Attachments
Change History
comment:2 Changed 23 months ago by jmr@…
If it still works on 10.6 it's not quite time to just delete it.
comment:3 Changed 21 months ago by snc@…
- Cc jmr@…, ryandesign@… added
The author states he only builds against GCC 2.95.2/3.2.1.
Anyways, attached is a patch to comment-out the function definition, rather than renaming all of them. I don't have a Lion VM at the moment to investigate if the functions are the same definition and this will work. Anyone with Lion: please let me know :-)
Note: See
TracTickets for help on using
tickets.


debug log