[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#34433] [PATCH 1/1] gnu: Fix aegisub.
From: |
Ricardo Wurmus |
Subject: |
[bug#34433] [PATCH 1/1] gnu: Fix aegisub. |
Date: |
Mon, 11 Feb 2019 13:42:44 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Hi Björn,
> * gnu/packages/video.scm (aegisub)[arguments]: Add phase to fix
> boost headers.
Thanks!
> + (add-after 'unpack 'fix-boost-headers
> + (lambda _
> + (for-each
> + (lambda (f)
> + (substitute* f
> + (("#include <boost/gil/gil_all.hpp>")
> + "#include <boost/gil.hpp>")))
> + (list
> + "src/subtitles_provider_libass.cpp"
> + "src/colour_button.cpp"
> + "src/video_provider_dummy.cpp"
> + "./src/video_frame.cpp"))
> + #t)))))
It’s better to give “substitute*” a list of files instead of using
“for-each”.
(lambda _
(substitute* '("src/subtitles_provider_libass.cpp"
"src/colour_button.cpp"
"src/video_provider_dummy.cpp"
"src/video_frame.cpp")
(("#include <boost/gil/gil_all.hpp>")
"#include <boost/gil.hpp>"))
#t)
Okay with these changes.
--
Ricardo