public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] patch file ?
@ 2001-08-26 10:40 Parag Mehta
  2001-08-26 16:30 ` Mikael Hallendal
  0 siblings, 1 reply; 2+ messages in thread
From: Parag Mehta @ 2001-08-26 10:40 UTC (permalink / raw
  To: gentoo-dev

Hi ALl,

How does one create a patch or diff file ?
i hv an ebuild for a pkg where in i need to change some files after unpack the pkg src.

thanx in advance.

Best Regards,

pm
--
Developer		 <pm@gentoo.org>
Gentoo Linux		http://gentoo.org



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] patch file ?
  2001-08-26 10:40 [gentoo-dev] patch file ? Parag Mehta
@ 2001-08-26 16:30 ` Mikael Hallendal
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Hallendal @ 2001-08-26 16:30 UTC (permalink / raw
  To: gentoo-dev

Den 26 Aug 2001 10:39:19 -0600 skrev Parag Mehta:
> 
> Hi ALl,
> 
> How does one create a patch or diff file ?
> i hv an ebuild for a pkg where in i need to change some files after unpack the pkg src.
> 
> thanx in advance.

Hi!

If you have to change many files it's best to make two copies of the
source and name them like:

directory.orig
directory

make your changes in directory and then put yourself in the directory
containing both directories and typ

diff -u directory.orig directory > my_file.patch

Regards,
  Mikael Hallendal

-- 

Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
CodeFactory AB, Stockholm, Sweden





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-26 22:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-26 10:40 [gentoo-dev] patch file ? Parag Mehta
2001-08-26 16:30 ` Mikael Hallendal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox