Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have submitted a patch for a GPL'd project and now a third-party wants to include this patch in a product. They have asked me what license my patch uses.

Does my patch have to adopt the GPL license? Or I can choose an alternative one?

share|improve this question
If you are the author of the patch, then you can give it any license you want unless it also contains code from the GPL'd project. Due to the nature of a patch, I doubt that it's much use without the base against which to patch. – Joachim Sauer Dec 7 '12 at 12:49
up vote 5 down vote accepted

If you are using the original code base for which the patch was built in ANY way, you must use the GPL license.

If your patch is fully independent (which patch that is fully independent is not really a "patch") and can stand on its own two feet, then use whatever licensing you want.

This may help clarify

share|improve this answer
+1 for a very concise and useful answer. – miraculixx Dec 7 '12 at 14:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.