* gnu/packages/video.scm (aegisub)[arguments]: Add phase to fix boost headers. --- gnu/packages/video.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index c0f439ea93..fb964f412f 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2877,7 +2877,20 @@ programmers to access a standard API to open and decompress media files.") (add-before 'configure 'fix-ldflags (lambda _ (setenv "LDFLAGS" "-pthread") - #t))))) + #t)) + (add-after 'unpack 'fix-boost-headers + (lambda _ + (for-each + (lambda (f) + (substitute* f + (("#include ") + "#include "))) + (list + "src/subtitles_provider_libass.cpp" + "src/colour_button.cpp" + "src/video_provider_dummy.cpp" + "./src/video_frame.cpp")) + #t))))) (inputs `(("boost" ,boost) ("desktop-file-utils" ,desktop-file-utils) -- 2.20.1