#20325·conan

[question] How to patch a dependency less labouriously?

Author: ArniiiiiCreated Sep 8, 2026Updated Sep 11, 2026
Labelstype: questionanswered

What is your question?

Hi! I have a question regarding process of patching dependencies.

https://github.com/boostorg/process/issues/567

This is the issue I try to resolve.

I thought up a patch.

I would like to test it.

The problem is next: I really really do not like the solution in https://github.com/conan-io/conan/issues/16744 .

I do not want to clone conan-center and put my patch directly into boost's recipe, and afterwards co-maintain the boost's recipe via constantly pulling the conan's original recipe for boost.

I want something like global patching from portage, i.e. when a user puts their patch to /etc/portage/patches/package-category/package-name(-maybe-even-version)/a_patch.patch , rebuilds the package and lives with it.

Is there a similar option in conan?

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide