From 52d9d1e21c38d33a0dcab8021751743ac180766b Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sat, 23 Mar 2024 13:00:39 -0700 Subject: CI: Add patch for openbsd to use __builtin_va_list on all compilers --- .builds/openbsd.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.builds/openbsd.diff b/.builds/openbsd.diff index 458466a..336c221 100644 --- a/.builds/openbsd.diff +++ b/.builds/openbsd.diff @@ -18,3 +18,17 @@ #define _BYTE_ORDER _LITTLE_ENDIAN +--- machine/_types.h.orig Sat Mar 23 19:04:19 2024 ++++ machine/_types.h Sat Mar 23 19:04:36 2024 +@@ -122,11 +122,7 @@ + typedef long __ptrdiff_t; + typedef unsigned long __size_t; + typedef long __ssize_t; +-#if defined(__GNUC__) && __GNUC__ >= 3 + typedef __builtin_va_list __va_list; +-#else +-typedef char * __va_list; +-#endif + + /* Wide character support types */ + #ifndef __cplusplus -- cgit v1.2.3