summaryrefslogtreecommitdiff
path: root/target/linux/patches/5.10.93/darwin-file2alias.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-01-21 01:56:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-01-21 01:56:47 +0100
commit2c92b649b06dd68eebf22392d7307bbb34f9c8d1 (patch)
tree20f97145a153aa2f62b6b30e39462a638f6627d0 /target/linux/patches/5.10.93/darwin-file2alias.patch
parent43d14af9b5ab6bf039dd3c40264dbb5a931be76f (diff)
linux: update to 5.10.93
Diffstat (limited to 'target/linux/patches/5.10.93/darwin-file2alias.patch')
-rw-r--r--target/linux/patches/5.10.93/darwin-file2alias.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/5.10.93/darwin-file2alias.patch b/target/linux/patches/5.10.93/darwin-file2alias.patch
new file mode 100644
index 000000000..fdbc598a8
--- /dev/null
+++ b/target/linux/patches/5.10.93/darwin-file2alias.patch
@@ -0,0 +1,14 @@
+diff -Nur linux-5.4.42.orig/scripts/mod/file2alias.c linux-5.4.42/scripts/mod/file2alias.c
+--- linux-5.4.42.orig/scripts/mod/file2alias.c 2020-05-20 08:20:41.000000000 +0200
++++ linux-5.4.42/scripts/mod/file2alias.c 2020-06-06 20:14:59.000000000 +0200
+@@ -10,6 +10,10 @@
+ * of the GNU General Public License, incorporated herein by reference.
+ */
+
++/* workaround for Darwin */
++#define _UUID_T
++#define __GETHOSTUUID_H
++
+ #include "modpost.h"
+ #include "devicetable-offsets.h"
+