Skip to content

contrib: projectM: Apply a patch to add missing includes of <functional>

Martin Storsjö requested to merge mstorsjo/vlc:projectm-includes into master

This source file in projectM uses std::bind2nd, which is declared in the <functional> header. Previously it relied on this header being included implicitly.

libc++ recently stopped including <functional> transitively in <algorithm> in https://github.com/llvm/llvm-project/commit/a83f4b9cda57c5b3d414ec3bcf9ac891b2ec27e1.

Upstream projectM stopped using std::bind2nd in this file in https://github.com/projectM-visualizer/projectm/commit/10faca9abf4c879a63cdf426ddae338620baf238 - thus not trying to upstream the patch.

Merge request reports

Loading