Files
ports/net/vde2/files/patch-src_dpipe.c
T
Vladimir Druzenko 90c7068103 net/vde2: Update 2.3.3 => 2.3.3-57-6ad51c2 (last commit), set maintainer to vbox@
Commit log:
https://github.com/virtualsquare/vde-2/compare/v2.3.3...6ad51c2

- Upstream switched to cmake.
- Add option for build vde_cryptcab with mbedtls3.
- Add option for enable experimental features.

Sponsored by:	UNIS Labs
2026-05-16 21:03:10 +03:00

15 lines
343 B
C

--- src/dpipe.c.orig 2026-03-23 08:45:44 UTC
+++ src/dpipe.c
@@ -201,7 +201,11 @@ int main(int argc, char *argv[])
if (daemonize != 0)
daemon(0,0);
+#ifdef VDE_FREEBSD
+ else if (setpgrp(0,getpid()) == -1) {
+#else
else if (setpgrp() == -1) {
+#endif
fprintf(stderr,"Err: cannot create pgrp\n");
perror("setpgrp");
exit(1);