On Aug 8, 2013, at 7:48, Joshua Root <[email protected]> wrote: > On 2013-8-8 23:08 , Adam Mercer wrote: >> Jeremy >> >> It looks like this change broke the build, according to the buildbot at >> least. >> >> framecpp_channeldemux.cc: In function 'int split_name(const char*, >> char**, char**)': >> framecpp_channeldemux.cc:150: error: 'strndup' was not declared in this scope >> >> I assume this is due to Xcode5 not providing llvm-gcc-4.2 anymore. Is >> the only solution going forward to be patch the code? > > The two newer buildslaves run Xcode 4.6. They should still be falling > back to llvm-gcc-4.2. With Xcode 5, macports-llvm-gcc-4.2 is in the > fallback list. > > Looks more like a missing "#include <string.h>"? In any case, the fact > that it's trying to build means that the build didn't succeed before > this change either.
I added strndup to Libc in Lion, so it's not available in Snow Leopard. The fix will be to add a static version of strndup when __MAC_OS_X_VERSION_MIN_REQUIRED < 1070: http://opensource.apple.com/source/Libc/Libc-825.26/string/FreeBSD/strndup.c --Jeremy
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
