mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48: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"
|
||||
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")))
|
||||
|
|
Loading…
Reference in a new issue