summaryrefslogtreecommitdiff
path: root/math/kcalc
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2013-11-07 11:53:59 +0000
committermarkd <markd@pkgsrc.org>2013-11-07 11:53:59 +0000
commit1fa837a026be336a4dcca6300fa3b399ed6ebad7 (patch)
treef6cf5752f96c0cb922f4b52cfbd07b3cfc61d99f /math/kcalc
parent20a40e1f58139523947c208e52200102731e3b65 (diff)
downloadpkgsrc-1fa837a026be336a4dcca6300fa3b399ed6ebad7.tar.gz
Update to KDE SC 4.11.3
bugfixes, many new features, improved stability and performance.
Diffstat (limited to 'math/kcalc')
-rw-r--r--math/kcalc/Makefile3
-rw-r--r--math/kcalc/distinfo12
-rw-r--r--math/kcalc/patches/patch-CMakeLists.txt4
-rw-r--r--math/kcalc/patches/patch-knumber_knumber_float.cpp6
4 files changed, 12 insertions, 13 deletions
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
index 547a2d8f536..525eef05cfd 100644
--- a/math/kcalc/Makefile
+++ b/math/kcalc/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2013/07/05 13:29:37 ryoon Exp $
+# $NetBSD: Makefile,v 1.18 2013/11/07 11:59:59 markd Exp $
DISTNAME= kcalc-${_KDE_VERSION}
-PKGREVISION= 4
CATEGORIES= math
COMMENT= KDE scientific calculator
diff --git a/math/kcalc/distinfo b/math/kcalc/distinfo
index 57eb75696d3..a1118ace3b3 100644
--- a/math/kcalc/distinfo
+++ b/math/kcalc/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2013/05/21 12:49:33 markd Exp $
+$NetBSD: distinfo,v 1.6 2013/11/07 11:59:59 markd Exp $
-SHA1 (kcalc-4.10.3.tar.xz) = c80f91c2f41a60cca670c8cb1b5e2c395e935fac
-RMD160 (kcalc-4.10.3.tar.xz) = 6542004b478c6e3cf60131a1f8678808556dc80d
-Size (kcalc-4.10.3.tar.xz) = 93972 bytes
-SHA1 (patch-CMakeLists.txt) = 3267b41b6a6a25a18b3dc450747beedb2976b45e
-SHA1 (patch-knumber_knumber_float.cpp) = 413c778069c0d38272e67b00eaca1a76a933e5cb
+SHA1 (kcalc-4.11.3.tar.xz) = a62a37a16a699fdba715cda33b9f75755d81cb76
+RMD160 (kcalc-4.11.3.tar.xz) = 211c77b1e54374313bff7909cd47c3b0282805cc
+Size (kcalc-4.11.3.tar.xz) = 82916 bytes
+SHA1 (patch-CMakeLists.txt) = 41012666b695fbaad04261cbf566d875d9f83ed8
+SHA1 (patch-knumber_knumber_float.cpp) = dc5e8434cc1e206b7ed11a68639bf3076f67d774
SHA1 (patch-knumber_tests_CMakeLists.txt) = 7d159f617903b778e65615cb73a81f40f1d262df
diff --git a/math/kcalc/patches/patch-CMakeLists.txt b/math/kcalc/patches/patch-CMakeLists.txt
index 9a98ee0945b..c500da324c2 100644
--- a/math/kcalc/patches/patch-CMakeLists.txt
+++ b/math/kcalc/patches/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2013/04/03 10:52:24 markd Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2013/11/07 11:59:59 markd Exp $
use mpfr (alternate code doesnt build on BSD)
@@ -12,5 +12,5 @@ use mpfr (alternate code doesnt build on BSD)
+add_definitions (-DKNUMBER_USE_MPFR)
+
include(CheckTypeSize)
- include(CheckFunctionExists)
include(CheckIncludeFiles)
+
diff --git a/math/kcalc/patches/patch-knumber_knumber_float.cpp b/math/kcalc/patches/patch-knumber_knumber_float.cpp
index 2005cec6fb1..ad4a2cb7fbd 100644
--- a/math/kcalc/patches/patch-knumber_knumber_float.cpp
+++ b/math/kcalc/patches/patch-knumber_knumber_float.cpp
@@ -1,4 +1,4 @@
-$NetBSD: patch-knumber_knumber_float.cpp,v 1.1 2013/04/03 10:52:24 markd Exp $
+$NetBSD: patch-knumber_knumber_float.cpp,v 1.2 2013/11/07 11:59:59 markd Exp $
use namespace std for isinf() and isnan()
@@ -6,10 +6,10 @@ use namespace std for isinf() and isnan()
+++ knumber/knumber_float.cpp
@@ -25,6 +25,8 @@ along with this program. If not, see <h
#include <QDebug>
- #include <cmath>
+ #include <math.h>
+using namespace std;
+
// NOTE: these assume IEEE floats..
- #ifndef HAVE_FUNC_ISINF
+ #ifndef isinf
#define isinf(x) ((x) != 0.0 && (x) + (x) == (x))