add Openmadriva patches

This commit is contained in:
Mario Fetka
2026-04-20 09:42:39 +02:00
parent cc3229e6b3
commit 33f6dbfc96
70 changed files with 49901 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
linux/stddef.h was included by accident. use private offsetof macro
---
sutil/ncpm_common.h | 1 +
1 file changed, 1 insertion(+)
Index: ncpfs-2.2.6/sutil/ncpm_common.h
===================================================================
--- ncpfs-2.2.6.orig/sutil/ncpm_common.h
+++ ncpfs-2.2.6/sutil/ncpm_common.h
@@ -122,5 +122,6 @@ int proc_aftermount(const struct ncp_mou
int proc_ncpm_umount(const char* dir);
#define UNUSED(x) x __attribute__((unused))
+#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif /* __NCPM_COMMON_H__ */