[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: librecad: Fix build against Qt 5.11.
From: |
Clément Lassieur |
Subject: |
01/01: gnu: librecad: Fix build against Qt 5.11. |
Date: |
Tue, 29 May 2018 09:26:54 -0400 (EDT) |
snape pushed a commit to branch master
in repository guix.
commit 6cedd611774f91056c70d8d3a175d514b9b9fc76
Author: Clément Lassieur <address@hidden>
Date: Tue May 29 15:21:07 2018 +0200
gnu: librecad: Fix build against Qt 5.11.
* gnu/packages/engineering.scm (librecad)[arguments]: Add missing headers.
---
gnu/packages/engineering.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index f16ef2c..2583071 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")))