summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-29 12:09:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-03-29 12:09:34 +0100
commitbfaccee12711d45a8f9050c7d94ba3dfb7bd2c8f (patch)
treed9b9f1dcf6ab7300deb7b34ac5dbeb95baf70933 /x11-drivers/nvidia-drivers
parentfb30f223ee56700c4fe039ab8c95892b0cf91263 (diff)
sys-kernel/nvidia-drivers-dkms{:390,:470,:515} : only build for kernels v5.x.x and up to v6.1.x (broken with kernel v6.2.x) && x11-drivers/nvidia-drivers{:390,:470,:515} : revision bump
Diffstat (limited to 'x11-drivers/nvidia-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/files/dkms390.patch27
-rw-r--r--x11-drivers/nvidia-drivers/files/dkms470.patch29
-rw-r--r--x11-drivers/nvidia-drivers/files/dkms515.patch58
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-390.157-r2.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-390.157-r1.ebuild)4
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03-r2.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03-r1.ebuild)1
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01-r2.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01-r1.ebuild)1
6 files changed, 0 insertions, 120 deletions
diff --git a/x11-drivers/nvidia-drivers/files/dkms390.patch b/x11-drivers/nvidia-drivers/files/dkms390.patch
deleted file mode 100644
index 45fff603..00000000
--- a/x11-drivers/nvidia-drivers/files/dkms390.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
---- a/kernel/dkms.conf 2021-11-02 06:16:12.000000000 +0000
-+++ b/kernel/dkms.conf 2022-10-16 19:24:47.535006817 +0100
-@@ -1,12 +1,19 @@
--PACKAGE_NAME="nvidia"
--PACKAGE_VERSION="__VERSION_STRING"
-+PACKAGE_NAME="nvidia-drivers-dkms"
-+PACKAGE_VERSION="390.157"
- AUTOINSTALL="yes"
-
- # By default, DKMS will add KERNELRELEASE to the make command line; however,
- # this will cause the kernel module build to infer that it was invoked via
- # Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
- # the 'make' command name to suppress this behavior.
--MAKE[0]="'make' -j__JOBS NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules"
-+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules"
-
- # The list of kernel modules will be generated by nvidia-installer at runtime.
--__DKMS_MODULES
-+BUILT_MODULE_NAME[0]="nvidia"
-+DEST_MODULE_LOCATION[0]="/extra/dkms"
-+BUILT_MODULE_NAME[1]="nvidia-uvm"
-+DEST_MODULE_LOCATION[1]="/extra/dkms"
-+BUILT_MODULE_NAME[2]="nvidia-modeset"
-+DEST_MODULE_LOCATION[2]="/extra/dkms"
-+BUILT_MODULE_NAME[3]="nvidia-drm"
-+DEST_MODULE_LOCATION[3]="/extra/dkms"
diff --git a/x11-drivers/nvidia-drivers/files/dkms470.patch b/x11-drivers/nvidia-drivers/files/dkms470.patch
deleted file mode 100644
index 2144b6aa..00000000
--- a/x11-drivers/nvidia-drivers/files/dkms470.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
---- a/kernel/dkms.conf 2022-06-30 19:31:05.000000000 +0100
-+++ b/kernel/dkms.conf 2022-10-16 19:27:00.128002886 +0100
-@@ -1,12 +1,21 @@
--PACKAGE_NAME="nvidia"
--PACKAGE_VERSION="__VERSION_STRING"
-+PACKAGE_NAME="nvidia-drivers-dkms"
-+PACKAGE_VERSION="470.161.03"
- AUTOINSTALL="yes"
-
- # By default, DKMS will add KERNELRELEASE to the make command line; however,
- # this will cause the kernel module build to infer that it was invoked via
- # Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
- # the 'make' command name to suppress this behavior.
--MAKE[0]="'make' -j__JOBS NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules"
-+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules"
-
- # The list of kernel modules will be generated by nvidia-installer at runtime.
--__DKMS_MODULES
-+BUILT_MODULE_NAME[0]="nvidia"
-+DEST_MODULE_LOCATION[0]="/extra/dkms"
-+BUILT_MODULE_NAME[1]="nvidia-uvm"
-+DEST_MODULE_LOCATION[1]="/extra/dkms"
-+BUILT_MODULE_NAME[2]="nvidia-modeset"
-+DEST_MODULE_LOCATION[2]="/extra/dkms"
-+BUILT_MODULE_NAME[3]="nvidia-drm"
-+DEST_MODULE_LOCATION[3]="/extra/dkms"
-+BUILT_MODULE_NAME[4]="nvidia-peermem"
-+DEST_MODULE_LOCATION[4]="/extra/dkms"
diff --git a/x11-drivers/nvidia-drivers/files/dkms515.patch b/x11-drivers/nvidia-drivers/files/dkms515.patch
deleted file mode 100644
index 6d83f27d..00000000
--- a/x11-drivers/nvidia-drivers/files/dkms515.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
---- a/kernel/dkms.conf 2022-07-20 14:40:39.000000000 +0100
-+++ b/kernel/dkms.conf 2022-10-16 17:59:20.342158844 +0100
-@@ -1,12 +1,21 @@
--PACKAGE_NAME="nvidia"
--PACKAGE_VERSION="__VERSION_STRING"
-+PACKAGE_NAME="nvidia-drivers-dkms"
-+PACKAGE_VERSION="515.86.01"
- AUTOINSTALL="yes"
-
- # By default, DKMS will add KERNELRELEASE to the make command line; however,
- # this will cause the kernel module build to infer that it was invoked via
- # Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
- # the 'make' command name to suppress this behavior.
--MAKE[0]="'make' -j__JOBS NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules"
-+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules"
-
- # The list of kernel modules will be generated by nvidia-installer at runtime.
--__DKMS_MODULES
-+BUILT_MODULE_NAME[0]="nvidia"
-+DEST_MODULE_LOCATION[0]="/extra/dkms"
-+BUILT_MODULE_NAME[1]="nvidia-uvm"
-+DEST_MODULE_LOCATION[1]="/extra/dkms"
-+BUILT_MODULE_NAME[2]="nvidia-modeset"
-+DEST_MODULE_LOCATION[2]="/extra/dkms"
-+BUILT_MODULE_NAME[3]="nvidia-drm"
-+DEST_MODULE_LOCATION[3]="/extra/dkms"
-+BUILT_MODULE_NAME[4]="nvidia-peermem"
-+DEST_MODULE_LOCATION[4]="/extra/dkms"
-diff -Nur a/kernel-open/dkms.conf b/kernel-open/dkms.conf
---- a/kernel-open/dkms.conf 2022-07-20 14:40:39.000000000 +0100
-+++ b/kernel-open/dkms.conf 2022-10-16 17:59:28.942158589 +0100
-@@ -1,12 +1,21 @@
--PACKAGE_NAME="nvidia"
--PACKAGE_VERSION="__VERSION_STRING"
-+PACKAGE_NAME="nvidia-drivers-dkms"
-+PACKAGE_VERSION="515.86.01"
- AUTOINSTALL="yes"
-
- # By default, DKMS will add KERNELRELEASE to the make command line; however,
- # this will cause the kernel module build to infer that it was invoked via
- # Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
- # the 'make' command name to suppress this behavior.
--MAKE[0]="'make' -j__JOBS NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules"
-+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules"
-
- # The list of kernel modules will be generated by nvidia-installer at runtime.
--__DKMS_MODULES
-+BUILT_MODULE_NAME[0]="nvidia"
-+DEST_MODULE_LOCATION[0]="/extra/dkms"
-+BUILT_MODULE_NAME[1]="nvidia-uvm"
-+DEST_MODULE_LOCATION[1]="/extra/dkms"
-+BUILT_MODULE_NAME[2]="nvidia-modeset"
-+DEST_MODULE_LOCATION[2]="/extra/dkms"
-+BUILT_MODULE_NAME[3]="nvidia-drm"
-+DEST_MODULE_LOCATION[3]="/extra/dkms"
-+BUILT_MODULE_NAME[4]="nvidia-peermem"
-+DEST_MODULE_LOCATION[4]="/extra/dkms"
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157-r2.ebuild
index 245d28c5..d7d6682e 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157-r2.ebuild
@@ -49,10 +49,6 @@ RDEPEND="
QA_PREBUILT="opt/* usr/lib*"
-PATCHES=(
- "${FILESDIR}"/dkms390.patch
-)
-
S=${WORKDIR}/
pkg_setup() {
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03-r2.ebuild
index 8ff9f823..25c5a870 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03-r2.ebuild
@@ -54,7 +54,6 @@ PDEPEND="tools? ( ~x11-misc/nvidia-settings-${PV}:${SLOT} )
QA_PREBUILT="opt/* usr/lib*"
S=${WORKDIR}/
PATCHES=(
- "${FILESDIR}"/dkms470.patch
"${FILESDIR}"/locale.patch
)
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01-r2.ebuild
index 5d15add9..62400c2f 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01-r2.ebuild
@@ -55,7 +55,6 @@ PDEPEND="tools? ( ~x11-misc/nvidia-settings-${PV}:${SLOT} )
QA_PREBUILT="opt/* usr/lib*"
S=${WORKDIR}/
PATCHES=(
- "${FILESDIR}"/dkms515.patch
"${FILESDIR}"/locale.patch
)