termux-packages/x11-packages/qemu-system-x86-64/0004-fix-time_nsec-defs.patch
Leonid Pliushch ea33d9e734
rename package: qemu-system-x86_64 --> qemu-system-x86-64
DEB package should not have "_" (underscore) in name.
2022-04-18 14:45:38 +05:30

23 lines
522 B
Diff

diff -uNr qemu-4.2.0/fsdev/9p-marshal.h qemu-4.2.0.mod/fsdev/9p-marshal.h
--- qemu-4.2.0/fsdev/9p-marshal.h 2019-12-12 20:20:47.000000000 +0200
+++ qemu-4.2.0.mod/fsdev/9p-marshal.h 2019-12-15 00:09:59.586176320 +0200
@@ -48,6 +48,18 @@
int64_t mtime_nsec;
} V9fsIattr;
+#ifdef st_atime_nsec
+# undef st_atime_nsec
+#endif
+
+#ifdef st_mtime_nsec
+# undef st_mtime_nsec
+#endif
+
+#ifdef st_ctime_nsec
+# undef st_ctime_nsec
+#endif
+
typedef struct V9fsStatDotl {
uint64_t st_result_mask;
V9fsQID qid;