Sean Boudreau(deleted)
|
Re: How does this work again?
|
Sean Boudreau(deleted)
09/27/2007 12:36 PM
post1651
|
Re: How does this work again?
On Thu, Sep 27, 2007 at 12:29:39PM -0400, Rick Duff wrote:
> Ok, I have the general concept of how this system works, but the devil
> as they say is in the details..
>
> As you are aware, I am playing with the samba package. So far, I have
> found a couple things that need to be fixed. The first is some edits to
> one of the include files (which is part of the downloaded package). I
> assume I have to put my edits somewhere so they will get properly
> patched into the downloaded source. Is there a trick to this, or a
> tool, or a ... whatever?
>
> The other change was the whole strptime() thing. I edited the base
> Makefile to include a post patch target for ${OPSYS} == "QNX" which
> copies the file. I assume I will also have to do the above patching
> process to fix the Makefile in the lib directory.
>
> So the bottom line is how to I create the necessary files and where do I
> put them to create the patches?
>
> Thanks,
> Rick..
I'm by no means an expert on this but here's what I do:
- install the pkgtools/pkgdiff package
- When I edit a file, I use pkgvi which automatically backs
up the old:
# cd mail/sendmail
# pkgvi work/sendmail-8.14.1/devtools/OS/QNX.6.x
- create patches
# mkpatches
- see if I'm happy with them
# patchdiff
- copy them over
# cp work/.newpatches/patch-xx patches
- remake the digest
# bmake mdi
- verify the whole thing
# bmake clean && bmake
Hope that helps.
-seanb
|
|
|