summaryrefslogtreecommitdiff
path: root/misc/koffice/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-12-08 11:00:48 +0000
committerjoerg <joerg@pkgsrc.org>2006-12-08 11:00:48 +0000
commitdc34fbf4384e5d2081d6055cad2a54d961ed679a (patch)
tree10ec7c7b74d2a444d37b9d226ec2a5010b86016b /misc/koffice/patches
parent2794ccb3f2570ae5e598f4a72ca8d1f4cf7373d1 (diff)
downloadpkgsrc-dc34fbf4384e5d2081d6055cad2a54d961ed679a.tar.gz
Fix build on DragonFly, where trunc does not exist.
Diffstat (limited to 'misc/koffice/patches')
-rw-r--r--misc/koffice/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/koffice/patches/patch-aa b/misc/koffice/patches/patch-aa
new file mode 100644
index 00000000000..4c1c3500c79
--- /dev/null
+++ b/misc/koffice/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.10 2006/12/08 11:00:48 joerg Exp $
+
+--- kchart/kdchart/KDChartAxesPainter.cpp.orig 2006-12-07 17:19:53.000000000 +0000
++++ kchart/kdchart/KDChartAxesPainter.cpp
+@@ -3701,7 +3701,7 @@ QString KDChartAxesPainter::truncateBehi
+ return sVal;
+ }
+
+-#if defined ( Q_WS_WIN)
++#if defined ( Q_WS_WIN) || defined(__DragonFly__)
+ #define trunc(x) ((int)(x))
+ #endif
+