summaryrefslogtreecommitdiffstats
path: root/system/nvidia-driver/skip_conflict-GPU_detect.patch
diff options
context:
space:
mode:
author Lenard Spencer2022-06-07 21:17:47 +0200
committer Willy Sudiarto Raharjo2022-06-11 03:59:00 +0200
commit9e10311975260f2cfe398e6717d04c5f5ad91a73 (patch)
tree06c4cf3a65409c7d0b0e7520e80e261ddf7ad8ee /system/nvidia-driver/skip_conflict-GPU_detect.patch
parent2c52256e4794f3b1d3b239e52337eb6d3930d9f2 (diff)
downloadslackbuilds-9e10311975260f2cfe398e6717d04c5f5ad91a73.tar.gz
system/nvidia-driver: Updated for version 515.48.07.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-driver/skip_conflict-GPU_detect.patch')
-rw-r--r--system/nvidia-driver/skip_conflict-GPU_detect.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/system/nvidia-driver/skip_conflict-GPU_detect.patch b/system/nvidia-driver/skip_conflict-GPU_detect.patch
deleted file mode 100644
index a64b671d60..0000000000
--- a/system/nvidia-driver/skip_conflict-GPU_detect.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff -uaN command-list.c command-list.c.new
---- command-list.c 2020-01-29 17:56:11.000000000 -0800
-+++ command-list.c.new 2020-03-08 11:24:03.000000000 -0700
-@@ -890,6 +890,8 @@
- // Allocate enough space for the whole file list, plus two extra files and
- // a NULL at the end.
- cfList = nvalloc((p->num_entries + 3) * sizeof(ConflictingFileInfo));
-+ /* let's just return an empty list! */
-+ return cfList;
-
- for (i = 0; i < p->num_entries; i++) {
- PackageEntry *entry = &p->entries[i];
-
-diff -uaN misc.c misc.c.new
---- misc.c 2020-01-29 17:56:11.000000000 -0800
-+++ misc.c.new 2020-03-08 11:42:12.000000000 -0700
-@@ -1153,13 +1153,12 @@
- }
-
- if (!install) {
-- ui_warn(op, "The %s module will not be installed. As a result, %s "
-- "will not function with this installation of the NVIDIA "
-- "driver.", optional_modules[i].module_name,
-+ ui_warn(op, "The %s module will be installed with no gpu detect. As a result, %s "
-+ "will function with this installation of the NVIDIA "
-+ "driver, but only if the card is installed", optional_modules[i].module_name,
- optional_modules[i].optional_module_dependee);
--
-- remove_kernel_module_from_package(p,
-- optional_modules[i].module_name);
-+// remove_kernel_module_from_package(p,
-+// optional_modules[i].module_name);
- }
- }
- }
-@@ -2036,7 +2035,10 @@
- "For further details, please see the appendix SUPPORTED "
- "NVIDIA GRAPHICS CHIPS in the README available on the Linux "
- "driver download page at www.nvidia.com.", p->version);
-- return FALSE;
-+ /* return FALSE;
-+ * We're just going to keep the message but skip the result
-+ * so we can run this in a VM.
-+ */
- }
-
- if (!found_vga_device)