gnu: librecad: Fix build against Qt 5.11.
* gnu/packages/engineering.scm (librecad)[arguments]: Add missing headers.
This commit is contained in:
parent
0d56d9c714
commit
6cedd61177
|
@ -110,6 +110,13 @@
|
||||||
(string-append "#include <boost/serialization/array_wrapper.hpp>\n"
|
(string-append "#include <boost/serialization/array_wrapper.hpp>\n"
|
||||||
line)))
|
line)))
|
||||||
#t))
|
#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
|
(add-after 'unpack 'patch-paths
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
|
Loading…
Reference in New Issue