diff --git a/patches/mlibc/jinx-working-patch.patch b/patches/mlibc/jinx-working-patch.patch index 5b6a76c5..a6190d9d 100644 --- a/patches/mlibc/jinx-working-patch.patch +++ b/patches/mlibc/jinx-working-patch.patch @@ -29,10 +29,10 @@ index 5625592..36b42ee 100644 update_vector(); assign_variable(view.sub_string(0, s), string, true); -diff --git mlibc-clean/options/ansi/generic/string-stubs.cpp mlibc-workdir/options/ansi/generic/string-stubs.cpp +diff --git mlibc-clean/options/ansi/generic/string.cpp mlibc-workdir/options/ansi/generic/string.cpp index 8defd0e..d6cb65b 100644 ---- mlibc-clean/options/ansi/generic/string-stubs.cpp -+++ mlibc-workdir/options/ansi/generic/string-stubs.cpp +--- mlibc-clean/options/ansi/generic/string.cpp ++++ mlibc-workdir/options/ansi/generic/string.cpp @@ -406,7 +406,6 @@ char *strerror(int e) { case ENOPROTOOPT: s = "Protocol not available (ENOPROTOOPT)"; break; case ENOTEMPTY: s = "Directory not empty (ENOTEMPTY)"; break; @@ -41,10 +41,10 @@ index 8defd0e..d6cb65b 100644 case ENOTTY: s = "Inappropriate ioctl for device (ENOTTY)"; break; case EOVERFLOW: s = "Value too large for defined datatype (EOVERFLOW)"; break; #if EOPNOTSUPP != ENOTSUP -diff --git mlibc-clean/options/crypt/generic/crypt-stubs.cpp mlibc-workdir/options/crypt/generic/crypt-stubs.cpp +diff --git mlibc-clean/options/crypt/generic/crypt.cpp mlibc-workdir/options/crypt/generic/crypt.cpp index 65e0d23..95b060c 100644 ---- mlibc-clean/options/crypt/generic/crypt-stubs.cpp -+++ mlibc-workdir/options/crypt/generic/crypt-stubs.cpp +--- mlibc-clean/options/crypt/generic/crypt.cpp ++++ mlibc-workdir/options/crypt/generic/crypt.cpp @@ -1,7 +1,8 @@ #include #include @@ -72,20 +72,20 @@ index 3474615..e034881 100644 } char **backtrace_symbols(void *const *, int) { -diff --git mlibc-clean/options/posix/generic/dlfcn-stubs.cpp mlibc-workdir/options/posix/generic/dlfcn-stubs.cpp +diff --git mlibc-clean/options/posix/generic/dlfcn.cpp mlibc-workdir/options/posix/generic/dlfcn.cpp index fc34a3b..b1a95a9 100644 ---- mlibc-clean/options/posix/generic/dlfcn-stubs.cpp -+++ mlibc-workdir/options/posix/generic/dlfcn-stubs.cpp +--- mlibc-clean/options/posix/generic/dlfcn.cpp ++++ mlibc-workdir/options/posix/generic/dlfcn.cpp @@ -1,4 +1,4 @@ - +#define _GNU_SOURCE #include #include -diff --git mlibc-clean/options/posix/generic/unistd-stubs.cpp mlibc-workdir/options/posix/generic/unistd-stubs.cpp +diff --git mlibc-clean/options/posix/generic/unistd.cpp mlibc-workdir/options/posix/generic/unistd.cpp index 444ad22..d1ca86e 100644 ---- mlibc-clean/options/posix/generic/unistd-stubs.cpp -+++ mlibc-workdir/options/posix/generic/unistd-stubs.cpp +--- mlibc-clean/options/posix/generic/unistd.cpp ++++ mlibc-workdir/options/posix/generic/unistd.cpp @@ -484,8 +484,9 @@ int lockf(int fd, int op, off_t size) { } diff --git a/source-recipes/mlibc b/source-recipes/mlibc index 9f3468d3..ae4607db 100644 --- a/source-recipes/mlibc +++ b/source-recipes/mlibc @@ -1,8 +1,8 @@ name=mlibc -version=b842be7802f53dea7c5700512d20d6471831e3c7 +version=75c98b394b3e7f3821adf451da3b53ae7a222d85 source_method=tarball tarball_url="https://github.com/managarm/mlibc/archive/${version}.tar.gz" -tarball_sha512="0fe5f95771f37d6d57eb2f5b22d156dbd746b77c444e7c7cc065ae6fe51c646c2e03575960ab16fba79abb447fce30950d2201a09c6e0290d405e1eab94d3ffd" +tarball_sha512="b169ad20334d052882ca10c1458b8594770eee8948adb4deadc987dc4810846c53771ebd27aaf1fa1f4346132ecef198a208c3d940d47f1b4cbeefe05acf3301" regenerate() { true