mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
remake: fix build with llvm22: don't use crappy realloc reimplementations
Passes regress on amd64.
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user