[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I apply a patch Debian style?



The process is the same as always; use the patch utility. It will be a standard util on Debian.

cd to your source directory: i.e. % cd /usr/local/src/gnome-system-monitor-2.8.1-4

cp the diff file to the same directory; i.e.
     % cp  /location/to/diff/file/gnome-system-monitor-2.8.1-4.diff.gz .

gunzip the diff: i.e.
    % gunzip gnome-system-monitor-2.8.1-4.diff.gz

apply the diff:  i.e.
    % patch -p1 < gnome-system-monitor-2.8.1-4.diff

Done.
There are different levels of patching (-p1,-p2 ..) but -p1 is what you will want almost all the time.

Bill



Joost Kraaijeveld wrote:

Hi,

I want to compile stock gnome-system-monitor-2.8.1-2 with a patch
gnome-system-monitor-2.8.1-4.diff.gz applied.

How do I do that? What do I need, more than a compiling
gnome-system-monitor-2.8.1-2 and the
gnome-system-monitor-2.8.1-4.diff.gz?

Is there a Debian way of doing things, so that I end up with a
gnome-system-monitor-2.8.1-4_amd64.deb package that I can install?




Reply to: