ports/sysutils/tmate/patches/patch-server_c

15 lines
343 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Add missing inet promise.
Index: server.c
--- server.c.orig
+++ server.c
@@ -169,7 +169,7 @@ server_start(struct event_base *base, int lockfd, char
#ifdef __OpenBSD__
if (pledge("stdio rpath wpath cpath fattr unix getpw recvfd proc exec "
- "tty ps", NULL) != 0)
+ "tty ps inet", NULL) != 0)
fatal("pledge failed");
#endif