Page MenuHomeFreeBSD

D23856.id68897.diff
No OneTemporary

D23856.id68897.diff

Index: graphics/wayland/Makefile
===================================================================
--- graphics/wayland/Makefile
+++ 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: graphics/wayland/files/patch-cursor_os-compatibility.c
===================================================================
--- graphics/wayland/files/patch-cursor_os-compatibility.c
+++ 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 requires https://reviews.freebsd.org/D23042 */
++#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
Sat, Feb 21, 10:12 AM (22 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28919570
Default Alt Text
D23856.id68897.diff (1 KB)

Event Timeline