"nate" <[EMAIL PROTECTED]> writes: >> I have downloaded the source file of an application (apt-get source appl). >> Along with the .tar.gz file, I got and diff.gz file which I don't know how >> to apply it to the .tar.gz file (after the extract of cource). > > last i checked apt-get source automatically extracted and patched > the source with the diff, you can see if this is the case by checking > to see if there is a debian/ directory within the extracted source tree > of the app you apt-get source'd. > > in any case, the usual command to use with a diff is patch, be sure > to decompress it first(gzip -d or gunzip)
...or, for completeness, if you have a .orig.tar.gz, a .diff.gz, and a .dsc file all for the same package, you can use 'dpkg-source -x foo_1.0-1.dsc' to unpack the original source and apply the Debian diff. -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]