Ben Laurie wrote:
>
[..]
>
> That's "diff -u old new" or "diff -U3 old new" (which are the same,
> anyway, aren't they?).
>
Or, more verbose (please correct me if I'm wrong):
- extract a clean source tree, say in /usr/src/openssl-orig
and have your modified source tree in /usr/src/openssl-work
# cd /usr/src
# cd openssl-work
# ./configure dist
# make clean
# cd ..
# diff -ur openssl-orig openssl-new > mydiffs.patch
Then patching the clean source would be done by
# cd openssl-orig
# patch -p1 < ../mydiffs.patch
In case new files in the modified source tree should be
included, use -N together with -ur on the diff command.
--
Niels Poppe - org.net bv <[EMAIL PROTECTED]>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]