mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
- Update to 0.8.6
This commit is contained in:
parent
414f0aac90
commit
f936a879f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=206337
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gchempaint
|
||||
PORTVERSION= 0.8.5
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.8.6
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}/0.8
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (gchempaint-0.8.5.tar.bz2) = 20fdf77d266747aa76bdc7c88d174875
|
||||
SHA256 (gchempaint-0.8.5.tar.bz2) = a8155e7d79719e5d76e3b6bef2ae8be2c467efc7e36d14e92096284273b6537c
|
||||
SIZE (gchempaint-0.8.5.tar.bz2) = 1389573
|
||||
MD5 (gchempaint-0.8.6.tar.bz2) = 6eb948bc6efbde31d263421903c7a7be
|
||||
SHA256 (gchempaint-0.8.6.tar.bz2) = a3f237c5394338d16183408ad429123386dc7de96d041a28ffa295b0614fbca6
|
||||
SIZE (gchempaint-0.8.6.tar.bz2) = 1391833
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gchemutils
|
||||
PORTVERSION= 0.8.5
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.8.6
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}/0.8
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (gnome-chemistry-utils-0.8.5.tar.bz2) = 595b106ecc707ea1c00da81d1f963a91
|
||||
SHA256 (gnome-chemistry-utils-0.8.5.tar.bz2) = b518bd73f68118593fd10b0f1f4a807fbfd158c48e46cce57d6dc99e8fb00bef
|
||||
SIZE (gnome-chemistry-utils-0.8.5.tar.bz2) = 1530477
|
||||
MD5 (gnome-chemistry-utils-0.8.6.tar.bz2) = 8a1531ee194e43d033084b0dc79703d8
|
||||
SHA256 (gnome-chemistry-utils-0.8.6.tar.bz2) = c350b63d87500416400d60e96ec171a69311bd05ccb936d59ca559592dcb6182
|
||||
SIZE (gnome-chemistry-utils-0.8.6.tar.bz2) = 1530874
|
||||
|
@ -20,12 +20,3 @@
|
||||
using namespace gcu;
|
||||
|
||||
parse_error::parse_error(const string& __arg, int start, int length)
|
||||
@@ -448,7 +461,7 @@
|
||||
atom_weight = Element::GetElement ((*i).first)->GetWeight (atom_prec);
|
||||
if (atom_prec == 0)
|
||||
m_Artificial = true;
|
||||
- delta += pow10 (-atom_prec) * (*i).second;
|
||||
+ delta += pow (10.0, -atom_prec) * (*i).second;
|
||||
m_Weight += atom_weight * (*i).second;
|
||||
}
|
||||
m_WeightPrec = (int) ceil (-log10 (delta) - 1e-5);
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- programs/calc/gchemcalc.cc.orig Sat Feb 25 18:35:50 2006
|
||||
+++ programs/calc/gchemcalc.cc Mon Mar 20 18:22:41 2006
|
||||
@@ -140,7 +140,7 @@
|
||||
} else {
|
||||
if (prec < 0) {
|
||||
// round the value to replace not significant figures by 0s.
|
||||
- double offs = pow10 (prec);
|
||||
+ double offs = pow (10.0, prec);
|
||||
weight = rint (weight * offs) / offs;
|
||||
}
|
||||
format = artificial? g_strdup ("(%.0f)"): g_strdup ("%.0f");
|
Loading…
Reference in New Issue
Block a user