diff --git a/gnu/packages/scribus.scm b/gnu/packages/scribus.scm index 860d346778..ea6418c32a 100644 --- a/gnu/packages/scribus.scm +++ b/gnu/packages/scribus.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 Nicolas Goaziou +;;; Copyright © 2018 Clément Lassieur ;;; ;;; This file is part of GNU Guix. ;;; @@ -84,6 +85,20 @@ '("-DWANT_GRAPHICSMAGICK=1") #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + ;; Fix build against Qt 5.11. + (substitute* "scribus/plugins/tools/lenseffects/lensdialog.cpp" + (("#include ") "#include +#include ")) + (substitute* "scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp" + (("#include ") "#include +#include ")) + (substitute* "scribus/sclistboxpixmap.h" + (("#include ") "#include +#include +#include ")) + #t)) (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) ;; Fix "ImportError: No module named _sysconfigdata_nd" where