<p><a href="/daily/2025/01/13/patches">Applying patch files</a> is a common way to customise and extend open source software, and how we used to submit changes to Drupal before issue forks and merge requests were added to Drupal.org.</p>
<p>Some software, such as dwm and st from suckless.org are released as minimal versions that you patch to add features to.</p>
<p>If you find a line of code that you want to add, edit or delete, a patch file describes the changes so you can re-apply them whenever the source file changes.</p>
<p>Patching offers unlimited customisation and flexibility.</p>
<p>Whatever changes you want to make, you can.</p>
<p>The downside is you need to maintain any patches you've written.</p>
<p>If a change is made that causes your patch to no longer apply, you'll need to update the patch.</p>
<p>There are some patches I commonly apply to Drupal projects, but I'll try to either contribute the changes back to the Drupal so I no longer need the patch or make the change in a custom module.</p>
<p>Sometimes, though, <a href="/daily/2025/01/14/patching-drupal">patching is the only option</a>.</p>
<p><a href="/daily/2025/01/13/patches">Applying patch files</a> is a common way to customise and extend open source software, and how we used to submit changes to Drupal before issue forks and merge requests were added to Drupal.org.</p>
<p>Some software, such as dwm and st from suckless.org are released as minimal versions that you patch to add features to.</p>
<p>If you find a line of code that you want to add, edit or delete, a patch file describes the changes so you can re-apply them whenever the source file changes.</p>
<p>Patching offers unlimited customisation and flexibility.</p>
<p>Whatever changes you want to make, you can.</p>
<p>The downside is you need to maintain any patches you've written.</p>
<p>If a change is made that causes your patch to no longer apply, you'll need to update the patch.</p>
<p>There are some patches I commonly apply to Drupal projects, but I'll try to either contribute the changes back to the Drupal so I no longer need the patch or make the change in a custom module.</p>