summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-01-15 17:28:24 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-01-15 18:00:44 -0500
commit9b89609eb1e84c5f5077039c7ff1d7865a81f85f (patch)
tree4e513e3d9c309dce3212693801bda163e1837b4e /x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
parentdev-qt/qtwebengine: add 5.15.12_p20240112 (diff)
downloadgentoo-9b89609eb1e84c5f5077039c7ff1d7865a81f85f.tar.gz
gentoo-9b89609eb1e84c5f5077039c7ff1d7865a81f85f.tar.bz2
gentoo-9b89609eb1e84c5f5077039c7ff1d7865a81f85f.zip
x11-drivers/nvidia-drivers: fix build with upcoming gcc14
Trivial and proper fix for 5xx branches, NVIDIA seems to be (now) keeping track of implicits and incompatibles beside missing this one hidden behind 2>/dev/null and kernel >=5.18. Can't say the same for the legacy branches (390 and 470), and rather than worry about these going for the lame life support treatment with -Wno-error= there. 470 has hope to be fixed properly by NVIDIA still but this is likely there forever in the not supported + masked 390. No need for revbumps, with gcc13 the test simply functions properly and does what's right, while with 14 it's just a build-time issue (and legacy branches are unchanged). Closes: https://bugs.gentoo.org/921370 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
index bf6ccdee2c2e..8198376cd815 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
@@ -88,6 +88,7 @@ QA_PREBUILT="lib/firmware/* opt/bin/* usr/lib*"
PATCHES=(
"${FILESDIR}"/nvidia-drivers-525.116.04-clang-unused-option.patch
+ "${FILESDIR}"/nvidia-drivers-525.147.05-gcc14.patch
"${FILESDIR}"/nvidia-kernel-module-source-515.86.01-raw-ldflags.patch
"${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch
"${FILESDIR}"/nvidia-settings-390.144-desktop.patch