diff --git a/patches/mlibc/jinx-working-patch.patch b/patches/mlibc/jinx-working-patch.patch index e121d2d2..454ffd20 100644 --- a/patches/mlibc/jinx-working-patch.patch +++ b/patches/mlibc/jinx-working-patch.patch @@ -236,10 +236,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..b150712 +index 0000000..31b763b --- /dev/null +++ mlibc-workdir/sysdeps/astral/generic/generic.cpp -@@ -0,0 +1,724 @@ +@@ -0,0 +1,730 @@ +#include +#include +#include @@ -323,6 +323,12 @@ index 0000000..b150712 + return 0; + } + ++ int sys_getsockopt(int fd, int layer, int number, ++ void *__restrict buffer, socklen_t *__restrict size) { ++ mlibc::infoLogger() << "getsockopt: " << fd << " " << layer << " " << number << frg::endlog; ++ return 0; ++ } ++ + int sys_getitimer(int which, struct itimerval *curr_value) { + long ret; + return syscall(SYSCALL_SETITIMER, &ret, which, (uint64_t)curr_value);