diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-07 15:05:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-07 15:05:28 +0000 |
commit | 419930af1f6a4a7fffa772b632eae609e9f77f0c (patch) | |
tree | 6e67d021d117c84d2dc3bea8edff84dd633097cd /x11-base | |
parent | a7f8149593061f8da90d40620b71b1406798f657 (diff) |
x11-base/xorg-server : version bump
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/xorg-server/Manifest | 2 | ||||
-rw-r--r-- | x11-base/xorg-server/files/xorg-server-21.1.4-BadIDChoice.patch | 59 | ||||
-rw-r--r-- | x11-base/xorg-server/xorg-server-21.1.7-r10.ebuild (renamed from x11-base/xorg-server/xorg-server-21.1.6-r10.ebuild) | 2 |
3 files changed, 1 insertions, 62 deletions
diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest index 4ac6d849..b061ccbf 100644 --- a/x11-base/xorg-server/Manifest +++ b/x11-base/xorg-server/Manifest @@ -1 +1 @@ -DIST xorg-server-21.1.6.tar.xz 4977496 BLAKE2B 8bcfa0a29f7b84b3ba9357d8ae9b1c7a5dc108159cf059f9c76c2c15f00be0d34964a3240937d146ae5f58a2d94deb091facacab984f8f905848bef5679cf46a SHA512 5e3cf879facf3a04aa64b7f6129226ea68a97109a7daca5146b57b4c707cc76a4fbad1924997dd319efd8c8c20eb5bb59570a719101b76ae07e923b7e9656239 +DIST xorg-server-21.1.7.tar.xz 4933292 BLAKE2B 327e217dcd632d9c013a330dbb0f93bf3c1bf6088906fcb3ff2959574fb6958c215a2ab6ed41b57250a9f200bcc3987bf87c5ffd11c7a7088c7fe6f1a245bd4b SHA512 e2a093381e28da9b2aa700c6609349fa851f4ca8df23c776f30e4e2733e7a6c1b257576b93f4c4e87fb09df901385bf52528982f6e7a6ad469597aeae8640bb5 diff --git a/x11-base/xorg-server/files/xorg-server-21.1.4-BadIDChoice.patch b/x11-base/xorg-server/files/xorg-server-21.1.4-BadIDChoice.patch deleted file mode 100644 index def3c587..00000000 --- a/x11-base/xorg-server/files/xorg-server-21.1.4-BadIDChoice.patch +++ /dev/null @@ -1,59 +0,0 @@ -https://bugs.gentoo.org/857483 -https://gitlab.freedesktop.org/xorg/xserver/-/issues/1310 -https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/953 - -From f61307631203ab0266c035db07c2f776cf7c6cf4 Mon Sep 17 00:00:00 2001 -From: Olivier Fourdan <ofourdan@redhat.com> -Date: Tue, 12 Jul 2022 14:44:48 +0200 -Subject: [PATCH] dix: Fix overzealous caching of ResourceClientBits() - -Commit c7311654 cached the value of ResourceClientBits(), but that value -depends on the `MaxClients` value set either from the command line or -from the configuration file. - -For the latter, a call to ResourceClientBits() is issued before the -configuration file is read, meaning that the cached value is from the -default, not from the maximum number of clients set in the configuration -file. - -That obviously causes all sort of issues, including memory corruption -and crashes of the Xserver when reaching the default limit value. - -To avoid that issue, also keep the LimitClient value, and recompute the -ilog2() value if that changes, as on startup when the value is set from -the the xorg.conf ServerFlags section. - -v2: Drop the `cache == 0` test - Rename cache vars - -Fixes: c7311654 - dix: cache ResourceClientBits() value -Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1310 -Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> -Reviewed-by: Adam Jackson <ajax@redhat.com> -(cherry picked from commit 2efa6d659508346358a1ef27b2393e18843f66a3) ---- a/dix/resource.c -+++ b/dix/resource.c -@@ -620,12 +620,15 @@ ilog2(int val) - unsigned int - ResourceClientBits(void) - { -- static unsigned int cached = 0; -+ static unsigned int cache_ilog2 = 0; -+ static unsigned int cache_limit = 0; - -- if (cached == 0) -- cached = ilog2(LimitClients); -+ if (LimitClients != cache_limit) { -+ cache_limit = LimitClients; -+ cache_ilog2 = ilog2(LimitClients); -+ } - -- return cached; -+ return cache_ilog2; - } - - /***************** --- -GitLab - - diff --git a/x11-base/xorg-server/xorg-server-21.1.6-r10.ebuild b/x11-base/xorg-server/xorg-server-21.1.7-r10.ebuild index 9fb2c090..4cb12760 100644 --- a/x11-base/xorg-server/xorg-server-21.1.6-r10.ebuild +++ b/x11-base/xorg-server/xorg-server-21.1.7-r10.ebuild @@ -96,8 +96,6 @@ REQUIRED_USE="!minimal? ( ?? ( elogind systemd )" UPSTREAMED_PATCHES=( - # https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/953 - "${FILESDIR}"/${PN}-21.1.4-BadIDChoice.patch ) PATCHES=( |