Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2005 13:54:33 +0800
From:      Xu Qiang <Qiang.Xu@fujixerox.com>
To:        Ted Mittelstaedt <tedm@toybox.placo.com>, Dan Nelson <dnelson@allantgroup.com>, Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: The availability of socketbits.h?
Message-ID:  <20050518054505.23DFD1D92E@imss.sgp.fujixerox.com>

next in thread | raw e-mail | index | archive | help
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 pleasur=
e 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 new=
line is prefixed with a "+") than this: =


gso_dev_2# diff configure.org configure
5234,5235c5234,5235
<   GGO_SOME_WARNINGS=3D'-Wall -W -Wpointer-arith -Wbad-function-cast -Wcas=
t-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype=
s -Wmissing-declarations -Wp,-lang-c89'
<   GGO_ALL_WARNINGS=3D'-Wall -W -Wshadow -Wpointer-arith -Wbad-function-ca=
st -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-p=
rototypes -Wmissing-declarations -Wp,-lang-c89'
---
>   GGO_SOME_WARNINGS=3D'-Wall -W -Wpointer-arith -Wbad-function-cast -Wcas=
t-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype=
s -Wmissing-declarations -Wp,-std=3Dc89'
>   GGO_ALL_WARNINGS=3D'-Wall -W -Wshadow -Wpointer-arith -Wbad-function-ca=
st -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-p=
rototypes -Wmissing-declarations -Wp,-std=3Dc89'

It is quite unreadable. Actually, all I have done to this file is: =

sed -i -e "s/-lang-c89/-std=3Dc89/g" configure

If you can tell me how to do it in a "-", "+" format, I will post a complet=
e revision to the list. =


thanks, =


Regards,
Xu Qiang




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050518054505.23DFD1D92E>