Shaul Karl <[EMAIL PROTECTED]> writes: > I have just applied a debian .diff.gz to a newer upstream tar ball. > Although the patch succeeded, any comments or pointers for discussion > about this process would be appreciated. I do believe that my case was > easy because the newer upstream tar ball was only slightly different > from Debian's (old) .orig.tar.gz. > Anyway, what I did was: > > 1. gunzip -c nut_1.2.1-2.diff.gz > nut_1.2.1-2.diff > 2. tar -xzf nut-1.2.2-pre2.tar.gz > 3. (cd nut-1.2.2; ./configure) > 3. patch --verbose -p1 -d nut-1.2.2 < nut_1.2.1-2.diff
I'd instead do 1. tar xzf nut-1.2.2-pre2.tar.gz 2. zcat nut_1.2.1-2.diff.gz | patch -p1 -d nut-1.2.2 3. cd nut-1.2.2; dch -v 1.2.2.0pre2-0.1; debuild with the devscripts package installed; that is, take the patch, apply it to the updated source tree, change the package version number, and build. Besides this, if the patch applies, you're probably doing pretty well for building an unofficial updated package. (I guess the important thing is that I'm applying the patch to the unconfigured package; it *shouldn't* make a difference, but you never know...) -- 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]