Merge pull request #107824 from mroi/patch-kmod

kmod: fix depmod crash on darwin

authored by Sandro and committed by GitHub b1526be9 7a6d0468

+12
+12
pkgs/os-specific/linux/kmod/darwin.patch
··· 121 if (!cwd) 122 return NULL; 123
··· 121 if (!cwd) 122 return NULL; 123 124 + --- a/shared/util.h 2018-01-31 18:10:59.000000000 +0100 125 + +++ b/shared/util.h 2020-12-28 19:48:21.000000000 +0100 126 + @@ -7,6 +7,9 @@ 127 + #include <stdio.h> 128 + #include <sys/types.h> 129 + #include <sys/stat.h> 130 + +#ifdef __APPLE__ 131 + +#include <libgen.h> 132 + +#endif 133 + 134 + #include <shared/macro.h> 135 +