Nv_patch_340.107_linux_kernel_5.0 integration

Hello. I wanted to know if the patch referenced in the linked thread: https://devtalk.nvidia.com/default/topic/1047179/linux/-solved-nvidia-340-107-linux-5-0-rc5-failed-to-build-kernel-module/
was ever integrated into the 340.107 Linux driver (NVIDIA-Linux-x86_64-340) or any subsequent NVIDIA driver for linux.

Latest and last 340 driver is 340.108 which includes it:
https://forums.developer.nvidia.com/t/linux-solaris-and-freebsd-driver-340-108-legacy-for-geforce-8-and-9-series/109520

Thank you very much!

I have used the 340_108 patch from the if-not-true-then-false.com website for many years to get the 2019 nvidia driver to work for my Quadro FX 1800 VGA controller. However after I upgraded to Fedora 38 on my Linux 64-bit computer, the patched version of the nvidia driver installation for the 6.2 kernel did not work. The first problem was that the compiler used to compile the kernel (gcc 13.0) did not match the current compiler (gcc 13.1). I downgraded my gcc compiler to 13.0.1 to match the compiler used to compile the kernel. I still can’t build the nvidia kernel because the gcc 13.0 compiler is stricter than previous versions. During the compilation it spews out this warning: “comparison of integer expressions of different signedness” many times, and this warning “ISO C90 forbids mixed declarations and code”. Finally at the end the compiler says “some warnings being treated as errors” and “nvidia.ko failed to build!”. It appears that fixing the old 2019 nvidia driver in order to get it to work for the gcc 13.0 compiler would require a lot of work. Any suggestions would be appreciated.