Apply patches to packages on apt-based systems