pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/kdepim3/patches add a cast to (unsigned long) to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8ea2c6b12fc
branches:  trunk
changeset: 555488:c8ea2c6b12fc
user:      explorer <explorer%pkgsrc.org@localhost>
date:      Tue Mar 03 12:34:15 2009 +0000

description:
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:

 misc/kdepim3/patches/patch-ac |  13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r ca531e1e91fa -r c8ea2c6b12fc misc/kdepim3/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kdepim3/patches/patch-ac     Tue Mar 03 12:34:15 2009 +0000
@@ -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';



Home | Main Index | Thread Index | Old Index