diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-01-29 23:04:45 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-01-29 23:04:45 +0000 |
commit | 7dc166606b9e5b155f45ee2f6cac61ac9ab04da9 (patch) | |
tree | 6b35b83e514ea208d1c7de1955b63e15a0bc7a3b /graphics/wayland/files/patch-src_wayland-os.h | |
parent | sysutils/zap: Update to version 0.6.6. (diff) |
Move wayland to a better location
Notes
Notes:
svn path=/head/; revision=432804
Diffstat (limited to 'graphics/wayland/files/patch-src_wayland-os.h')
-rw-r--r-- | graphics/wayland/files/patch-src_wayland-os.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/wayland/files/patch-src_wayland-os.h b/graphics/wayland/files/patch-src_wayland-os.h new file mode 100644 index 000000000000..a710f8b627f2 --- /dev/null +++ b/graphics/wayland/files/patch-src_wayland-os.h @@ -0,0 +1,28 @@ +--- src/wayland-os.h.orig 2015-07-06 19:38:51 UTC ++++ src/wayland-os.h +@@ -30,13 +30,25 @@ int + wl_os_socket_cloexec(int domain, int type, int protocol); + + int ++wl_os_socketpair_cloexec(int domain, int type, int protocol, int sv[2]); ++ ++int + wl_os_dupfd_cloexec(int fd, long minfd); + + ssize_t + wl_os_recvmsg_cloexec(int sockfd, struct msghdr *msg, int flags); + ++/* FIXME? not sure if this will work in this header like this ... ++ though seems build only header perhaps? */ ++#ifdef HAVE_SYS_EPOLL_H + int + wl_os_epoll_create_cloexec(void); ++#endif ++ ++#ifdef HAVE_SYS_EVENT_H ++int ++wl_os_kqueue_create_cloexec(void); ++#endif + + int + wl_os_accept_cloexec(int sockfd, struct sockaddr *addr, socklen_t *addrlen); |