diff --git a/patches/mlibc/jinx-working-patch.patch b/patches/mlibc/jinx-working-patch.patch index 78e78262..ec41d469 100644 --- a/patches/mlibc/jinx-working-patch.patch +++ b/patches/mlibc/jinx-working-patch.patch @@ -133,10 +133,10 @@ index 0000000..e5b087a + diff --git mlibc-workdir/sysdeps/astral/generic/generic.cpp mlibc-workdir/sysdeps/astral/generic/generic.cpp new file mode 100644 -index 0000000..023c581 +index 0000000..d233630 --- /dev/null +++ mlibc-workdir/sysdeps/astral/generic/generic.cpp -@@ -0,0 +1,422 @@ +@@ -0,0 +1,427 @@ +#include +#include +#include @@ -211,6 +211,11 @@ index 0000000..023c581 + return 0; + } + ++ int sys_fsync(int fd) { ++ // TODO as the VFS does not do caching as of yet, this system call is stubbed and should be implemented once caching is done ++ return 0; ++ } ++ + int sys_tcgetattr(int fd, struct termios *attr){ + int res; + return sys_ioctl(fd, TCGETS, (void *)attr, &res);