head 1.6; access; symbols pkgsrc-2014Q2:1.5.0.44 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.42 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.40 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.38 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.36 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.34 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.32 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.30 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.28 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.26 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.24 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.22 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.20 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.18 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.16 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.14 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.12 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.10 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.8 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.6 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.4 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.2 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.3.0.10 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.8 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.6 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.4 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.2 pkgsrc-2008Q1-base:1.3; locks; strict; comment @# @; 1.6 date 2014.08.05.12.34.49; author wiz; state dead; branches; next 1.5; commitid EkR5RQIqbe0yEaLx; 1.5 date 2009.02.16.17.34.17; author drochner; state Exp; branches; next 1.4; 1.4 date 2009.01.18.01.59.42; author drochner; state Exp; branches; next 1.3; 1.3 date 2008.02.03.11.14.27; author drochner; state dead; branches; next 1.2; 1.2 date 2008.01.16.19.53.24; author smb; state Exp; branches; next 1.1; 1.1 date 2008.01.09.21.09.27; author smb; state Exp; branches; next ; desc @@ 1.6 log @Update to 1.8.15nb10 using liferea-current. @ text @$NetBSD: patch-af,v 1.5 2009/02/16 17:34:17 drochner Exp $ --- src/ui/ui_itemlist.c.orig 2008-12-28 10:21:00.000000000 +0100 +++ src/ui/ui_itemlist.c @@@@ -76,7 +76,7 @@@@ static gboolean ui_item_id_to_iter(gulon /* sort function for the item list date column */ static gint ui_itemlist_date_sort_func(GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer user_data) { - gulong timea, timeb; + gint64 timea, timeb; double diff; gtk_tree_model_get(model, a, IS_TIME, &timea, -1); @@@@ -129,7 +129,7 @@@@ GtkTreeStore * ui_itemlist_get_tree_stor model = gtk_tree_view_get_model(GTK_TREE_VIEW(itemlist_treeview)); if(!model) { itemstore = gtk_tree_store_new(IS_LEN, - G_TYPE_ULONG, /* IS_TIME */ + G_TYPE_INT64, /* IS_TIME */ G_TYPE_STRING, /* IS_TIME_STR */ G_TYPE_STRING, /* IS_LABEL */ GDK_TYPE_PIXBUF, /* IS_STATEICON */ @@@@ -434,7 +434,7 @@@@ ui_itemlist_add_item (itemPtr item) state += 1; gtk_tree_store_set (itemstore, iter, - IS_TIME, item->time, + IS_TIME, (gint64)item->time, IS_NR, item->id, IS_PARENT, node, IS_FAVICON, node->icon, @ 1.5 log @-update to 1.4.24 changes: -Flash is now stripped from feed content per default -Added preference option to allow Flash in feed content -Fixes cross compilation issue with configure.ac -translation updates -allow to build against gtkhtml also on 64-bit platforms. gtkhtml is rather buggy, but since liferea doesn't like the gecko version of firefox2 anymore, and our firefox3 pkg is too hacked up to be usable for embedding this is the only choice atm -improve my patch for 64-bit time_t so that it should be good enough for upstream (if there only was a working mailing list to report to) tested by Steve Bellovin (assuming no news are good news) @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @work around an assumption that time_t fits into an unsigned ist (breaking the item list display on 32-bit NetBSD-current systems) @ text @d3 1 a3 1 --- src/ui/ui_itemlist.c.orig 2009-01-18 02:25:45.000000000 +0100 d5 19 a23 10 @@@@ -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) a25 1 + tmp_time = item->time; d28 1 a28 1 + IS_TIME, tmp_time, @ 1.3 log @update to 1.4.12 changes: -fix a crash when selecting news bins -add compatibility with non-standard "xmlURL" OPML attributes used by LiveJournal -bugfixes @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 2008/01/16 19:53:24 smb Exp $ d3 13 a15 5 --- src/parsers/ns_dc.c.orig 2008-01-09 16:01:28.000000000 -0500 +++ src/parsers/ns_dc.c 2008-01-09 16:02:11.000000000 -0500 @@@@ -23,7 +23,7 @@@@ # include #endif d17 7 a23 5 -#define _XOPEN_SOURCE /* glibc2 needs this (man strptime) */ +#define _XOPEN_SOURCE 600 /* Set according to Opengroup standards */ #include "ns_dc.h" #include "conf.h" @ 1.2 log @Fix a reentrancy bug, and a portability bug involving a Linux documentation error and the behavior of NetBSD on 64-bit machines. All three bugs (including the Linux documentation problem) have been reported upstream and will be fixed there. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2008/01/09 21:09:27 smb Exp $ @ 1.1 log @Change #define of _XOPEN_SOURCE to make strptime() happy @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +#define _XOPEN_SOURCE 4 /* glibc2 needs this (man strptime); NetBSD wants it to be 4 or higher */ @