From 79747d3a1ed06db3aee61dc163fff50165771d67 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Mon, 7 Nov 2022 21:13:16 +0000 Subject: [PATCH] Update headers patch --- SOURCES/linux-5.14.0-headers-fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/SOURCES/linux-5.14.0-headers-fix.patch b/SOURCES/linux-5.14.0-headers-fix.patch index 722367cb6..5809c0656 100644 --- a/SOURCES/linux-5.14.0-headers-fix.patch +++ b/SOURCES/linux-5.14.0-headers-fix.patch @@ -21,3 +21,14 @@ diff -Naur linux-5.14.0-70.30.1.el9_0/tools/testing/selftests/vm/userfaultfd.c l #include #include #include +diff -Naur linux-5.14.0-70.30.1.el9_0/tools/testing/selftests/bpf/Makefile linux-5.14.0-70.30.1.el9_0.alma/tools/testing/selftests/bpf/Makefile +--- linux-5.14.0-70.30.1.el9_0/tools/testing/selftests/bpf/Makefile 2022-10-14 13:02:21.000000000 +0000 ++++ linux-5.14.0-70.30.1.el9_0.alma/tools/testing/selftests/bpf/Makefile 2022-11-07 20:12:15.536377539 +0000 +@@ -279,6 +279,7 @@ + CLANG_SYS_INCLUDES = $(call get_sys_includes,$(CLANG)) + BPF_CFLAGS = -g -D__TARGET_ARCH_$(SRCARCH) $(MENDIAN) \ + -I$(INCLUDE_DIR) -I$(CURDIR) -I$(APIDIR) \ ++ -I$(abspath $(TOOLSDIR)/../usr/include) \ + -I$(abspath $(OUTPUT)/../usr/include) + + CLANG_CFLAGS = $(CLANG_SYS_INCLUDES) \