head 1.2; access; symbols; locks; strict; comment @ * @; 1.2 date 2026.06.08.13.12.48; author kikadf; state Exp; branches; next 1.1; commitid Zzd0Bp9ZEsatPZIG; 1.1 date 2026.06.01.10.09.22; author kikadf; state Exp; branches; next ; commitid 48lBuM9fEuUE15IG; desc @@ 1.2 log @ www/chromium: update to 149.0.7827.53 * 149.0.7827.53 This update includes 429 security fixes. Below, we highlight fixes that were contributed by external researchers. Please see the Chrome Security Page for more information. * Fix build with wayland support: add missing include @ text @$NetBSD$ * Part of patchset to build chromium on NetBSD * Based on OpenBSD's chromium patches, and pkgsrc's qt5-qtwebengine patches --- third_party/wayland/src/src/wayland-os.c.orig 2026-05-28 23:24:11.000000000 +0000 +++ third_party/wayland/src/src/wayland-os.c @@@@ -106,6 +106,24 @@@@ wl_os_socket_peercred(int sockfd, uid_t #endif return 0; } +#elif defined(__NetBSD__) +#ifndef SOL_LOCAL +#define SOL_LOCAL (0) +#endif +int +wl_os_socket_peercred(int sockfd, uid_t *uid, gid_t *gid, pid_t *pid) +{ + socklen_t len; + struct sockcred ucred; + + len = sizeof(ucred); + if (getsockopt(sockfd, SOL_LOCAL, LOCAL_CREDS, &ucred, &len) < 0) + return -1; + *uid = ucred.sc_uid; + *gid = ucred.sc_gid; + *pid = 0; + return 0; +} #elif defined(SO_PEERCRED) int wl_os_socket_peercred(int sockfd, uid_t *uid, gid_t *gid, pid_t *pid) @ 1.1 log @ chromium: update to 148.0.7778.215 * 148.0.7778.215 This update includes 151 security fixes. Below, we highlight fixes that were contributed by external researchers. Please see the Chrome Security Page for more information. * 148.0.7778.178 This update includes 16 security fixes. Below, we highlight fixes that were contributed by external researchers. Please see the Chrome Security Page for more information. * pkgsrc: enable wayland support @ text @d7 1 a7 1 --- third_party/wayland/src/src/wayland-os.c.orig 2026-05-26 20:39:02.000000000 +0000 @