gnu: VLC: Fix build with libssh2 > 1.8.0.

* gnu/packages/video.scm (vlc)[arguments]: Adjust the faulty libssh2 feature
detection macro.
master
Leo Famulari 2019-03-22 17:00:20 -04:00
parent 1b17c23ebc
commit 10384f880a
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 6 additions and 0 deletions

View File

@ -1139,6 +1139,12 @@ videoformats depend on the configuration flags of ffmpeg.")
(substitute* "modules/gui/qt/components/simple_preferences.cpp"
(("#include <QFont>") "#include <QFont>
#include <QButtonGroup>"))
;; Fix build with libssh2 > 1.8.0:
;; <https://trac.videolan.org/vlc/ticket/22060>
;; <https://git.videolan.org/?p=vlc.git;a=commit;h=11449b5cd8b415768e010d9b7c1d6ba3cea21f82>
(substitute* "modules/access/sftp.c"
(("010801") "010900"))
#t)))
(add-after 'strip 'regenerate-plugin-cache
(lambda* (#:key outputs #:allow-other-keys)