SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,13 @@
--- src/strlib.c.orig Sun Oct 24 20:17:41 2004
+++ src/strlib.c Sun Oct 24 20:18:37 2004
@@ -37,6 +37,10 @@
#define FALSE 0
#define TRUE 1
+#ifdef __OpenBSD__
+#define G_VA_COPY(ap1, ap2) va_copy(ap1, ap2)
+#endif
+
#if !defined (G_VA_COPY)
# if defined (__GNUC__) && defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32)) || defined(__s390__)
# define G_VA_COPY(ap1, ap2) (*(ap1) = *(ap2))