ports/emulators/open-vm-tools/files/patch-libDeployPkg_processPosix.c
Renato Botelho 6b0def58e2 emulators/open-vm-tools: Add DEPLOYPKG option
Before this change, open-vm-tools port used to depend inconditionally of
libmspack, which is a requirement of DeployPkg plugin.  It turns out
that configure script only enable this plugin automatically on linux, so
it was not being built and dependency was not supposed to be there.

Instead of removing bogus dependency, I decided to add DEPLOYPKG option,
used to enable that plugin and left it off by default in order to
preserve previous default behavior.

Some changes on source code were needed to make DeployPkg to build on
FreeBSD and are done by new patches, which I intend to submit upstream.

Reported by:	vangyzen
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2023-07-19 12:38:44 -03:00

11 lines
262 B
C

--- libDeployPkg/processPosix.c.orig 2023-07-18 17:10:48 UTC
+++ libDeployPkg/processPosix.c
@@ -28,6 +28,8 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/wait.h>
+#include <sys/types.h>
+#include <signal.h>
#include <stdlib.h>
#include "util.h"