[Slackbuilds-users] vlc patch to build against libssh-21.8.1

Chris Abela kristofru at gmail.com
Thu Mar 28 08:21:00 UTC 2019


Typo in the title; should read libssh2-1.8.1

On Thu, Mar 28, 2019 at 9:18 AM Chris Abela <kristofru at gmail.com> wrote:

> On my 14.2 systems, vlc does not build:
>
> access/sftp.c:319:42: error: 'LIBSSH2_KNOWNHOST_KEY_ECDSA_521' undeclared
> (first use in this function)
>              knownhost_fingerprint_algo = LIBSSH2_KNOWNHOST_KEY_ECDSA_521;
>
> I found a solution here:
> http://www.linuxfromscratch.org/blfs/view/cvs/multimedia/vlc.html
>
> $ cat patch_sftp.diff
>
> --- modules/access/sftp.c.orig    2019-03-28 08:47:06.471817961 +0100
> +++ modules/access/sftp.c    2019-03-28 08:48:09.146979881 +0100
> @@ -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;
>
> on vlc.SlackBuild
> patch -p0 < $CWD/patch-projectM-fontpath.diff
> patch -p0 < $CWD/patch_vlc_cache_gen.diff
> *patch -p0 < $CWD/patch_sftp.diff*
>
> Now it builds and runs fine here.
>
> Chris
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20190328/3d776804/attachment.html>


More information about the SlackBuilds-users mailing list