diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-11 17:39:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-11 17:39:25 +0100 |
commit | 0d39cf7bd8aae36b5d8eb4272a42dc6919216e34 (patch) | |
tree | a693bda4655d339b219f18fa48d970444858c94d /gui-libs/egl-wayland/files | |
parent | 9d8d34d0eedfd7319f905092519980bf1b4ce3e5 (diff) |
gentoo auto-resync : 11:04:2023 - 17:39:25
Diffstat (limited to 'gui-libs/egl-wayland/files')
-rw-r--r-- | gui-libs/egl-wayland/files/egl-wayland-1.1.11_p20230202-destruction-order.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gui-libs/egl-wayland/files/egl-wayland-1.1.11_p20230202-destruction-order.patch b/gui-libs/egl-wayland/files/egl-wayland-1.1.11_p20230202-destruction-order.patch new file mode 100644 index 000000000000..9611ac7dc0da --- /dev/null +++ b/gui-libs/egl-wayland/files/egl-wayland-1.1.11_p20230202-destruction-order.patch @@ -0,0 +1,25 @@ +https://bugs.gentoo.org/904072 +https://github.com/NVIDIA/egl-wayland/pull/79 + +From 979200d803c5ed9cb08ac752ac828f28753fc445 Mon Sep 17 00:00:00 2001 +From: q234rty <q23456yuiop@gmail.com> +Date: Fri, 7 Apr 2023 18:08:03 +0800 +Subject: [PATCH] Fix wrong destruction order for event queue +--- a/src/wayland-egldisplay.c ++++ b/src/wayland-egldisplay.c +@@ -704,12 +704,12 @@ static void getServerProtocolsInfo(struct wl_display *nativeDpy, + } + } + ++ if (wlRegistry) { ++ wl_registry_destroy(wlRegistry); ++ } + if (queue) { + wl_event_queue_destroy(queue); + } +- if (wlRegistry) { +- wl_registry_destroy(wlRegistry); +- } + } + + EGLDisplay wlEglGetPlatformDisplayExport(void *data, |