summaryrefslogtreecommitdiff
path: root/multimedia/vlc
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2019-03-23 16:40:35 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-30 07:18:25 +0700
commit6a693f8eacd9abf3ce312426feabbbc6e3c05647 (patch)
treed079e38e6234922299ce3e3a5fcd768f1814f9f0 /multimedia/vlc
parent5926faed33e880f62b0a04b0fb82fd17c178749c (diff)
downloadslackbuilds-6a693f8eacd9abf3ce312426feabbbc6e3c05647.tar.gz
multimedia/vlc: Patch for latest libssh2
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/patch_ECDSA.diff11
-rw-r--r--multimedia/vlc/vlc.SlackBuild3
2 files changed, 13 insertions, 1 deletions
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