diff options
author | joerg <joerg> | 2006-12-08 11:00:48 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-12-08 11:00:48 +0000 |
commit | 9e8e2fa7d090aaffc9384fe28d7900007feaf240 (patch) | |
tree | 10ec7c7b74d2a444d37b9d226ec2a5010b86016b /misc/koffice/patches | |
parent | 39398e96070449c3ba26b5d6cc754bdd96628315 (diff) | |
download | pkgsrc-9e8e2fa7d090aaffc9384fe28d7900007feaf240.tar.gz |
Fix build on DragonFly, where trunc does not exist.
Diffstat (limited to 'misc/koffice/patches')
-rw-r--r-- | misc/koffice/patches/patch-aa | 13 |
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 + |