mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
mlibc: bump commit
This commit is contained in:
@@ -101,7 +101,7 @@ index fc34a3b..b1a95a9 100644
|
|||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
||||||
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-stubs.cpp mlibc-workdir/options/posix/generic/unistd-stubs.cpp
|
||||||
index 16ab8b7..5ccc503 100644
|
index 444ad22..0f1b125 100644
|
||||||
--- mlibc-clean/options/posix/generic/unistd-stubs.cpp
|
--- mlibc-clean/options/posix/generic/unistd-stubs.cpp
|
||||||
+++ mlibc-workdir/options/posix/generic/unistd-stubs.cpp
|
+++ mlibc-workdir/options/posix/generic/unistd-stubs.cpp
|
||||||
@@ -484,8 +484,9 @@ int lockf(int fd, int op, off_t size) {
|
@@ -484,8 +484,9 @@ int lockf(int fd, int op, off_t size) {
|
||||||
@@ -116,7 +116,7 @@ index 16ab8b7..5ccc503 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
long pathconf(const char *, int name) {
|
long pathconf(const char *, int name) {
|
||||||
@@ -1257,6 +1258,7 @@ void encrypt(char[64], int) {
|
@@ -1297,6 +1298,7 @@ void encrypt(char[64], int) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -124,7 +124,7 @@ index 16ab8b7..5ccc503 100644
|
|||||||
#if __MLIBC_BSD_OPTION
|
#if __MLIBC_BSD_OPTION
|
||||||
void *sbrk(intptr_t increment) {
|
void *sbrk(intptr_t increment) {
|
||||||
if(increment) {
|
if(increment) {
|
||||||
@@ -1273,3 +1275,4 @@ void *sbrk(intptr_t increment) {
|
@@ -1313,3 +1315,4 @@ void *sbrk(intptr_t increment) {
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -219,7 +219,7 @@ index 0000000..e5b087a
|
|||||||
+
|
+
|
||||||
diff --git mlibc-workdir/sysdeps/astral/generic/generic.cpp mlibc-workdir/sysdeps/astral/generic/generic.cpp
|
diff --git mlibc-workdir/sysdeps/astral/generic/generic.cpp mlibc-workdir/sysdeps/astral/generic/generic.cpp
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..3f0df5d
|
index 0000000..de92048
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ mlibc-workdir/sysdeps/astral/generic/generic.cpp
|
+++ mlibc-workdir/sysdeps/astral/generic/generic.cpp
|
||||||
@@ -0,0 +1,985 @@
|
@@ -0,0 +1,985 @@
|
||||||
@@ -291,7 +291,7 @@ index 0000000..3f0df5d
|
|||||||
+ return 0;
|
+ return 0;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ int sys_getgroups(size_t size, const gid_t *list, int *ret) {
|
+ int sys_getgroups(size_t size, gid_t *list, int *ret) {
|
||||||
+ // TODO unstub
|
+ // TODO unstub
|
||||||
+ *ret = 0;
|
+ *ret = 0;
|
||||||
+ return 0;
|
+ return 0;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
name=mlibc
|
name=mlibc
|
||||||
version=67e11fa83ed3606edd1b76c927bd3303d7c87ab9
|
version=fee1ca4a2e6a397040ea2647875c1146e5f0e564
|
||||||
source_method=tarball
|
source_method=tarball
|
||||||
tarball_url="https://github.com/managarm/mlibc/archive/${version}.tar.gz"
|
tarball_url="https://github.com/managarm/mlibc/archive/${version}.tar.gz"
|
||||||
tarball_sha512="abfa2dca11220fcb7994ac7cb21f8fc8f0ec74a7672a9b03a7925b4c4b121ddbe6c16824eb3530331216df78e41f13c0aba46fb48ff516618f8268655aca88c4"
|
tarball_sha512="01834b5f109f6040a991c8edfa96dcab7d33fe3dae06738230af16ecfa402dc4219d4c3e79ff8d6deafa52a498bd4781848b42becf316f206385b20092e9f24f"
|
||||||
|
|
||||||
regenerate() {
|
regenerate() {
|
||||||
mkdir -p ${source_dir}/sysdeps/astral/include/
|
mkdir -p ${source_dir}/sysdeps/astral/include/
|
||||||
|
|||||||
Reference in New Issue
Block a user