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

18 lines
422 B
Diff
Raw Normal View History

2018-11-19 02:56:14 +01:00
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;