pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/liferea work around an assumption that time_t fits...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7fbc3931e36
branches:  trunk
changeset: 553238:a7fbc3931e36
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Sun Jan 18 01:59:42 2009 +0000

description:
work around an assumption that time_t fits into an unsigned ist
(breaking the item list display on 32-bit NetBSD-current systems)

diffstat:

 www/liferea/Makefile         |   3 ++-
 www/liferea/distinfo         |   3 ++-
 www/liferea/patches/patch-af |  23 +++++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diffs (51 lines):

diff -r 293965cf9824 -r a7fbc3931e36 www/liferea/Makefile
--- a/www/liferea/Makefile      Sun Jan 18 00:13:47 2009 +0000
+++ b/www/liferea/Makefile      Sun Jan 18 01:59:42 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.78 2009/01/12 02:43:32 jmcneill Exp $
+# $NetBSD: Makefile,v 1.79 2009/01/18 01:59:42 drochner Exp $
 
 DISTNAME=              liferea-1.4.23
+PKGREVISION=   1
 CATEGORIES=            www
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=liferea/}
 
diff -r 293965cf9824 -r a7fbc3931e36 www/liferea/distinfo
--- a/www/liferea/distinfo      Sun Jan 18 00:13:47 2009 +0000
+++ b/www/liferea/distinfo      Sun Jan 18 01:59:42 2009 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.54 2009/01/12 02:43:32 jmcneill Exp $
+$NetBSD: distinfo,v 1.55 2009/01/18 01:59:42 drochner Exp $
 
 SHA1 (liferea-1.4.23.tar.gz) = cf2cfc61ec92f9b183e3cd75d8280ab273214175
 RMD160 (liferea-1.4.23.tar.gz) = 1da59d457364efcbf99fa138d4e9bb3e800a0243
 Size (liferea-1.4.23.tar.gz) = 1655446 bytes
 SHA1 (patch-ae) = 91c32840150a33d2162301c17bd5c35edc6264ba
+SHA1 (patch-af) = 7760a6f7f84172c72d012b6231320c49df33e046
diff -r 293965cf9824 -r a7fbc3931e36 www/liferea/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/liferea/patches/patch-af      Sun Jan 18 01:59:42 2009 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-af,v 1.4 2009/01/18 01:59:42 drochner Exp $
+
+--- src/ui/ui_itemlist.c.orig  2009-01-18 02:25:45.000000000 +0100
++++ src/ui/ui_itemlist.c
+@@ -416,6 +416,7 @@ ui_itemlist_add_item (itemPtr item) 
+       {
+               GtkTreeIter *iter = &old_iter;
+               gint state = 0;
++              unsigned long tmp_time; /* match column type */
+               
+               node = node_from_id (item->nodeId);
+               if(!node)
+@@ -433,8 +434,9 @@ ui_itemlist_add_item (itemPtr item) 
+               if (!item->readStatus)
+                       state += 1;
+ 
++              tmp_time = item->time;
+               gtk_tree_store_set (itemstore, iter,
+-                                             IS_TIME, item->time,
++                                             IS_TIME, tmp_time,
+                                              IS_NR, item->id,
+                                              IS_PARENT, node,
+                                              IS_FAVICON, node->icon,



Home | Main Index | Thread Index | Old Index