summaryrefslogtreecommitdiff
path: root/misc
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
commitae267260447593c8ff45d9bda6d812d7a9059c65 (patch)
tree236ad382e7c1407c7cdc040f7fe8bf63a71bd71f /misc
parenta33e353e8b55e234aa412f6ed24837af28b7cdac (diff)
downloadpkgsrc-ae267260447593c8ff45d9bda6d812d7a9059c65.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';