git: 14c0b3dee821 - main - net/libvncserver: Fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Jan 2023 23:01:45 UTC
The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=14c0b3dee82151215ff4327423e3758369b37499 commit 14c0b3dee82151215ff4327423e3758369b37499 Author: Neel Chauhan <nc@FreeBSD.org> AuthorDate: 2023-01-18 23:00:11 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2023-01-18 23:00:11 +0000 net/libvncserver: Fix build PR: 269039 Reported by: VVD <vvd@unislabs.com> --- net/libvncserver/files/patch-client__examples_sshtunnel.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/net/libvncserver/files/patch-client__examples_sshtunnel.c b/net/libvncserver/files/patch-client__examples_sshtunnel.c new file mode 100644 index 000000000000..21ce2e31e0c0 --- /dev/null +++ b/net/libvncserver/files/patch-client__examples_sshtunnel.c @@ -0,0 +1,12 @@ +--- client_examples/sshtunnel.c.orig 2023-01-18 22:59:01 UTC ++++ client_examples/sshtunnel.c +@@ -16,6 +16,9 @@ + #include <netdb.h> + #include <signal.h> + #include <errno.h> ++#ifdef __FreeBSD__ ++#include <sys/socket.h> ++#endif + + /* The one global bool that's global so we can set it via + a signal handler... */