ports/lang/quickjs/patches/patch-quickjs-libc_c

15 lines
267 B
Text

Index: quickjs-libc.c
--- quickjs-libc.c.orig
+++ quickjs-libc.c
@@ -55,6 +55,11 @@ typedef sig_t sighandler_t;
#endif
#endif /* __APPLE__ */
+#if defined(__OpenBSD__)
+typedef sig_t sighandler_t;
+extern char **environ;
+#endif
+
#endif
#if !defined(_WIN32)