aboutsummaryrefslogtreecommitdiff
path: root/.builds
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-23 13:00:39 -0700
committerMichael Forney <mforney@mforney.org>2024-03-23 13:00:39 -0700
commit52d9d1e21c38d33a0dcab8021751743ac180766b (patch)
tree73342ffb9aa3275efef1ab0593d7b13829ae3703 /.builds
parent9eda39fe46c0525dab9aa6ee76708fd4f4010bfb (diff)
CI: Add patch for openbsd to use __builtin_va_list on all compilers
Diffstat (limited to '.builds')
-rw-r--r--.builds/openbsd.diff14
1 files changed, 14 insertions, 0 deletions
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