The Utah Raster Toolkit is a classic (like in old) application. The BRLCAD people include URT in their package and Lee Butler has made some cleanups in order to improve the build on IRIX. I have taken his patches and have done a few more cleanups. For now this is just a cleanup: it make it easier for me to follow the BRLCAD changes, in other words, there's no need to bump the port version yet.
Fix: Patch follows:
How-To-Repeat: I should mention..I have patches to build support for the BRLCAD framebuffer but I prefer to wait until BRCAD can be built without OpenGL.
[Cc'ed freebsd-ports, further discussion should happen there]
Hello Pedro, others,
IMHO these kinds of patches do not belong into the ports collection in
the first place. While they are correct, and reduce the number of
compiler warnings and improve the general quality of the code, they are
not necessary to make the software run on FreeBSD.
Is there any chance to have those changes integrated upstream, i.e. by
the authors of URT?
If that's not the case (because the software is abandoned), or the do
not plan a new release within a reasonable timeframe, I'd prefer to have
those patches bundled in one file, say patch-FIX-WARNINGS, so that our
repository is not clobbered with a dozend of small, non-FreeBSD specific
So, to sum this up: I really appreciate your work very much, but IMO the
ports collection is not the best place to store your patches.
Perhaps someone else from the ports@ list can share her/his opinion with
Patches committed, thank you very much for your submission!