turbovnc: update to 2.2.

This commit is contained in:
maxice8 2018-11-18 23:56:14 -02:00 committed by maxice8
parent 206bd9f3fc
commit 6f69915982
2 changed files with 27 additions and 9 deletions

View File

@ -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;

View File

@ -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 <xtraeme@voidlinux.eu>"
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"