summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch')
-rw-r--r--meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch15
1 files changed, 6 insertions, 9 deletions
diff --git a/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch b/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
index 8161d6128d..5d9d40c387 100644
--- a/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
+++ b/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
@@ -18,12 +18,12 @@ Upstream-Status: Pending
18 libkmod/libkmod-internal.h | 4 ++++ 18 libkmod/libkmod-internal.h | 4 ++++
19 1 file changed, 4 insertions(+) 19 1 file changed, 4 insertions(+)
20 20
21diff --git a/libkmod/libkmod-internal.h b/libkmod/libkmod-internal.h 21Index: git/libkmod/libkmod-internal.h
22index 0180124..100b40f 100644 22===================================================================
23--- a/libkmod/libkmod-internal.h 23--- git.orig/libkmod/libkmod-internal.h
24+++ b/libkmod/libkmod-internal.h 24+++ git/libkmod/libkmod-internal.h
25@@ -9,6 +9,10 @@ 25@@ -10,6 +10,10 @@
26 #include "macro.h" 26
27 #include "libkmod.h" 27 #include "libkmod.h"
28 28
29+#ifndef O_CLOEXEC 29+#ifndef O_CLOEXEC
@@ -33,6 +33,3 @@ index 0180124..100b40f 100644
33 static _always_inline_ _printf_format_(2, 3) void 33 static _always_inline_ _printf_format_(2, 3) void
34 kmod_log_null(struct kmod_ctx *ctx, const char *format, ...) {} 34 kmod_log_null(struct kmod_ctx *ctx, const char *format, ...) {}
35 35
36--
371.7.10.4
38