freebsd-ports/net/lambdamoo/files/patch-my-string.h
Robert Clausecker f0c5bad08a net/lambdamoo: fix build on current FreeBSD, define LICENSE
- this has some seriously ancient autotools stuff in it
 - it doesn't even quite work these days

MFH:		2024Q2
2024-10-21 11:36:02 +02:00

11 lines
308 B
C

--- my-string.h.orig 2024-10-18 08:41:29 UTC
+++ my-string.h
@@ -72,6 +72,8 @@ extern const char *sys_errlist[];
#if NDECL_BZERO && !defined(bzero)
# if BZERO_IN_STDLIB_H
# include "my-stdlib.h"
+# elif BZERO_IN_STRINGS_H
+# include <strings.h>
# else
extern void bzero(char *, int);
# endif