gnu: kconfigwidgets: Make QDirIterator follow symlinks.
Transfer the NixOS patch "qdiriterator-follow-symlinks" for kconfigwidgets as of 2018-02-17. * gnu/packages/kde-frameworks.scm(kconfigwidgets)<patch>: New phase.
This commit is contained in:
parent
be8cb44a9c
commit
daff96de1f
|
@ -2152,6 +2152,13 @@ KCModules can be created with the KConfigWidgets framework.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch
|
||||||
|
(lambda _
|
||||||
|
(substitute* "src/khelpclient.cpp"
|
||||||
|
;; make QDirIterator follow symlinks
|
||||||
|
(("^\\s*(QDirIterator it\\(.*, QDirIterator::Subdirectories)(\\);)" _ a b)
|
||||||
|
(string-append a " | QDirIterator::FollowSymlinks" b)))
|
||||||
|
#t))
|
||||||
(add-before 'check 'check-setup
|
(add-before 'check 'check-setup
|
||||||
(lambda _
|
(lambda _
|
||||||
;; make Qt render "offscreen", required for tests
|
;; make Qt render "offscreen", required for tests
|
||||||
|
|
Loading…
Reference in New Issue