From 8fc0fc8bdf9de3049c165eae8fe5c416ef7caf38 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Tue, 10 Jan 2023 17:58:33 +0100 Subject: [PATCH] Removed patch --- ...dba75cf5f21cfd49c1a05f4fa62f77619b40.patch | 30 ------------------- gui-libs/wlroots/wlroots-0.15.1-r2.ebuild | 1 - 2 files changed, 31 deletions(-) delete mode 100644 gui-libs/wlroots/files/13fcdba75cf5f21cfd49c1a05f4fa62f77619b40.patch diff --git a/gui-libs/wlroots/files/13fcdba75cf5f21cfd49c1a05f4fa62f77619b40.patch b/gui-libs/wlroots/files/13fcdba75cf5f21cfd49c1a05f4fa62f77619b40.patch deleted file mode 100644 index 5193d32..0000000 --- a/gui-libs/wlroots/files/13fcdba75cf5f21cfd49c1a05f4fa62f77619b40.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 13fcdba75cf5f21cfd49c1a05f4fa62f77619b40 Mon Sep 17 00:00:00 2001 -From: Sebastian Krzyszkowiak -Date: Sat, 5 Mar 2022 08:00:39 +0100 -Subject: [PATCH] wlr_output_layout_contains_point: handle outputs that aren't - in the layout - -Instead of crashing, return `false` when the specified output isn't part -of the layout, as we can be sure that it doesn't contain the specified -point. ---- - types/wlr_output_layout.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/types/wlr_output_layout.c b/types/wlr_output_layout.c -index 28d91e8d4..ef6e2850c 100644 ---- a/types/wlr_output_layout.c -+++ b/types/wlr_output_layout.c -@@ -231,6 +231,9 @@ bool wlr_output_layout_contains_point(struct wlr_output_layout *layout, - if (reference) { - struct wlr_output_layout_output *l_output = - wlr_output_layout_get(layout, reference); -+ if (!l_output) { -+ return false; -+ } - struct wlr_box output_box; - output_layout_output_get_box(l_output, &output_box); - return wlr_box_contains_point(&output_box, lx, ly); --- -GitLab - diff --git a/gui-libs/wlroots/wlroots-0.15.1-r2.ebuild b/gui-libs/wlroots/wlroots-0.15.1-r2.ebuild index a8ac5ab..cbb1a3f 100644 --- a/gui-libs/wlroots/wlroots-0.15.1-r2.ebuild +++ b/gui-libs/wlroots/wlroots-0.15.1-r2.ebuild @@ -53,7 +53,6 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/wlroots-0.15.1-tinywl-dont-crash-upon-missing-keyboard.patch - "${FILESDIR}"/13fcdba75cf5f21cfd49c1a05f4fa62f77619b40.patch "${FILESDIR}"/17b2b06633729f1826715c1d0b84614aa3cedb3a.patch "${FILESDIR}"/dd03d839ab56c3e5d7c607a8d76e58e0b75edb85.patch "${FILESDIR}"/9ed578d159.patch