mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
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
1 changed files with 7 additions and 0 deletions
|
@ -110,6 +110,13 @@ (define-public librecad
|
||||||
(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 a new issue