termux-packages/x11-packages/qemu-common/0005-fix-time_nsec-defs.patch
Leonid Pliushch ca8d7f687f
remove non-X11 packages
These packages will be moved to unstable-packages repo.
2022-04-18 14:09:13 +05:30

23 lines
522 B
Diff

diff -uNr qemu-3.0.0/fsdev/9p-marshal.h qemu-3.0.0.mod/fsdev/9p-marshal.h
--- qemu-3.0.0/fsdev/9p-marshal.h 2018-08-14 22:10:34.000000000 +0300
+++ qemu-3.0.0.mod/fsdev/9p-marshal.h 2018-10-26 16:58:37.620555116 +0300
@@ -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;