[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] How to generate patches
From: |
Eric Blossom |
Subject: |
[Discuss-gnuradio] How to generate patches |
Date: |
Sat, 9 Jul 2005 14:35:37 -0700 |
User-agent: |
Mutt/1.5.6i |
On Sat, Jul 09, 2005 at 03:08:23PM -0500, LRK wrote:
> Soon as I figure out the patches...
Assuming you are building from CVS, and that you have modified the
checked-out code to fix the problem, do this:
$ cvs diff -u > /tmp/my-patch.patch
Then to test it out before sending it in, do a CVS checkout in a new,
empty directory and apply the patch.
# in a new, just checked out directory
$ cd gnuradio-core
$ patch -p0 --dry-run </tmp/my-patch.patch
# this should indicate that the patches could have been applied.
# If it doesn't work, try:
$ patch -p1 --dry-run </tmp/my-patch.patch
When you get one of these working, then actually apply the patch:
$ patch -p0 </tmp/my-patch.patch
Then try to build it and check
$ ../buildit -n
If everything checks out OK, then mail /tmp/my-patch.patch as an
attachment to address@hidden with a bit of a description about
what it does.
Eric