head 1.2; access; symbols pkgsrc-2024Q3:1.1.0.4 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.2 pkgsrc-2024Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2024.12.05.09.43.28; author markd; state dead; branches; next 1.1; commitid 8KjOiYd9pYpUliAF; 1.1 date 2024.05.26.13.45.28; author markd; state Exp; branches; next ; commitid PSME1L0i7ol5UvbF; desc @@ 1.2 log @kf6: update KDE Frameworks 6 to 6.8.0 6 months of updates @ text @$NetBSD: patch-src_platforms_wayland_shm.cpp,v 1.1 2024/05/26 13:45:28 markd Exp $ fd not declared if not defined HAVE_MEMFD --- src/platforms/wayland/shm.cpp.orig 2024-02-21 11:27:59.000000000 +0000 +++ src/platforms/wayland/shm.cpp @@@@ -78,8 +78,9 @@@@ std::unique_ptr Shm::createBu const int stride = image.bytesPerLine(); const int32_t byteCount = image.size().height() * stride; + int fd; #if defined HAVE_MEMFD - int fd = memfd_create("kwayland-shared", MFD_CLOEXEC | MFD_ALLOW_SEALING); + fd = memfd_create("kwayland-shared", MFD_CLOEXEC | MFD_ALLOW_SEALING); if (fd >= 0) { fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL); } else @ 1.1 log @kf6-kwindowsystem: add version 6.2.0 KDE Frameworks 6 kwindowsystem. Convenience access to certain properties and features of the windowing system. KWindowSystem provides information about the windowing system and allows interaction with the windowing system. It provides an high level API which is windowing system independent and has platform specific implementations. This API is inspired by X11 and thus not all functionality is available on all windowing systems. In addition to the high level API, this framework also provides several more low level classes for interaction with the X Windowing System. @ text @d1 1 a1 1 $NetBSD$ @