On Jul 20, 2005, at 10:53 PM, Darren J Moffat wrote:
On Wed, 2005-07-20 at 13:45, Jasse Jansson wrote:
On Jul 20, 2005, at 10:26 PM, UNIX admin wrote:
1. you patch the source code if necessary
Is there a 'recommended' format for patches in the Solaris
environment?
patches to what ?
I deleted too much of the mail I was quoting. Sorry about that.
The discussion was about ported software, and my question
was about creating and applying patches to source code.
If you are talking about Solaris the binary product then patches are
special types of SVR4 packages.
I've always suspected that ;o)
If you are talking about source code then yes what you wrote about
diff and patch is what is normally done just like on other systems
that have diff and patch.
Thanks for confirming that, now I know for sure ;o)
Is this the correct commands to create a patch:
Depends, what the patch is intended for. Is this for creating
a patch to send to a sponsor for a bug fix ? If so yes, if not
what are you trying to achieve ?
diff -u old_file new_file
and to apply the patch:
patch -i patch_file file_to_be_patched
or is there some other tricks that I should be aware of?
Why do you think there are other tricks ? Did something not
work like you expected it too ?
I have not poked around in Solaris especially much, so I just
wanted to know the current 'custom' for doing it.
J^2
I believe humans always sucked.
They just suck in different ways now.
-- www.go-girly.com
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org