1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Stefan Eßer
0d2bb89b75 math/gh-bc: updat eto version 4.0.1
Always flush output after the excution of print statements.
2021-04-21 16:38:04 +02:00
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Stefan Eßer
634a88402a Update to Version 4.0.0
This version fixes an issue in dc: the P command did not pop the value
being printed from the stack.

The major version bump is due to the addition of Windows compatibility
and does not correspond to a change of functionality on POSIX systems.
2021-04-06 09:47:29 +02:00
Stefan Eßer
c3e6b5848a Update to version 3.3.4
This update adds an implicit flush of the output if read() is called in a
bc script in order to display a prompt without \n in line buffered mode.
2021-03-19 08:27:14 +00:00
Stefan Eßer
6ebae23787 Update to version 3.3.3
This version fixes a potential division be 0 in the extended math library
(in the non-standard function "root") and makes length(0) return 1 to
restore the behavior of the traditional bc in FreeBSD and of GNU bc.
2021-03-05 10:21:00 +00:00
Stefan Eßer
87b3de29e6 Upgrade to version 3.3.0
There is one functional change with regard to -e of -f in BC_ENV_ARGS resp.
DC_ENV_ARGS: these do no longer make the program exit after processing the
commands passed that way (which prevented to use the environment variables
to set parameters for interactive sessions, unless -f- was passed as the
last argument on the command line).
2021-02-18 09:37:23 +00:00
Stefan Eßer
519ea061f3 Update to version 3.2.6 2021-01-31 19:17:09 +00:00
Stefan Eßer
c8d6626c6c Upgrade to version 3.2.4
Test for support of __has_attribute(fallthrough) to allow compilation with
gcc-6 and lower. No functional change.
2020-12-11 19:25:46 +00:00
Stefan Eßer
eac84e728f Update to version 3.2.3
A port patch has been merged into the upstream sources.
2020-11-30 15:44:57 +00:00
Stefan Eßer
58bc9c9abf Upgrade to version 3.2.0
This update fixes an issue in the bessel function
2020-11-26 16:47:28 +00:00
Stefan Eßer
9c89dada66 Update to version 3.1.6
This update fixes one (benign) warning generated when compiling with
LLVM-12.

Differential Revision:	https://reviews.freebsd.org/D26593
2020-10-01 15:36:27 +00:00
Stefan Eßer
aad0442955 Upgrade to version 3.1.5
This version fixes a bug that occurs when running under a chinese locale.

Approved by:	antoine (implicit)
2020-08-05 10:05:16 +00:00
Stefan Eßer
d037e99975 Upgrade to version 3.1.4
This version improves the compatibility with the bc and dc in base under
two aspects:

1) Remove printing of the version and copyright message for interactive
   invocations of bc an dc.

2) Make dc exit after execution of commands passed via -e or -f. To get
   the behavior of version 3.1.3 back, "-f -" can be appended to the
   command line to read from STDIN until EOF.

Approved by:	antoine (implicit)
2020-08-03 18:48:14 +00:00
Stefan Eßer
28b78d7673 Update to verdsion 3.1.3
This version fixes an incompatibility with GNU bc:

The statement:

     if (a > b) 1

was rejected, unless followed by "else 0".

Approved by:	antoine (implicit)
2020-07-10 10:56:57 +00:00
Stefan Eßer
340d6126ae Update to version 3.1.1
Add spanisch message catalog in ISO8859-1 encoding.

Approved by:	antoine (implicit)
2020-07-07 05:38:23 +00:00
Stefan Eßer
54b9e106cf Add es_ES.ISO8859-15 message catalog. 2020-07-06 18:36:35 +00:00
Stefan Eßer
689a6a5718 Update to version 3.1.0
This version improves the compatibility of the -e option with the FreeBSD
version of bc.
2020-07-06 18:31:05 +00:00
Stefan Eßer
5a10ec43b9 Upgrade to version 3.0.1
This version fixes a warning when building with a strict warnings level
and significantly speeds up ceil() library function.

Approved by:	antoine (implicit)
2020-06-20 10:13:31 +00:00
Stefan Eßer
844d18a9bb Update to version 3.0.0
This version contains extensive changes to signal handling and input
processing (history) and many small enhancements.

Approved by:	antoine (implicit)
2020-06-19 05:44:08 +00:00
Stefan Eßer
40275ca4b4 Upgrade to version 2.7.2
Fix calculation of array length.

Approved by:	antoine (implicit)
2020-05-07 06:01:48 +00:00
Stefan Eßer
acf17604b3 Upgrade to version 2.7.1
This version contains small changes to the new NLS files and const qualifiers
to silence the compiler if extra warnings are enabled.

Approved by:	antoine (implicit)
2020-05-04 07:11:57 +00:00
Stefan Eßer
02647d3b40 Update to version 2.7.0
This version fixes a problem that only affected getopt_long() on Linux
(or rather, the GLIBC implementation) by replacing its use by optparse().

In addition, this version features a PRNG that can be used to generate
arbitrary length pseudo-random numbers and 5 new translations (for Dutch,
Japanese, Polish, Russian, and Simplified Chinese).

These translations have been generated and verified with online tools
(https://www.deepl.com/translator and https://translate.google.com)
and might therefore not be fully correct - a review by native speakers
would be appreciated.

Approved by:	antoine (implicit)
2020-05-02 11:10:32 +00:00
Stefan Eßer
1d77c31a37 Update to version 2.6.1
This version fixes a bug that only occured when building on FreeBSD
without long options support. It did not affect the port or package,
since it was always built with long options.

Approved by:	antoine (implicit)
2020-04-11 18:36:20 +00:00
Stefan Eßer
0059c9db4b Update to version 2.6.0
Approved by:	antoine (implicit)
2020-03-11 17:35:12 +00:00
Stefan Eßer
436b7d1ec7 Final attempt to make the Poruguese locales actually work.
Just roll out the loop to create usable catalogue files instead of
trying to have a loop do the right thing ...

Approved by:	antoine (implicit)
2020-01-23 08:41:12 +00:00
Stefan Eßer
ef6c1e5e40 Due to the way the Portuguese ISO-8859-* files were named, they were not
installed on FreeBSD. Therefore provide message catalogues according to
out naming scheme to include these files in the build.

Approved by:	antoine (implicit)
2020-01-23 08:08:27 +00:00
Stefan Eßer
eaf1b31cc4 Update to version 2.5.1
This version introduces Portuguese translations (pt_PT and pt_BR).

Approved by:	antoine (implicit)
2020-01-23 07:41:29 +00:00
Stefan Eßer
dedf444d6b Upgrade to version 2.4.0
This versiom includes enhancements to the bundled dc command.

Approved by:	antoine (implicit)
2019-12-03 10:22:02 +00:00
Stefan Eßer
252ca216a4 Update to version 2.3.1
Approved by:	antoine (implicit)
2019-11-24 18:47:57 +00:00
Stefan Eßer
64c3a642b6 Update to version 2.3.0
Approved by:	antoine (implicit)
2019-11-11 14:33:58 +00:00
Stefan Eßer
1f2f32b075 Upgrade to version 2.1.0.
Approved by:	antoine (implicit)
2019-07-16 10:03:39 +00:00
Stefan Eßer
03d674e30e Upgrade to version 2.0.3.
Approved by:	antoine (implicit)
2019-06-11 11:04:27 +00:00
Stefan Eßer
59fa5b8f16 Another attempt to fix build breakage that does only affect the package
builder and does not occur on my system.

Approved by:	antoine (implicit)
2019-06-07 08:04:17 +00:00
Stefan Eßer
29b5835528 Try to fix a package build error that I cannot reproduce on my system.
Even though "poudriere testport" completed without error, I have received
a failure message from the build cluster. Since I cannot reproduce the
problem, I can only guess that it is caused by a symbolic link in the
share/nls directory that connects nls/C to nls/en_US.US-ASCII.

I had problems with the nls/C directory disappearing due to that link
before (it is deleted as empty when the last catalog file is deleted on
package deinstallation, but then missing when a new file is installed
into en_US.US-ASCII, which is just a symbolic link to C which does not
exist at that time anymore). I think this is a bug in "pkg" and have
opened a PR.

It is possible that the port will still fail to build in the cluster,
but without access to the work directory (or rather the stage directory)
of the build host I can only guess what's exactly going on.

IMHO there should not be any magic conenction between nls/en_US.US-ASCII
and nls/C, since this breaks assumptions made in pkg and in the qa check
performed by poudriere.

Approved by:	antoine (implicit)
2019-06-04 21:25:41 +00:00
Stefan Eßer
00d4954694 Update to version 2.0.2.
Approved by:	antoine (implicit)
2019-06-02 07:22:08 +00:00
Stefan Eßer
27102df8b8 Fix omission of changes in previous commit.
Approved by:	antoine (implicit)
2019-06-02 07:13:07 +00:00
Stefan Eßer
5de1f253c1 Update to version 2.0.0
This version uses an optimized internal representation of the operands which
allows to speed up some operations by a significant factor (multiplication
of large numbers is now about 40 times as fast).

This version has been tested against a number of other bc implementations
and has been found to significantly outperform them all (incl. GNU bc).

There are no functional changes in this version, it is just much faster ...

Approved by:	antoine (implicit)
2019-06-02 07:01:33 +00:00
Stefan Eßer
8cee86f025 Remove requirement for a c11 compiler 2019-05-18 09:51:17 +00:00
Piotr Kubaj
d1cdc52507 math/gh-bc: fix build with GCC-based architectures
Add USES=compiler:c11 to fix build:
./src/num.c:1305: error: expected ';', ',' or ')' before 'n'

Approved by:	mentors (implicit approval)
2019-05-08 08:58:23 +00:00
Stefan Eßer
a5b4208d25 Work around problem with de-installation of this port, which made "pkg"
remove the share/nls/C directory.

Approved by:	antoine (implicit)
2019-04-21 06:09:01 +00:00
Stefan Eßer
534fed28f8 Upgrade to version 1.2.8.
This package exposes a bug (IMHO) in "pkg" which deletes the directory
pointed to by a symbolic link after removing the files within, but is
not able to recreate that directory when a package is installed.

It may be necessary to manually recreate ${LOCALBASE}/share/nls/C after
removal of this package, e.g. during a port upgrade.

This commit is meant to provide a test case for package maintainers
that hopefully will lead to this issue being fixed in "pkg".

Approved by:	antoine (implicit)
2019-04-20 09:41:01 +00:00
Stefan Eßer
a35fc8b984 Update to version 1.2.4.
This version adds message catalogs for French and German locales.

The messages for fr_CA and fr_CH have not been checked by native
speakers and might need some adjustment.

Approved by:	antoine  (implicit)
2019-04-17 07:44:01 +00:00
Stefan Eßer
9079f683b2 Upgrade to version 1.2.3.
Approved by:	antoine (implicit)
2019-04-05 05:32:55 +00:00
Stefan Eßer
6b6755bb39 Upgrade to version 1.1.1.
Approved by:	antoine (implicit)
2019-01-30 20:19:14 +00:00
Stefan Eßer
37522c57d7 Update distinfo after changes to the configure script and documentation
have been applied in the repo under the version tag used for the port.

Approved by:	antoine (implicit)
2019-01-29 21:00:13 +00:00
Stefan Eßer
21b37c42b5 Fix CONFLICTS_INSTALL pattern to really match the math/gnubc port.
I had missed the PKGNAMEPREFIX in the GNU bc port ...

Approved by:    antoine	(implicit)
2019-01-29 19:31:08 +00:00
Stefan Eßer
abaea7ff90 New port of a BSD licensed and GNU compatible bc and dc program.
These programs have been used in a number of other projects over
many years and they are highly portable and heavily tested.

Obtained from:	Gavin Howard <gavin.d.howard@gmail.com>
Approved by:	antoine (mentor)
2019-01-28 21:59:41 +00:00