From 10384f880a9810baafc970d3bbef693d43480c4c Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Fri, 22 Mar 2019 17:00:20 -0400 Subject: [PATCH] gnu: VLC: Fix build with libssh2 > 1.8.0. * gnu/packages/video.scm (vlc)[arguments]: Adjust the faulty libssh2 feature detection macro. --- gnu/packages/video.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index dc277de518..838bb036eb 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1139,6 +1139,12 @@ videoformats depend on the configuration flags of ffmpeg.") (substitute* "modules/gui/qt/components/simple_preferences.cpp" (("#include ") "#include #include ")) + + ;; Fix build with libssh2 > 1.8.0: + ;; + ;; + (substitute* "modules/access/sftp.c" + (("010801") "010900")) #t))) (add-after 'strip 'regenerate-plugin-cache (lambda* (#:key outputs #:allow-other-keys)