From 6a693f8eacd9abf3ce312426feabbbc6e3c05647 Mon Sep 17 00:00:00 2001 From: Christoph Willing Date: Sat, 23 Mar 2019 16:40:35 +1000 Subject: multimedia/vlc: Patch for latest libssh2 Signed-off-by: Christoph Willing --- multimedia/vlc/patch_ECDSA.diff | 11 +++++++++++ multimedia/vlc/vlc.SlackBuild | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 multimedia/vlc/patch_ECDSA.diff diff --git a/multimedia/vlc/patch_ECDSA.diff b/multimedia/vlc/patch_ECDSA.diff new file mode 100644 index 0000000000..d1ade70e60 --- /dev/null +++ b/multimedia/vlc/patch_ECDSA.diff @@ -0,0 +1,11 @@ +--- modules/access/sftp.c.orig 2018-06-26 05:59:03.000000000 +1000 ++++ modules/access/sftp.c 2019-03-23 16:20:21.647000000 +1000 +@@ -306,7 +306,7 @@ + case LIBSSH2_HOSTKEY_TYPE_DSS: + knownhost_fingerprint_algo = LIBSSH2_KNOWNHOST_KEY_SSHDSS; + break; +-#if LIBSSH2_VERSION_NUM >= 0x010801 ++#if LIBSSH2_VERSION_NUM >= 0x010900 + case LIBSSH2_HOSTKEY_TYPE_ECDSA_256: + knownhost_fingerprint_algo = LIBSSH2_KNOWNHOST_KEY_ECDSA_256; + break; diff --git a/multimedia/vlc/vlc.SlackBuild b/multimedia/vlc/vlc.SlackBuild index 5d662da8b8..865761d00d 100644 --- a/multimedia/vlc/vlc.SlackBuild +++ b/multimedia/vlc/vlc.SlackBuild @@ -29,7 +29,7 @@ PRGNAM=vlc VERSION=${VERSION:-3.0.6} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -83,6 +83,7 @@ cd $PRGNAM-$VERSION patch -p0 < $CWD/patch-projectM-fontpath.diff patch -p0 < $CWD/patch_vlc_cache_gen.diff +patch -p0 < $CWD/patch_ECDSA.diff opencv="" if [ "${OPENCV:-yes}" != "yes" ]; then -- cgit v1.2.3