gnu: inkscape: Fix FTBFS with GCC >= 6.

* gnu/packages/inkscape.scm (inkscape)[arguments]: Add phase
'dont-use-system-includes.
master
Marius Bakke 2018-10-07 18:54:59 +02:00
parent b6c2805c0b
commit 0bba8a5cf8
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 7 additions and 0 deletions

View File

@ -86,6 +86,13 @@
(lambda _
(substitute* "share/icons/application/CMakeLists.txt"
(("gtk-update-icon-cache") "true"))
#t))
(add-before 'configure 'dont-use-system-includes
(lambda _
;; Don't add redundant -isystem includes which confuses GCC7.
(substitute* "CMakeScripts/DefineDependsandFlags.cmake"
(("include_directories\\(SYSTEM")
"include_directories("))
#t)))))
(home-page "https://inkscape.org/")
(synopsis "Vector graphics editor")