nvidia-440 440.82-2 (znver1;x86_64) 2020-11918
9999

Status published
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository non-free
URL https://abf.openmandriva.org/build_lists/782618
Packages
nvidia-440-440.82-2.znver1.binary
nvidia-440-440.82-2.znver1.source
nvidia-440-32bit-440.82-2.znver1.binary
nvidia-440-kernel-modules-desktop-440.82-2.znver1.binary
nvidia-440-kernel-modules-server-440.82-2.znver1.binary
nvidia-440-440.82-2.x86_64.binary
nvidia-440-440.82-2.x86_64.source
nvidia-440-32bit-440.82-2.x86_64.binary
nvidia-440-kernel-modules-desktop-440.82-2.x86_64.binary
nvidia-440-kernel-modules-server-440.82-2.x86_64.binary
Build Date 2020-06-14 01:28:16 +0000 UTC
Last Updated 2020-06-19 20:27:48.07575356 +0000 UTC
$ git diff --patch-with-stat --summary 7c51cead2568a3ace6d4f5f55865f24f2e255758..d25e9f8ea73313c8bace615564b3f0eb4748fdee

 .abf.yml         |  2 +-
 kernel-5.7.patch | 39 +++++++++++++++++++++++++++++++++++++++
 nvidia-440.spec  |  8 +++++---
 3 files changed, 45 insertions(+), 4 deletions(-)
 create mode 100644 kernel-5.7.patch

diff --git a/.abf.yml b/.abf.yml
index 2b07160..32b8e39 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  NVIDIA-Linux-x86_64-440.64.run: 4d96320d8fddb4b74092e3d36b93a707669c8a0c
+  NVIDIA-Linux-x86_64-440.82.run: 1552d4cc8b3c7317b80e96268fbf685224022021
diff --git a/kernel-5.7.patch b/kernel-5.7.patch
new file mode 100644
index 0000000..e17ca93
--- /dev/null
+++ b/kernel-5.7.patch
@@ -0,0 +1,39 @@
+diff --git a/NVIDIA-Linux-x86_64-440.82/kernel/conftest.sh b/NVIDIA-Linux-x86_64-440.82/kernel/conftest.sh
+index 8f807a1..c8a45df 100755
+--- a/NVIDIA-Linux-x86_64-440.82/kernel/conftest.sh
++++ b/NVIDIA-Linux-x86_64-440.82/kernel/conftest.sh
+@@ -143,6 +143,7 @@ test_headers() {
+     FILES="$FILES video/nv_internal.h"
+     FILES="$FILES asm/book3s/64/hash-64k.h"
+     FILES="$FILES asm/set_memory.h"
++    FILES="$FILES asm/pgtable.h"
+     FILES="$FILES asm/prom.h"
+     FILES="$FILES asm/powernv.h"
+     FILES="$FILES asm/tlbflush.h"
+@@ -448,6 +449,8 @@ compile_test() {
+             # It does not exist on all architectures.
+             #
+             CODE="
++            #include <asm/page.h>
++            #include <asm/pgtable.h>
+             #if defined(NV_ASM_SET_MEMORY_H_PRESENT)
+             #include <asm/set_memory.h>
+             #else
+@@ -466,6 +469,8 @@ compile_test() {
+             # It does not exist on all architectures.
+             #
+             CODE="
++            #include <asm/page.h>
++            #include <asm/pgtable.h>
+             #if defined(NV_ASM_SET_MEMORY_H_PRESENT)
+             #include <asm/set_memory.h>
+             #else
+@@ -519,6 +524,8 @@ compile_test() {
+             # It does not exist on all architectures.
+             #
+             CODE="
++            #include <asm/page.h>
++            #include <asm/pgtable.h>
+             #if defined(NV_ASM_SET_MEMORY_H_PRESENT)
+             #include <asm/set_memory.h>
+             #else
diff --git a/nvidia-440.spec b/nvidia-440.spec
index 27b4093..ffa157f 100644
--- a/nvidia-440.spec
+++ b/nvidia-440.spec
@@ -2,13 +2,14 @@
 
 Summary:	Binary-only driver for nvidia graphics chips
 Name:		nvidia-440
-Version:	440.64
-Release:	1
+Version:	440.82
+Release:	2
 ExclusiveArch:	%{x86_64} %{znver1}
 Url:		http://www.nvidia.com/object/unix.html
-Source0:	http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}.run
+Source0:	http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}.run
 Source1:	https://gitweb.frugalware.org/frugalware-current/raw/master/source/x11-extra/nvidia/xorg-nvidia.conf	
 Source2:	https://gitweb.frugalware.org/frugalware-current/raw/master/source/x11-extra/nvidia/modprobe-nvidia.conf	
+Patch0:		kernel-5.7.patch
 Group:		Hardware
 License:	distributable
 # Just to be on the safe side, it may not be wise
@@ -120,6 +121,7 @@ Kernel modules needed by the binary-only nvidia driver
 %prep
 %setup -T -c %{name}-%{version}
 sh %{S:0} --extract-only
+%patch0 -p1
 
 %build
 cd NVIDIA-Linux-x86_64-%{version}
Not Available

benbullard79 [@T] cox.netNo Comment.1404d 06hrs
benbullard79 [@T] cox.netNo Comment.1404d 06hrs