From 98172f440fc5ed9b31800527632470f57969fbdf Mon Sep 17 00:00:00 2001 From: ferreo Date: Tue, 19 Nov 2024 08:40:43 +0000 Subject: [PATCH] a --- .github/release-nest-v3 | 2 +- nvidia-graphics-drivers-565/debian/rules | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index d8263ee..56a6051 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -2 \ No newline at end of file +1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-565/debian/rules b/nvidia-graphics-drivers-565/debian/rules index 7b53b95..1de575e 100644 --- a/nvidia-graphics-drivers-565/debian/rules +++ b/nvidia-graphics-drivers-565/debian/rules @@ -18,8 +18,8 @@ ifeq (amd64,$(DEB_HOST_ARCH)) # Extract all manpages gunzip debian/tmp/*.1.gz -k # Apply the patch from ./debian/patches/0001.patch - patch -Np2 -i $(srcdir)/debian/patches/0001.patch -d $(srcdir)/debian/tmp/kernel - patch -Np2 -i $(srcdir)/debian/patches/0001.patch -d $(srcdir)/debian/tmp/kernel-open + patch -Np2 -i $(env | grep -w "PWD" | cut -c5-)/debian/patches/0001.patch -d $(env | grep -w "PWD" | cut -c5-)/debian/tmp/kernel + patch -Np2 -i $(env | grep -w "PWD" | cut -c5-)/debian/patches/0001.patch -d $(env | grep -w "PWD" | cut -c5-)/debian/tmp/kernel-open # NVENC/NvFBC sed -i 's/\xe8\x35\x3e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x3e\xfe\xff\x29\xc0\x41\x89\xc4/g' "debian/tmp/libnvidia-encode.so.565.57.01" sed -i 's/\x85\xc0\x0f\x84\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' "debian/tmp/libnvidia-fbc.so.565.57.01"