From 41c806a376954525efd0e686d0af2232485ea9ac 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 (limited to 'misc') 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