Opened 13 years ago
Closed 13 years ago
#30078 closed defect (fixed)
arj cannot build in Lion due to conflicting strnlen
Reported by: | nerdling (Jeremy Lavergne) | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.99 |
Keywords: | Cc: | jmroot (Joshua Root), ryandesign (Ryan Carsten Schmidt) | |
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 (2)
Change History (6)
Changed 13 years ago by nerdling (Jeremy Lavergne)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 13 years ago by jmroot (Joshua Root)
If it still works on 10.6 it's not quite time to just delete it.
comment:3 Changed 13 years ago by nerdling (Jeremy Lavergne)
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 :-)
Changed 13 years ago by nerdling (Jeremy Lavergne)
remove arj's strnlen() definition
comment:4 Changed 13 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r83652.
Note: See
TracTickets for help on using
tickets.
debug log