Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 18:00:54 +0930
From:      MFM <rrghphar@bigpond.net.au>
To:        freebsd-ports@freebsd.org
Subject:   [patch] devel/doc++ (3.4.10)
Message-ID:  <43350EBE.4020609@bigpond.net.au>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050408000003080306030101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

To whom it may concern,

as part of my interest in OSG, I have found that the OSG developers have 
chosen to use an obscure documentation tool vaguely (but not quite) like 
doxygen, called doc++.

This tool appears in the BSD ports system as devel/doc++, but 
development of doc++ seems to have stopped, and the port is marked as 
broken.

Attached is a patchfile to clean up the building of doc++, tested on 
i386 5.4-RELEASE.



In summary, I have made the following changes:

(1) remove src/getopt.h and src/getopt*.c - these appeared to be an 
early copy of the GNU getopt routines, and are call-compatible with the 
getopt now provided with 5.4-RELEASE;

(2) modify C++ header inclusions to remove .h from standard headers such 
as iostream and fstream, and also add appropriate namespace qualifiers 
where needed by the compiler;



I am not sure of the precise format required here - I have generated the 
.patch file such that "patch -E <doc++-3.4.10.patch" in the parent of a 
clean doc++-3.4.10 directory applies the changes correctly on my system.

In other words, place the file such that "doc++-3.4.10/" and 
"doc++-3.4.10.patch" are in the same directory, cd to that directory and 
the command above should work.  If you need the patches generated in a 
different format/layout, I would be happy to do so.

Regards,
Matthew May

--------------050408000003080306030101--



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