Page MenuHomeFreeBSD

D29360.diff
No OneTemporary

D29360.diff

Index: graphics/wayland/files/patch-src_wayland-server.c
===================================================================
--- graphics/wayland/files/patch-src_wayland-server.c
+++ graphics/wayland/files/patch-src_wayland-server.c
@@ -45,7 +45,7 @@
{
+#ifdef HAVE_SYS_UCRED_H
+ /* FreeBSD */
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 1300030
++#if defined(__FreeBSD__) && (__FreeBSD_version >= 1300030 || (__FreeBSD_version >= 1202506 && __FreeBSD_version < 1300000))
+ wl_log("%s (pid %u)\n", reason, client->xucred.cr_pid);
+#else
+ wl_log("%s\n", reason);
@@ -85,8 +85,8 @@
+#ifdef HAVE_SYS_UCRED_H
+ /* DragonFly or FreeBSD */
if (pid)
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 1300030
-+ /* Since https://cgit.freebsd.org/src/commit/?id=c5afec6e895a */
++#if defined(__FreeBSD__) && (__FreeBSD_version >= 1300030 || (__FreeBSD_version >= 1202506 && __FreeBSD_version < 1300000))
++ /* Since https://cgit.freebsd.org/src/commit/?id=925f44f33862 */
+ *pid = client->xucred.cr_pid;
+#else
+ *pid = 0;

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 11:43 AM (15 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15540969
Default Alt Text
D29360.diff (1 KB)

Event Timeline