diff options
author | Clément Lassieur <clement@lassieur.org> | 2018-05-29 15:21:07 +0200 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2018-05-29 15:25:23 +0200 |
commit | 6cedd611774f91056c70d8d3a175d514b9b9fc76 (patch) | |
tree | 907db8164adda3f069590cacd640c42818a693d1 /gnu/packages/engineering.scm | |
parent | 0d56d9c714dc986fd049e07d8ad423d1e944771f (diff) | |
download | guix-6cedd611774f91056c70d8d3a175d514b9b9fc76.tar guix-6cedd611774f91056c70d8d3a175d514b9b9fc76.tar.gz |
gnu: librecad: Fix build against Qt 5.11.
* gnu/packages/engineering.scm (librecad)[arguments]: Add missing headers.
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r-- | gnu/packages/engineering.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index f16ef2cebd..25830710f7 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -110,6 +110,13 @@ (string-append "#include <boost/serialization/array_wrapper.hpp>\n" line))) #t)) + ;; Fix build against Qt 5.11. + (add-after 'unpack 'add-missing-headers + (lambda _ + (substitute* "librecad/src/ui/generic/widgetcreator.cpp" + (("#include <QPushButton>") "#include <QPushButton> +#include <QActionGroup>")) + #t)) (add-after 'unpack 'patch-paths (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) |