#33311: ISC DHCP 3.1-ESV is End-of-Life on March 1st, 2012 -------------------------------------------+-------------------------------- Reporter: stefan.van.der.eijk@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: dhcp -------------------------------------------+-------------------------------- Comment(by stefan.van.der.eijk@…): Replying to [comment:3 cal@…]:
This is probably yet another case of http://clang.llvm.org/compatibility.html#inline. Possible fixes: - set configure.compiler to llvm-gcc-4.2 if it's clang (the least favorable solution)
Adding configure.compiler llvm-gcc-4.2 doesn't help.
- add -std=c89 to configure.cflags if compiling with clang
Adding configure.cflags-append "-std=gnu89" doesn't help either.
- patch the code to drop the inline from the function declaration (imho the best solution here)
I don't have the skills for this...
Also, if it turns out the problem was caused by this you might want to report it back to upstream for assuming to be compiled against the GNU 89 standard without actually specifying a standard.
I'll look into that. I'm not sure if OSX is considered a supported platform for ISC DHCP. -- Ticket URL: <https://trac.macports.org/ticket/33311#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS