Date: Wed, 18 May 2005 12:32:18 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Xu Qiang <Qiang.Xu@fujixerox.com> Cc: freebsd-questions@freebsd.org Subject: Re: The availability of socketbits.h? Message-ID: <20050518093218.GB3537@orion.daedalusnetworks.priv> In-Reply-To: <20050518054505.23DFD1D92E@imss.sgp.fujixerox.com> References: <20050518054505.23DFD1D92E@imss.sgp.fujixerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-05-18 13:54, Xu Qiang <Qiang.Xu@fujixerox.com> wrote: >Ted Mittelstaedt wrote: >> Would you post a diff of the files you had to change to the list once >> you get it running? > > If you follow this thread, it would be quite easy. Anyway, it is my > pleasure to do a summary here. But I don't know how to put the diff > result into a more readable format (like the old line is prefixed with > a "-", and the newline is prefixed with a "+") than this: 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 > If you can tell me how to do it in a "-", "+" format, I will post a > complete revision to the list. See above :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050518093218.GB3537>