aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-05-28 21:38:05 +0200
committerClément Lassieur <clement@lassieur.org>2018-05-28 22:40:53 +0200
commitc7d901c130cc1d711d152d9f2930488fe6858d07 (patch)
tree08ec6b6fe90aa37c5be0c1608bda9035b20915df /gnu
parenta338b6f51d185cf80d387d3c20a96d89c53d45e7 (diff)
downloadpatches-c7d901c130cc1d711d152d9f2930488fe6858d07.tar
patches-c7d901c130cc1d711d152d9f2930488fe6858d07.tar.gz
gnu: vlc: Fix build against Qt 5.11.
* gnu/packages/video.scm (vlc)[arguments]: Add missing headers.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/video.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 9ed0f4baed..317710c76b 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -886,6 +886,13 @@ audio/video codec library.")
;; XXX Likely not needed for >2.2.6.
(substitute* "modules/gui/qt4/components/interface_widgets.cpp"
(("<qx11info_x11.h>") "<QtX11Extras/qx11info_x11.h>"))
+ ;; Fix build against Qt 5.11.
+ (substitute* "modules/gui/qt4/actions_manager.cpp"
+ (("#include <vlc_keys.h>") "#include <vlc_keys.h>
+#include <QAction>"))
+ (substitute* "modules/gui/qt4/components/simple_preferences.cpp"
+ (("#include <QFont>") "#include <QFont>
+#include <QButtonGroup>"))
#t)))
(add-after 'install 'regenerate-plugin-cache
(lambda* (#:key outputs #:allow-other-keys)