remake: fix build with llvm22: don't use crappy realloc reimplementations

Passes regress on amd64.
This commit is contained in:
tb
2026-06-03 18:44:48 +00:00
parent daff152920
commit 2027333212
2 changed files with 24 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
Index: glob/glob.c
--- glob/glob.c.orig
+++ glob/glob.c
@@ -182,7 +182,7 @@ extern void bcopy ();
# define mempcpy(Dest, Src, Len) __mempcpy (Dest, Src, Len)
#endif
-#if !defined __GNU_LIBRARY__ && !defined __DJGPP__
+#if !defined __GNU_LIBRARY__ && !defined __DJGPP__ && !defined __OpenBSD__
# ifdef __GNUC__
__inline
# endif
+12
View File
@@ -0,0 +1,12 @@
Index: lib/glob.c
--- lib/glob.c.orig
+++ lib/glob.c
@@ -182,7 +182,7 @@ extern void bcopy ();
# define mempcpy(Dest, Src, Len) __mempcpy (Dest, Src, Len)
#endif
-#if !defined __GNU_LIBRARY__ && !defined __DJGPP__
+#if !defined __GNU_LIBRARY__ && !defined __DJGPP__ && !defined __OpenBSD__
# ifdef __GNUC__
__inline
# endif