CCRandomCopyBytes is private AppleInternal API that was added on OS X 10.7 Lion. WebKit fails to buil on Snow Leopard because it does not have this API, and since this API is AppleInternal, it should not be used in general. Undefined symbols for architecture x86_64: "_CCRandomCopyBytes", referenced from: WTF::cryptographicallyRandomValuesFromOS(unsigned char*, unsigned long) in libWTFGTK.a(OSRandomSource.cpp.o) "_kCCRandomDefault", referenced from: WTF::cryptographicallyRandomValuesFromOS(unsigned char*, unsigned long) in libWTFGTK.a(OSRandomSource.cpp.o) This is a regression introduced in r189633 for https://bugs.webkit.org/show_bug.cgi?id=148439
Note that arc4random_buf was added in OS X 10.7 Lion as well, so if the deployment target is 10.6 or older, we should fall back on the older codepath as well.
Created attachment 278693 [details] Patch from MacPorts, likely not what you want to use though