From 6cedd611774f91056c70d8d3a175d514b9b9fc76 Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Tue, 29 May 2018 15:21:07 +0200 Subject: 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(+) (limited to 'gnu/packages') 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 \n" line))) #t)) + ;; Fix build against Qt 5.11. + (add-after 'unpack 'add-missing-headers + (lambda _ + (substitute* "librecad/src/ui/generic/widgetcreator.cpp" + (("#include ") "#include +#include ")) + #t)) (add-after 'unpack 'patch-paths (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) -- cgit v1.2.3