Patching a Debian Package
Categories: [ IT ]
I finally found a tutorial that explains how to patch existing Debian packages. I just did that for wmweather that stopped working after NOAA changed the URL where the METAR data is published.
In a nutshell, and in case the original web page disappears, it goes like that:
apt-get source wmweather cd wmweather-2.4.5 dch --nmu mkdir debian/patches # because it didn't exist quilt new update-url.patch quilt edit src/wmweather.c quilt refresh debuild -us -uc
After that I could simply install the new package that had been created.
[ Posted on August 3rd, 2016 at 22:10 | no comment | permanent link ]