mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 05:07:45 +00:00
Ports: Port wayland-client
This commit is contained in:
parent
3440292e73
commit
3481e44d01
8 changed files with 305 additions and 0 deletions
22
Ports/wayland/patches/0004-Don-t-use-CMSG_CLOEXEC.patch
Normal file
22
Ports/wayland/patches/0004-Don-t-use-CMSG_CLOEXEC.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Elliott <pelliott@ualberta.ca>
|
||||
Date: Sat, 11 Feb 2023 14:58:38 -0700
|
||||
Subject: [PATCH] Don't use CMSG_CLOEXEC
|
||||
|
||||
---
|
||||
meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 52bf93bb278c75ee77bd3fcb29810752a1bc4ded..622899a3076577218d93f5075d03279765723acc 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -51,7 +51,7 @@ foreach f: have_funcs
|
||||
config_h.set('HAVE_' + f.underscorify().to_upper(), cc.has_function(f))
|
||||
endforeach
|
||||
config_h.set10('HAVE_XUCRED_CR_PID', cc.has_member('struct xucred', 'cr_pid', prefix : '#include <sys/ucred.h>'))
|
||||
-have_broken_msg_cmsg_cloexec = false
|
||||
+have_broken_msg_cmsg_cloexec = true
|
||||
if host_machine.system() == 'freebsd'
|
||||
have_broken_msg_cmsg_cloexec = not cc.compiles('''
|
||||
#include <sys/param.h> /* To get __FreeBSD_version. */
|
Loading…
Add table
Add a link
Reference in a new issue