diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-03-21 23:04:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-21 23:04:46 +0100 |
commit | b1526be944b20e4aac52096ddbc60bdeeb55ce83 (patch) | |
tree | 04f47cf8916e55bf7463224c452e8719340696d7 /pkgs/os-specific | |
parent | 7a6d0468bfe2210113636be6f9ce62ed9b9656c5 (diff) | |
parent | 4224476df6643dd50982a393534f1c3f22d8a1c0 (diff) |
Merge pull request #107824 from mroi/patch-kmod
kmod: fix depmod crash on darwin
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kmod/darwin.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kmod/darwin.patch b/pkgs/os-specific/linux/kmod/darwin.patch index 69dbf479f9f1..e112e6915250 100644 --- a/pkgs/os-specific/linux/kmod/darwin.patch +++ b/pkgs/os-specific/linux/kmod/darwin.patch @@ -121,3 +121,15 @@ index fd2028d..ecb0141 100644 if (!cwd) return NULL; +--- a/shared/util.h 2018-01-31 18:10:59.000000000 +0100 ++++ b/shared/util.h 2020-12-28 19:48:21.000000000 +0100 +@@ -7,6 +7,9 @@ + #include <stdio.h> + #include <sys/types.h> + #include <sys/stat.h> ++#ifdef __APPLE__ ++#include <libgen.h> ++#endif + + #include <shared/macro.h> + |