diff options
author | joerg <joerg@pkgsrc.org> | 2006-12-08 11:00:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-12-08 11:00:48 +0000 |
commit | dc34fbf4384e5d2081d6055cad2a54d961ed679a (patch) | |
tree | 10ec7c7b74d2a444d37b9d226ec2a5010b86016b /misc/koffice | |
parent | 2794ccb3f2570ae5e598f4a72ca8d1f4cf7373d1 (diff) | |
download | pkgsrc-dc34fbf4384e5d2081d6055cad2a54d961ed679a.tar.gz |
Fix build on DragonFly, where trunc does not exist.
Diffstat (limited to 'misc/koffice')
-rw-r--r-- | misc/koffice/distinfo | 3 | ||||
-rw-r--r-- | misc/koffice/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/koffice/distinfo b/misc/koffice/distinfo index 9a3f78c0f73..f10b0cbc9d6 100644 --- a/misc/koffice/distinfo +++ b/misc/koffice/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.34 2006/12/03 04:03:06 markd Exp $ +$NetBSD: distinfo,v 1.35 2006/12/08 11:00:48 joerg Exp $ SHA1 (koffice-1.6.1.tar.bz2) = 891fb0a28ec3c4b070c4d6c2eae7fee1d2e37761 RMD160 (koffice-1.6.1.tar.bz2) = ee4fa84a53f92035c0ab9427e0acb18feca701db Size (koffice-1.6.1.tar.bz2) = 56999028 bytes +SHA1 (patch-aa) = 254d15db2ac7e0fb45e5ccb07da3ac7fabf9c360 SHA1 (patch-ab) = f2e9067f24d1de2e3c9f139727c33ecaf6dc8503 SHA1 (patch-af) = a79564e57f2ef8eb43e8c1e23bb6a8e3d2a1d110 SHA1 (patch-ag) = f0ad29395bbf52f70dd96f65c291fdb2ff0c6083 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 + |