python/hypothesis: update to 6.122.3
[oi-userland.git] / components / desktop / gkrellm / patches / 03-log.patch
blob1a630bef6719d174e61a921a217b1c0043b0a42c
1 diff -Nrup gkrellm-2.3.2.mod.3/server/main.c gkrellm-2.3.2.mod.4/server/main.c
2 --- gkrellm-2.3.2.mod.3/server/main.c 2008-10-09 19:56:37.284510000 +0800
3 +++ gkrellm-2.3.2.mod.4/server/main.c 2008-10-09 20:07:54.465594000 +0800
4 @@ -27,6 +27,14 @@
5 #include <syslog.h>
6 #endif // !WIN32
8 +/**********************************************************************
9 + * Sun Solais doesn't seem to define LOG_MAKEPRI, so following compatibility code is provided.
10 + **********************************************************************/
12 +#ifdef sun
13 +#define LOG_MAKEPRI(f, p) (((f) << 3) | (p))
14 +#endif /* sun */
16 // win32 defines addrinfo but only supports getaddrinfo call on winxp or newer
17 #if !defined(HAVE_GETADDRINFO) && !defined(WIN32)
18 struct addrinfo