Page MenuHomeFreeBSD

D23856.diff
No OneTemporary

D23856.diff

Index: head/graphics/wayland/Makefile
===================================================================
--- head/graphics/wayland/Makefile
+++ head/graphics/wayland/Makefile
@@ -3,7 +3,7 @@
PORTNAME= wayland
PORTVERSION= 1.18.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics wayland
MASTER_SITES= https://wayland.freedesktop.org/releases/
Index: head/graphics/wayland/files/patch-cursor_os-compatibility.c
===================================================================
--- head/graphics/wayland/files/patch-cursor_os-compatibility.c
+++ head/graphics/wayland/files/patch-cursor_os-compatibility.c
@@ -9,11 +9,13 @@
#include <sys/mman.h>
#endif
-@@ -132,6 +132,9 @@ os_create_anonymous_file(off_t size)
+@@ -131,6 +131,11 @@ os_create_anonymous_file(off_t size)
*/
fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL);
} else
+#elif defined(__FreeBSD__)
++/* posix_fallocate returns ENODEV before https://svnweb.freebsd.org/changeset/base/356512 */
++#undef HAVE_POSIX_FALLOCATE
+ fd = shm_open(SHM_ANON, O_CREAT | O_RDWR | O_CLOEXEC, 0600); // shm_open is always CLOEXEC
+ if (fd < 0)
#endif

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 23, 10:27 AM (17 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39467916
Default Alt Text
D23856.diff (1 KB)

Event Timeline