From d8d5493b6ecc705769c31503b04de27974057d27 Mon Sep 17 00:00:00 2001 From: pav Date: Mon, 9 Apr 2007 22:25:25 +0000 Subject: - Update to 0.6.5 --- science/gchemutils/Makefile | 5 ++--- science/gchemutils/distinfo | 6 +++--- science/gchemutils/files/patch-gcu-formula.cc | 2 +- science/gchemutils/files/patch-programs-gchemcalc.cc | 2 +- science/gchemutils/pkg-plist | 1 - 5 files changed, 7 insertions(+), 9 deletions(-) (limited to 'science') diff --git a/science/gchemutils/Makefile b/science/gchemutils/Makefile index 5c9fa51..9947cf7c 100644 --- a/science/gchemutils/Makefile +++ b/science/gchemutils/Makefile @@ -5,11 +5,10 @@ # $FreeBSD$ PORTNAME= gchemutils -PORTVERSION= 0.6.3 -PORTREVISION= 2 +PORTVERSION= 0.6.5 CATEGORIES= science MASTER_SITES= ${MASTER_SITE_SAVANNAH} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITE_SUBDIR= ${PORTNAME}/0.6 DISTNAME= gnome-chemistry-utils-${PORTVERSION} MAINTAINER= pav@FreeBSD.org diff --git a/science/gchemutils/distinfo b/science/gchemutils/distinfo index 9230dad..b5daecf 100644 --- a/science/gchemutils/distinfo +++ b/science/gchemutils/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome-chemistry-utils-0.6.3.tar.bz2) = ca1b68116b21ad36a04a5a0fdcfb85df -SHA256 (gnome-chemistry-utils-0.6.3.tar.bz2) = ab26e418e77d55c8b3cd8e616d1760217f19c4f1cb6196d3d3fc878ead1f2bcb -SIZE (gnome-chemistry-utils-0.6.3.tar.bz2) = 629886 +MD5 (gnome-chemistry-utils-0.6.5.tar.bz2) = 493dbb6aea0d3664e7b203337fafe056 +SHA256 (gnome-chemistry-utils-0.6.5.tar.bz2) = 9acbde537adaf36df884c9ad0124430a4835ba8a9149bf6523e3e5a3f2a3def2 +SIZE (gnome-chemistry-utils-0.6.5.tar.bz2) = 636043 diff --git a/science/gchemutils/files/patch-gcu-formula.cc b/science/gchemutils/files/patch-gcu-formula.cc index 2b301b6..dc3bde3 100644 --- a/science/gchemutils/files/patch-gcu-formula.cc +++ b/science/gchemutils/files/patch-gcu-formula.cc @@ -25,7 +25,7 @@ if (atom_prec == 0) m_Artificial = true; - delta += pow10 (-atom_prec) * (*i).second; -+ delta += pow (10, -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); diff --git a/science/gchemutils/files/patch-programs-gchemcalc.cc b/science/gchemutils/files/patch-programs-gchemcalc.cc index 01cabcc..f9adee8 100644 --- a/science/gchemutils/files/patch-programs-gchemcalc.cc +++ b/science/gchemutils/files/patch-programs-gchemcalc.cc @@ -5,7 +5,7 @@ if (prec < 0) { // round the value to replace not significant figures by 0s. - double offs = pow10 (prec); -+ double offs = pow (10, prec); ++ double offs = pow (10.0, prec); weight = rint (weight * offs) / offs; } format = artificial? g_strdup ("(%.0f)"): g_strdup ("%.0f"); diff --git a/science/gchemutils/pkg-plist b/science/gchemutils/pkg-plist index 984a9d3..aa80b0a 100644 --- a/science/gchemutils/pkg-plist +++ b/science/gchemutils/pkg-plist @@ -149,7 +149,6 @@ share/gnome/doc/gchemutils/reference/functions_0x77.html share/gnome/doc/gchemutils/reference/functions_0x78.html share/gnome/doc/gchemutils/reference/functions_0x79.html share/gnome/doc/gchemutils/reference/globals.html -share/gnome/doc/gchemutils/reference/globals_defs.html share/gnome/doc/gchemutils/reference/globals_enum.html share/gnome/doc/gchemutils/reference/globals_func.html share/gnome/doc/gchemutils/reference/globals_type.html -- cgit v1.1