diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/gtodo/distinfo | 3 | ||||
-rw-r--r-- | time/gtodo/patches/patch-ab | 46 |
2 files changed, 48 insertions, 1 deletions
diff --git a/time/gtodo/distinfo b/time/gtodo/distinfo index 7d9bdaa5788..216ae33978a 100644 --- a/time/gtodo/distinfo +++ b/time/gtodo/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/03/10 19:20:45 jmmv Exp $ +$NetBSD: distinfo,v 1.2 2004/03/10 19:31:06 jmmv Exp $ SHA1 (gtodo-0.14.tar.gz) = c6eb5089a324abdf41383a60a9f8f0d3f4ebb8ff Size (gtodo-0.14.tar.gz) = 198798 bytes SHA1 (patch-aa) = 3729f70027316bbab34c2c3a81adc7f83c18e189 +SHA1 (patch-ab) = be4d6466e463a5abbe51a9c40e1aae3aefc81014 diff --git a/time/gtodo/patches/patch-ab b/time/gtodo/patches/patch-ab new file mode 100644 index 00000000000..68a88fe3783 --- /dev/null +++ b/time/gtodo/patches/patch-ab @@ -0,0 +1,46 @@ +$NetBSD: patch-ab,v 1.1 2004/03/10 19:31:06 jmmv Exp $ + +--- libgtodo/libgtodo.c.orig 2004-02-15 22:03:09.000000000 +0100 ++++ libgtodo/libgtodo.c +@@ -770,10 +770,10 @@ int gtodo_client_reload(GTodoClient *cl) + GTodoClient * gtodo_client_new_default(GError **error) + { + GError *tmp_error = NULL; ++ GTodoClient *cl = NULL; + /* check if the error is good or wrong. */ + g_return_val_if_fail(error == NULL || *error == NULL,FALSE); + +- GTodoClient *cl = NULL; + cl = g_malloc(sizeof(GTodoClient)); + cl->xml_path = g_strdup_printf("file:///%s/.gtodo/todos", g_getenv("HOME")); + /* check, open or create the correct xml file */ +@@ -793,6 +793,7 @@ GTodoClient * gtodo_client_new_default(G + GTodoClient * gtodo_client_new_from_file(char *filename, GError **error) + { + GError *tmp_error = NULL; ++ GTodoClient *cl = NULL; + /* check if the error is good or wrong. */ + g_return_val_if_fail(error == NULL || *error == NULL,FALSE); + if(debug)g_print("Trying to create a new client %s\n", filename); +@@ -802,7 +803,6 @@ GTodoClient * gtodo_client_new_from_file + g_propagate_error(error, tmp_error); + return NULL; + } +- GTodoClient *cl = NULL; + cl = g_malloc(sizeof(GTodoClient)); + cl->xml_path = g_strdup(filename); + /* check, open or create the correct xml file */ +@@ -833,11 +833,11 @@ GTodoList * gtodo_client_get_category_li + { + xmlNodePtr cur; + GTodoList *list = g_malloc(sizeof(GTodoList)); +- list->list = NULL; ++ GTodoCategory *cat; + int repos = 0; ++ list->list = NULL; + cl->number_of_categories = 0; + cur = cl->root->xmlChildrenNode; +- GTodoCategory *cat; + + while(cur != NULL){ + if(xmlStrEqual(cur->name, (const xmlChar *)"category")){ |