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

14 lines
376 B
Diff

--- unix/Xvnc/programs/Xserver/hw/vnc/rfb.h.orig 2019-06-04 18:00:21.482107165 +0200
+++ unix/Xvnc/programs/Xserver/hw/vnc/rfb.h 2019-06-04 18:00:37.826303493 +0200
@@ -29,6 +29,10 @@
#ifndef __RFB_H__
#define __RFB_H__
+/* Fix for libressl */
+#ifndef OPENSSL_INIT_SETTINGS
+#define OPENSSL_INIT_SETTINGS void
+#endif
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>