tags 669308 + patch thanks On 18/04/12 22:19, Christoph Egger wrote: > In file included from > ../Source/ThirdParty/ANGLE/src/compiler/InitializeDll.cpp:11:0: > ../Source/ThirdParty/ANGLE/src/compiler/osinclude.h:22:2: error: #error > Unsupported platform.
Looks like that header just needs to test for __FreeBSD_kernel__ as well as __FreeBSD__, as in the attached diff. This seems to allow compiling that particular file on kfreebsd-i386, but I've not been able to test building the entire package yet. Regards, -- Steven Chamberlain ste...@pyro.eu.org
--- webkit-1.8.0.orig/Source/ThirdParty/ANGLE/src/compiler/osinclude.h +++ webkit-1.8.0/Source/ThirdParty/ANGLE/src/compiler/osinclude.h @@ -15,8 +15,8 @@ #if defined(_WIN32) || defined(_WIN64) #define ANGLE_OS_WIN #elif defined(__APPLE__) || defined(__linux__) || \ - defined(__FreeBSD__) || defined(__OpenBSD__) || \ - defined(__sun) || defined(ANDROID) + defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \ + defined(__OpenBSD__) || defined(__sun) || defined(ANDROID) #define ANGLE_OS_POSIX #else #error Unsupported platform.