mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
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
1 changed files with 7 additions and 0 deletions
|
@ -2152,6 +2152,13 @@ (define-public kconfigwidgets
|
|||
(arguments
|
||||
`(#: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
|
||||
(lambda _
|
||||
;; make Qt render "offscreen", required for tests
|
||||
|
|
Loading…
Reference in a new issue