New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30078 (closed defect: fixed)

Opened 23 months ago

Last modified 21 months ago

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

arj.log (36.2 KB) - added by snc@… 23 months ago.
debug log
arj.diff (1.8 KB) - added by snc@… 21 months ago.
remove arj's strnlen() definition

Change History

Changed 23 months ago by snc@…

debug log

comment:1 Changed 23 months ago by ryandesign@…

Message added in r80261, revised in r80263.

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 :-)

Changed 21 months ago by snc@…

remove arj's strnlen() definition

comment:4 Changed 21 months ago by snc@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r83652.

Note: See TracTickets for help on using tickets.