fix clean builds

This commit is contained in:
Matheus
2024-04-09 00:15:26 -03:00
parent 8a66c6a12b
commit d3abf5c97d
53 changed files with 187 additions and 301 deletions
@@ -0,0 +1,16 @@
diff --git coreutils-clean/src/stat.c coreutils-workdir/src/stat.c
index 3765a8f..f6b129f 100644
--- coreutils-clean/src/stat.c
+++ coreutils-workdir/src/stat.c
@@ -75,11 +75,7 @@
#include "xvasprintf.h"
#include "statx.h"
-#if HAVE_STATX && defined STATX_INO
-# define USE_STATX 1
-#else
# define USE_STATX 0
-#endif
#if USE_STATVFS
# define STRUCT_STATXFS_F_FSID_IS_INTEGER STRUCT_STATVFS_F_FSID_IS_INTEGER
+51 -13
View File
@@ -1,3 +1,54 @@
diff --git gawk-clean/Makefile.am gawk-workdir/Makefile.am
index 9f5e40c..3a90ed0 100644
--- gawk-clean/Makefile.am
+++ gawk-workdir/Makefile.am
@@ -206,18 +206,13 @@ efence: gawk
$(CC) $(AM_LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LDADD) $(LIBS) -lefence
diffout valgrind-scan zos-diffout:
- @cd test && $(MAKE) $(AM_MAKEFLAGS) $@
+ echo skip
valgrind:
- cd test; rm -f log.[0-9]*; \
- make check VALGRIND="valgrind --leak-check=full --log-file=log.%p"; \
- make valgrind-scan
+ echo skip
valgrind-noleak:
- cd test; rm -f log.[0-9]*; \
- make check VALGRIND="valgrind --leak-check=no --log-file=log.%p"; \
- make valgrind-scan
-
+ echo skip
spell:
cd "$(srcdir)"/doc ; $(MAKE) spell
diff --git gawk-clean/Makefile.in gawk-workdir/Makefile.in
index 03f583a..69cad0f 100644
--- gawk-clean/Makefile.in
+++ gawk-workdir/Makefile.in
@@ -1355,17 +1355,13 @@ efence: gawk
$(CC) $(AM_LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LDADD) $(LIBS) -lefence
diffout valgrind-scan zos-diffout:
- @cd test && $(MAKE) $(AM_MAKEFLAGS) $@
+ echo skip
valgrind:
- cd test; rm -f log.[0-9]*; \
- make check VALGRIND="valgrind --leak-check=full --log-file=log.%p"; \
- make valgrind-scan
+ echo skip
valgrind-noleak:
- cd test; rm -f log.[0-9]*; \
- make check VALGRIND="valgrind --leak-check=no --log-file=log.%p"; \
- make valgrind-scan
+ echo skip
spell:
cd "$(srcdir)"/doc ; $(MAKE) spell
diff --git gawk-clean/build-aux/config.sub gawk-workdir/build-aux/config.sub
index de4259e..e9e2707 100755
--- gawk-clean/build-aux/config.sub
@@ -11,16 +62,3 @@ index de4259e..e9e2707 100755
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
diff --git gawk-clean/test/Makefile.am gawk-workdir/test/Makefile.am
index cc99dfa..155153c 100644
--- gawk-clean/test/Makefile.am
+++ gawk-workdir/test/Makefile.am
@@ -1670,7 +1670,7 @@ NEED_TESTOUTCMP = \
beginfile2 double2 exit fmttest hsprint posix profile5 space
CMP = cmp
-AWKPROG = ../gawk$(EXEEXT)
+AWKPROG = test
SORT = sort
SORT2 = LC_ALL=C sort
+15 -2
View File
@@ -58,6 +58,19 @@ index 3474615..e034881 100644
}
char **backtrace_symbols(void *const *, int) {
diff --git mlibc-clean/options/linux/include/bits/linux/linux_stat.h mlibc-workdir/options/linux/include/bits/linux/linux_stat.h
index 59009c9..170d4a1 100644
--- mlibc-clean/options/linux/include/bits/linux/linux_stat.h
+++ mlibc-workdir/options/linux/include/bits/linux/linux_stat.h
@@ -9,7 +9,7 @@ extern "C" {
#ifndef __MLIBC_ABI_ONLY
-int statx(int, const char *, int, unsigned int, struct statx *);
+//int statx(int, const char *, int, unsigned int, struct statx *);
#endif /* !__MLIBC_ABI_ONLY */
diff --git mlibc-clean/options/posix/generic/dlfcn-stubs.cpp mlibc-workdir/options/posix/generic/dlfcn-stubs.cpp
index fc34a3b..b1a95a9 100644
--- mlibc-clean/options/posix/generic/dlfcn-stubs.cpp
@@ -175,7 +188,7 @@ 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..903a1b4
index 0000000..8a814ec
--- /dev/null
+++ mlibc-workdir/sysdeps/astral/generic/generic.cpp
@@ -0,0 +1,553 @@
@@ -186,8 +199,8 @@ index 0000000..903a1b4
+#include <astral/syscall.h>
+#include <astral/archctl.h>
+#include <string.h>
+#include <asm/ioctls.h>
+#include <stdlib.h>
+#include <asm/ioctls.h>
+#include <poll.h>
+#include <sys/select.h>
+