From abffea3d0aa83feb4b9c04e7c9c8f0bc3a5c2754 Mon Sep 17 00:00:00 2001 From: ferreo Date: Tue, 19 Nov 2024 08:36:46 +0000 Subject: [PATCH] asd --- .github/release-nest-v3 | 2 +- nvidia-graphics-drivers-565/debian/rules | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index 56a6051..d8263ee 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -1 \ No newline at end of file +2 \ No newline at end of file diff --git a/nvidia-graphics-drivers-565/debian/rules b/nvidia-graphics-drivers-565/debian/rules index 0ce4e1b..7b53b95 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 ./debian/patches/0001.patch -d ./debian/tmp/kernel - patch -Np2 -i ./debian/patches/0001.patch -d ./debian/tmp/kernel-open + 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 # 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" @@ -33,8 +33,8 @@ ifeq (i386,$(DEB_HOST_ARCH)) # Copy installer contents into debian temp dir cp -rf ./NVIDIA-Linux-*/* debian/tmp # Apply the patch from debian/patches/0001.patch - patch -Np2 -i ./debian/patches/0001.patch -d ./debian/tmp/kernel - patch -Np2 -i ./debian/patches/0001.patch -d ./debian/tmp/kernel-open + 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 # Replace libs with 32 bit rm -rf debian/tmp/*.so* cp -rf ./NVIDIA-Linux-*/32/* debian/tmp