Hello, My first port, and I think I have followed all the porting guidelines.
http://www.obscure.org/~amunix/tmp/wcalc.tar.gz (and also attached) pkg/DESCR: wcalc is a powerful arbitrary-precision calculator. It has standard functions (sin, asinh, logtwo, floor, etc), many pre-defined constants (pi, e, c, etc.), variables, "active" variables, command history, and hex/octal/binary i/o, conversions, and more. Though there exists a math/calc, I decided to port this to gain experience porting to OpenBSD. I maintain this port on FreeBSD, and hence it was a natural choice. As indicated in the porting guidelines, I did an audit of the source, and indicated a few issues upstream. The patches are a result of this, and they have been committed upstream already. Tested only on an i386, since I don't have any other box. I'd appreciate feedback, and improvements that can be made, so that I can be better next time on. Thanks in advance. -Amarendra
wcalc.tar.gz
Description: GNU Zip compressed data