diff --git a/srcpkgs/turbovnc/patches/fix-libressl.patch b/srcpkgs/turbovnc/patches/fix-libressl.patch new file mode 100644 index 0000000000..bdfc3094c2 --- /dev/null +++ b/srcpkgs/turbovnc/patches/fix-libressl.patch @@ -0,0 +1,17 @@ +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; + + + diff --git a/srcpkgs/turbovnc/template b/srcpkgs/turbovnc/template index 4464272a26..4961198bed 100644 --- a/srcpkgs/turbovnc/template +++ b/srcpkgs/turbovnc/template @@ -1,21 +1,22 @@ # Template file for 'turbovnc' pkgname=turbovnc -version=2.1.2 -revision=2 +version=2.2 +revision=1 build_style=cmake -configure_args="-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so -DTVNC_CONFDIR=/etc - -DTVNC_MANDIR=/usr/share/man -DTVNC_DOCDIR=/usr/share/doc/${pkgname} -DTVNC_BUILDJAVA=0" +configure_args="-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so -DTVNC_BUILDJAVA=0 + -DTVNC_SYSTEMLIBS=ON" hostmakedepends="rsync" -makedepends="libjpeg-turbo-devel libXt-devel libXaw-devel libXcursor-devel pam-devel" +makedepends="libjpeg-turbo-devel libXt-devel libXaw-devel libXcursor-devel pam-devel + zlib-devel freetype-devel bzip2-devel libressl-devel" depends="perl" short_desc="An optimized version of TightVNC - a VNC client" -conf_files="/etc/turbovncserver.conf /etc/turbovncserver-security.conf" maintainer="Juan RP " -license="GPL-2" +license="GPL-2.0-or-later" homepage="http://virtualgl.org" -distfiles="${SOURCEFORGE_SITE}/turbovnc/$pkgname-$version.tar.gz" -checksum=2389f76eafc48412b980a61280ffb8d111dacd9e51d5e3df2112f505558b48d4 +distfiles="${SOURCEFORGE_SITE}/turbovnc/${pkgname}-${version}.tar.gz" +checksum=da90eb2abf6412d3331af0f1a76b857194baabcf080dcd0b5dd4e040fed9addb +conf_files="/etc/turbovncserver.conf /etc/turbovncserver-security.conf" only_for_archs="i686 i686-musl x86_64 x86_64-musl" conflicts="tigervnc>=0"