void-packages/srcpkgs/turbovnc/patches/fix-libressl.patch

18 lines
422 B
Diff

diff --git a/unix/Xvnc/programs/Xserver/hw/vnc/rfb.h b/unix/Xvnc/programs/Xserver/hw/vnc/rfb.h
index 9b82d2f..8c35061 100644
--- unix/Xvnc/programs/Xserver/hw/vnc/rfb.h
+++ unix/Xvnc/programs/Xserver/hw/vnc/rfb.h
@@ -81,6 +81,11 @@
the CPU count */
#define MAX_ENCODING_THREADS 8
+/* Fix for libressl */
+#ifndef OPENSSL_INIT_SETTINGS
+#define OPENSSL_INIT_SETTINGS void
+#endif
+
extern const char *display;