summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/qalculate/MESSAGE8
-rw-r--r--math/qalculate/Makefile4
-rw-r--r--math/qalculate/distinfo3
-rw-r--r--math/qalculate/patches/patch-af13
4 files changed, 25 insertions, 3 deletions
diff --git a/math/qalculate/MESSAGE b/math/qalculate/MESSAGE
new file mode 100644
index 00000000000..f1efbde8543
--- /dev/null
+++ b/math/qalculate/MESSAGE
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2009/05/25 15:10:28 drochner Exp $
+
+For online updates of currency exchange rates, either gnome-vfs
+(pkgsrc/sysutils/gnome-vfs) or wget (pkgsrc/net/wget) needs to be
+installed.
+
+===========================================================================
diff --git a/math/qalculate/Makefile b/math/qalculate/Makefile
index fe610a38779..4a8dbff40a1 100644
--- a/math/qalculate/Makefile
+++ b/math/qalculate/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2009/05/20 00:58:22 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2009/05/25 15:10:28 drochner Exp $
DISTNAME= libqalculate-0.9.6
PKGNAME= qalculate-0.9.6
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qalculate/}
diff --git a/math/qalculate/distinfo b/math/qalculate/distinfo
index 260eba48e12..d14ce8cb60f 100644
--- a/math/qalculate/distinfo
+++ b/math/qalculate/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2007/11/05 20:44:03 drochner Exp $
+$NetBSD: distinfo,v 1.18 2009/05/25 15:10:28 drochner Exp $
SHA1 (libqalculate-0.9.6.tar.gz) = 0bcd42e13c23db9489ce594767d5017bdcb338ad
RMD160 (libqalculate-0.9.6.tar.gz) = 30f819530236da6b6b78088754643408c8aeb70d
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = b1a4b0ffe5dc19ff2b1c640960c3f3a524fd524b
SHA1 (patch-ac) = 98e817d60fc4cd521e7d227ecd330364ec072ecd
SHA1 (patch-ad) = 0e767ff393ea2d54da8a49527d24842ca0b90d28
SHA1 (patch-ae) = 7c9685c578a848cb4e9c55756110d891b9254f2b
+SHA1 (patch-af) = 3bab134f0ca10ecf91252e8211982be767e594e5
diff --git a/math/qalculate/patches/patch-af b/math/qalculate/patches/patch-af
new file mode 100644
index 00000000000..f6b9d9db0af
--- /dev/null
+++ b/math/qalculate/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2009/05/25 15:10:28 drochner Exp $
+
+--- libqalculate/BuiltinFunctions.cc.orig 2009-05-12 12:55:15.000000000 +0200
++++ libqalculate/BuiltinFunctions.cc
+@@ -2283,7 +2283,7 @@ int TimestampFunction::calculate(MathStr
+ string str = vargs[0].symbol();
+ remove_blank_ends(str);
+ if(str == _("now") || str == "now") {
+- mstruct.number().setInternal(time(NULL));
++ mstruct.number().setInternal((long)time(NULL));
+ return 1;
+ }
+ GDate *gtime = g_date_new();