From 05601f3184ab1bc1291ca38b4a3d36c9925c237a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Mon, 6 Apr 2020 01:36:17 +0200 Subject: [PATCH] - fix build checks - rel 5 --- kernel-5.6.patch | 8 +++----- xorg-driver-video-nvidia-legacy-390xx.spec | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/kernel-5.6.patch b/kernel-5.6.patch index 0958acb..f29a06e 100644 --- a/kernel-5.6.patch +++ b/kernel-5.6.patch @@ -138,7 +138,7 @@ index ec9e093..463a464 100755 ioremap_wc) # # Determine if the ioremap_wc() function is present. -@@ -1430,6 +1446,31 @@ compile_test() { +@@ -1430,6 +1446,29 @@ compile_test() { compile_check_conftest "$CODE" "NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT" "" "functions" ;; @@ -159,12 +159,10 @@ index ec9e093..463a464 100755 + CODE=" + #include + int conftest_ktime_get_raw_ts64(void) { -+ struct timespec64 ts = {0}; -+ -+ ktime_get_raw_ts64(&ts); ++ ktime_get_raw_ts64(); + }" + -+ compile_check_conftest "$CODE" "NV_KTIME_GET_RAW_TS64_PRESENT" "" "types" ++ compile_check_conftest "$CODE" "NV_KTIME_GET_RAW_TS64_PRESENT" "" "functions" + ;; + efi_enabled) diff --git a/xorg-driver-video-nvidia-legacy-390xx.spec b/xorg-driver-video-nvidia-legacy-390xx.spec index 3b8ec6b..7250879 100644 --- a/xorg-driver-video-nvidia-legacy-390xx.spec +++ b/xorg-driver-video-nvidia-legacy-390xx.spec @@ -33,7 +33,7 @@ exit 1 %define no_install_post_check_so 1 -%define rel 4 +%define rel 5 %define pname xorg-driver-video-nvidia-legacy-390xx Summary: Linux Drivers for nVidia GeForce/Quadro Chips Summary(hu.UTF-8): Linux meghajtók nVidia GeForce/Quadro chipekhez -- 2.43.0