diff --git a/handle_backports.diff b/handle_backports.diff new file mode 100644 index 0000000..dfe4155 --- /dev/null +++ b/handle_backports.diff @@ -0,0 +1,11 @@ +--- a/src/afs/LINUX/osi_vnodeops.c ++++ b/src/afs/LINUX/osi_vnodeops.c +@@ -971,7 +971,7 @@ + # else + .splice_write = generic_file_splice_write, + # endif +-# if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0) ++# if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,0) + .splice_read = filemap_splice_read, + # else + .splice_read = generic_file_splice_read, diff --git a/openafs.changes b/openafs.changes index 6366547..5933b31 100644 --- a/openafs.changes +++ b/openafs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 11 04:58:30 UTC 2023 - Christof Hanke + +- patch upstream patch fef2457.diff for 6.5 to handle backport by SUSE + * handle_backports.diff + ------------------------------------------------------------------- Fri Nov 10 08:53:16 UTC 2023 - Christof Hanke diff --git a/openafs.spec b/openafs.spec index 0e5979c..8306271 100644 --- a/openafs.spec +++ b/openafs.spec @@ -113,6 +113,9 @@ Patch6: 6de0a64.diff Patch5: 5b647bf.diff Patch7: 6413fdb.diff Patch8: 4f1d810.diff +# PATCH-HANDLE-BACKPORTS +# some kernel-features from 6.5 are apparently in 6.4 +Patch99: handle_backports.diff # GENERAL BuildRequires and Requires # @@ -331,6 +334,9 @@ done %patch6 -p1 %patch7 -p1 %patch8 -p1 +%if 0%{?sle_version} == 150600 +%patch99 -p1 +%endif ./regen.sh