[opensuse-packaging] How to create a .patch file?
Good day! Sorry for asking again (unfortunately this is my very first attempt in patching something), but right now I'm stuck with creating the actual patch file. Somehow just running a diff over the old and new versions of the script doesn't yield anything that seems to be useful for patching, though... I already have done a checkout of Postgrey and also have disassembled the package, but now I'm stuck at generating the actual patch... Thanks for your help in advance. Yours Olaf Martens -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi : The step : - Make a copy of the file to patch cp file file.orig - Modify the file vim/nano/... file - Create the patch with diff diff -u file.orig filetopach > file.patch Regards Le 24/02/2015 11:45, Olaf Martens a écrit :
Good day!
Sorry for asking again (unfortunately this is my very first attempt in patching something), but right now I'm stuck with creating the actual patch file. Somehow just running a diff over the old and new versions of the script doesn't yield anything that seems to be useful for patching, though...
I already have done a checkout of Postgrey and also have disassembled the package, but now I'm stuck at generating the actual patch...
Thanks for your help in advance.
Yours
Olaf Martens
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tuesday 2015-02-24 11:48, Florian Leparoux wrote:
Hi :
The step :
- Make a copy of the file to patch
Or just let the files be managed by a half-SCM: http://users.suse.com/~agruen/quilt.pdf Much less error prone. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Good to know ! Le 24/02/2015 12:14, Jan Engelhardt a écrit :
On Tuesday 2015-02-24 11:48, Florian Leparoux wrote:
Hi :
The step :
- Make a copy of the file to patch Or just let the files be managed by a half-SCM: http://users.suse.com/~agruen/quilt.pdf Much less error prone.
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Good to know !
Le 24/02/2015 12:14, Jan Engelhardt a écrit :
On Tuesday 2015-02-24 11:48, Florian Leparoux wrote:
Hi :
The step :
- Make a copy of the file to patch
Or just let the files be managed by a half-SCM: http://users.suse.com/~agruen/quilt.pdf Much less error prone.
I've used darix's quick and simple quilt guide for many years, distils
On 24 February 2015 at 11:31, Florian Leparoux <florian.leparoux@gmail.com> wrote: the pdf mentioned by Jan to something a simpleton like me can concentrate on :) http://nordisch.org/2009/3/20/quilt-a-really-quick-howto
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Andrew Wafaa
-
Florian Leparoux
-
Jan Engelhardt
-
Olaf Martens