multimedia/vlc: Patch for latest libssh2

Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
Christoph Willing 2019-03-23 16:40:35 +10:00 committed by Willy Sudiarto Raharjo
parent 5926faed33
commit 6a693f8eac
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 13 additions and 1 deletions

View file

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

View file

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