On 31/05/2024 at 14:59, Tom Overlund wrote:

Can you tell me the best way to apply these patches? I tried:

$ apt-get source hw-detect
# apt-get build-dep hw-detect
$ cd hw-detect-1.159/
$ mkdir debian/patches

and copying the three .patch files there, followed by:

$ debuild -b -uc -us

I was hoping that would patch it automatically, but no such luck.

I don't know much about packaging, but comparing with other packages you may need to add the patch names to a file debian/patches/series. Or I guess you could just apply the patches manually with patch -p1 < patch" before building the package.

Reply via email to