Commit graph

10 commits

Author SHA1 Message Date
dholland
6d31fbdd1d Fix fpos_t configure test, allowing this to build on netbsd-6.
PR 46412.

XXX: I'm not convinced the results will actually *work*. If anyone
XXX: knows how to check this, please do.
2012-05-07 19:57:17 +00:00
drochner
584fd2cca4 update to 2.12.3.0 (most recent stable release)
changes:
-build system improvements
-Fixed bug where a FILEPOS was copied FPOS_POS_BITS octets instead of
 FPOS_POS_LEN octets.
-documentation improvements
2008-05-05 18:54:05 +00:00
drochner
6f38a01a1e update to 2.12.2
This is a major release. Significant changes include:
* calc may be built with static or dynamic shared libraries
* overhauled Makefiles to use system targets
  - replaced compiler sets with host targets
  - targets include: linux, OS X, FreeBSD, simple, default
  - many changes to Makefile variables
* calc source static and extern variables declared with CPP symbols
  - to make it easier to compile under certain Windoz environments
  - to assist those who are developing a multi-threaded calc lib
* calc library makes it easier to control parse and scan messages
* added Makefile.simple for hosts without GNU Make
* added custom registers
  - when calc is run with the -C flag
* dropped support of md5 and sha-0 hashes
* calc supports real and complex exponentiation bases and exponents
  - i.e., 2.5 ^ 3.5, 0.5i ^ 0.25, 2.5 ^ 2.718i, 3.13145i ^ 0.30103i

added TEST_TARGET
2007-09-18 19:40:19 +00:00
joerg
43f6a6ba80 Just use stdlib.h instead of malloc.h or defining them by hand. 2007-08-01 20:51:45 +00:00
drochner
95d5d5ed2f update to 2.12.0.6
too many changes and additions to list here, see the CHANGELOG file
2006-07-04 16:19:28 +00:00
jschauma
78f1dc8bf9 This package already depends on ncurses, so let's just use the ncurses
library instead of termcap, which allows compilation under Linux (or other
OS that don't have libtermcap in the base system).
2004-06-02 21:08:33 +00:00
wiz
526430a3ad Update to 2.11.9.2:
Fixed calc man page examples to move -f to the end of the line.
    Thanks goes to Michael Somos <somos at grail dot cba dot csuohio
    dot edu> for pointing this out.

    Linux and gcc now compiled with -Wall -W -Wno-comment.

    Fixed a post increment that was reported by R. Trinler <trinler at
    web dot de> and fixed by Ernest Bowen <ernie at turing dot une dot
    edu dot au>.

    Fixed pi.cal to not depend on the buggy pre-2.11.9 post increment
    behavior.

    Added config("cygwin") to determine if calc was compiled under Cygwin.
    The config("cygwin") is a read-only configuration value that is 1
    when calc was compiled under Cygwin and 0 otherwise.  Regression
    tests 949 and 950 are skipped when config("cygwin") is true.

    The Makefile variable HAVE_NO_IMPLICIT is empty by default so that
    the Makefile will test if the compiler has a -Wno-implicit flag.

    Added HAVE_UNUSED Makefile variable.  If HAVE_UNUSED is empty,
    then the Makefile will run the have_unused program to determine
    if the unused attribute is supported.  If HAVE_UNUSED is set to
    -DHAVE_NO_UNUSED, then the unused attribute will not be used.

    The Makefile builds have_unused.h which defines, if the unused
    attribute is supported:

	#define HAVE_UNUSED /* yes */
	#define UNUSED __attribute__((unused)) /* yes */

    or defines, if the unused is not supported (or if the Makefile
    variable is HAVE_UNUSED= -DHAVE_NO_UNUSED):

	#undef HAVE_UNUSED /* no */
	#define UNUSED /* no */

    Fixed numerous warnings about comparison between signed and unsigned
    value warnings and unused parameter warnings in version.c, zrand.c,
    string.c, shs1.c, shs.c, qtrans.c, qmath.c, qfunc.c, md5.c, matfunc.c,
    hist.c, file.c, const.c, blkcpy.c, seed.c, opcodes.c, func.c, qio.c,
    zrandom.c, custom/c_argv.c, custom/c_devnull.c, custom/c_help.c,
    custom/c_sysinfo.c, addop.c and calc.c.

    Fixed some typos in this file.

    By default, compile with -O3 -g3.  The Makefile comments on how some
    distributions might need to use -O2 -g or -O -g.
2004-03-10 18:17:11 +00:00
wiz
2d56312387 Update to 2.11.6.
News:
base2(), powerterm, lavarand -> LavaRnd, fproduct, and lots of bug fixes.
2003-01-03 20:35:29 +00:00
jlam
345f7a105a Use devel/readline/Makefile.readline to handle using libedit readline
emulation or depending on the readline package.
2001-05-16 20:28:40 +00:00
wiz
4eff26eac9 Initial import of calc (renamed to capc-calc because of existing calc
package): C arbitrary precision calculator
Requested by Chuck Cranor.
2001-02-08 10:25:54 +00:00