summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorexplorer <explorer>2009-03-03 12:34:15 +0000
committerexplorer <explorer>2009-03-03 12:34:15 +0000
commit53aadf4b21c554c22b0d9eefc061cff57ded2801 (patch)
tree236ad382e7c1407c7cdc040f7fe8bf63a71bd71f /misc
parent0c051b045702a064a7f93c314d6b2bf667c4df39 (diff)
downloadpkgsrc-53aadf4b21c554c22b0d9eefc061cff57ded2801.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')
-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';