summary refs log tree commit diff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2019-03-22 17:00:20 -0400
committerLeo Famulari <leo@famulari.name>2019-03-22 18:16:42 -0400
commit10384f880a9810baafc970d3bbef693d43480c4c (patch)
tree74728b0c6258ce8df053930a5e05837946c40972 /gnu/packages/video.scm
parent1b17c23ebcabba7264ed2447971fb6409b5cd41a (diff)
downloadguix-10384f880a9810baafc970d3bbef693d43480c4c.tar.gz
gnu: VLC: Fix build with libssh2 > 1.8.0.
* gnu/packages/video.scm (vlc)[arguments]: Adjust the faulty libssh2 feature
detection macro.
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm6
1 files changed, 6 insertions, 0 deletions
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 <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)