为 boost 安装应用补丁

Apply patch for boost installation

我已经安装了 Boost 库 ver 1.72 successfully (on Debian 10), but now realized there is a known issue (that i have already faced) and there is a patch

搜索了很多但没有找到关于如何 apply/install/build 这个补丁的指南。我必须重建整个库吗?如何打补丁?

在patch中可以看到它适用的路径: boost/coroutine/asymmetric_coroutine.hpp

从包含您想要的 boost 目录(路径开始的地方)的目录 运行:

patch -p1 < /path/to/file.patch

然后重建库。