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

13 lines
377 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 */
+#ifdef LIBRESSL_VERSION_NUMBER
+#define OPENSSL_INIT_SETTINGS void
+#endif
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>