The availability of socketbits.h?

Xu Qiang Qiang.Xu at fujixerox.com
Wed May 18 02:46:02 PDT 2005


Giorgos Keramidas wrote:
> That should be easy.  You'll need two directory hierarchies:
> 
>   * One with the unchanged, "vendor" version of the code, i.e. an
>     extracted copy of the tarballs you got from sourceforge.
> 
>   * One with the fixed version that builds and runs fine on your
> system. 
> 
> Assuming that you have the tarballs of mlrate-1.1.0 and nngs-1.1.14
> that you got from sourceforge under /tmp/nngs/vendor/mlrate-1.1.0 and
> /tmp/nngs/vendor/nngs-1.1.14 respectively, you can copy these
> directories recursively to /tmp/nngs/local:
> 
> 	# mkdir -p /tmp/nngs/local
> 	# cd /tmp/nngs/vendor
> 	# cp -Rp mlrate-1.10 nngs-1.1.14 /tmp/nngs/local
> 
> Then you can make all the changes you need to /tmp/nngs/local and see
> all the changes of mlrate or nngs in one patchfile with:
> 
> 	# cd /tmp/nngs
> 	# diff -ruN vendor/mlrate* local/mlrate* > /tmp/nngs/mlrate.patch
> 	# less /tmp/nngs/mlrate.patch
> 
> 	# cd /tmp/nngs
> 	# diff -ruN vendor/nngs* local/nngs* > /tmp/nngs/nngs.patch
> 	# less /tmp/nngs/nngs.patch

Thanks for the direction. I will try to do a summary of changes needed into a number of .patch files. 

Regards,
Xu Qiang




More information about the freebsd-questions mailing list