summaryrefslogtreecommitdiff
path: root/misc/kdepim3
diff options
context:
space:
mode:
authorexplorer <explorer@pkgsrc.org>2009-03-03 12:34:15 +0000
committerexplorer <explorer@pkgsrc.org>2009-03-03 12:34:15 +0000
commit5cee87120872e7269e2db915d80d6c2112ebeee7 (patch)
tree236ad382e7c1407c7cdc040f7fe8bf63a71bd71f /misc/kdepim3
parentfc59526304a4458203f6c0b2a366d57c62458d82 (diff)
downloadpkgsrc-5cee87120872e7269e2db915d80d6c2112ebeee7.tar.gz
add a cast to (unsigned long) to work around time_t issues. This is a quick fix to make this build with our new shiny time_t.
Diffstat (limited to 'misc/kdepim3')
-rw-r--r--misc/kdepim3/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/kdepim3/patches/patch-ac b/misc/kdepim3/patches/patch-ac
new file mode 100644
index 00000000000..f50e35acee3
--- /dev/null
+++ b/misc/kdepim3/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.14 2009/03/03 12:34:15 explorer Exp $
+
+--- knode/kngroup.cpp.orig 2009-03-03 12:20:17.000000000 +0000
++++ knode/kngroup.cpp 2009-03-03 12:20:45.000000000 +0000
+@@ -550,7 +550,7 @@
+
+ ts << art->id() << ' ';
+ ts << art->lines()->numberOfLines() << ' ';
+- ts << art->date()->unixTime() << ' ';
++ ts << (unsigned long)art->date()->unixTime() << ' ';
+ ts << "2\n"; // version number to achieve backward compatibility easily
+
+ ts << art->articleNumber() << '\n';