From ae267260447593c8ff45d9bda6d812d7a9059c65 Mon Sep 17 00:00:00 2001 From: explorer Date: Tue, 3 Mar 2009 12:34:15 +0000 Subject: 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. --- misc/kdepim3/patches/patch-ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 misc/kdepim3/patches/patch-ac 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'; -- cgit v1.2.3