Date: Tue, 19 Jun 2007 22:06:14 -0400 From: John Merryweather Cooper <john_m_cooper@yahoo.com> To: freebsd-ports@freebsd.org Subject: Re: Generating patch files Message-ID: <46788B96.5060406@yahoo.com> In-Reply-To: <E1I0o0k-0005n1-Sk@a-traxx.reactor.local> References: <E1I0o0k-0005n1-Sk@a-traxx.reactor.local>
next in thread | previous in thread | raw e-mail | index | archive | help
Steffen Beyer wrote: > Hi, > > I just started creating my first port for a program names qtpfsgui. > > Currently, there are several files to patch. Usually I would run "diff > -r" to create one large patch, but the build system -- and the rules ,) > -- expect a separate diff for each file to be patched. > > Is there an easy way to create this set of files, i.e. cutting the patch > into pieces and naming the files accordingly? I looked through the > handbook and various tools, but couldn't find the right one. > > Or did I miss the point here? > > Regards, textproc/makepatch port will automate the generation of diff files. # makepatch -diff="diff -ruN" -nomanifest old-dir new-dir will do the majority of your work. jmc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46788B96.5060406>