ports/graphics/goxel/files/patch-ext__src_quickjs_quickjs-libc.c
Alexey Dokuchaev 262a4ce041 graphics/goxel: update the port to version 0.12.0
Reported by:	portscout
2023-04-02 09:17:40 +00:00

13 lines
330 B
C

--- ext_src/quickjs/quickjs-libc.c.orig 2023-04-01 08:04:28 UTC
+++ ext_src/quickjs/quickjs-libc.c
@@ -47,6 +47,10 @@
#include <sys/ioctl.h>
#include <sys/wait.h>
+#if defined(__FreeBSD__)
+typedef sig_t sighandler_t;
+extern char **environ;
+#endif
#if defined(__APPLE__)
typedef sig_t sighandler_t;
#if !defined(environ)