ports/net/libvncserver/files/patch-common_vncauth.c
Marcelo Araujo d1ac66c0b6 - Update to 0.9.12.
- cmake is the new build system.
- portlint clean up.
- lzo2 is now included via shared lib.
- libva removed on version 0.9.11.

Submitted by:	dereks_lifeofadishwasher.com
Differential Revision:	https://reviews.freebsd.org/D18836
2019-01-28 06:51:58 +00:00

22 lines
477 B
C

--- common/vncauth.c.orig 2019-01-06 19:09:30 UTC
+++ common/vncauth.c
@@ -44,6 +44,10 @@
#include <sys/stat.h>
#endif
+#ifdef __FreeBSD__
+#include <fcntl.h>
+#endif
+
#include <time.h>
#ifdef WIN32
@@ -198,6 +202,8 @@ rfbEncryptBytes(unsigned char *bytes, char *passwd)
rfbDes(bytes+i, bytes+i);
}
}
+
+void rfbEncryptBytes2(unsigned char *, const int, unsigned char *);
void
rfbEncryptBytes2(unsigned char *where, const int length, unsigned char *key) {