Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166848185
D23856.id68897.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D23856.id68897.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 2:07 AM (1 m, 27 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36881994
Default Alt Text
D23856.id68897.diff (1 KB)
Attached To
Mode
D23856: graphics/wayland: disable posix_fallocate on FreeBSD < 13
Attached
Detach File
Event Timeline
Log In to Comment