diff options
author | kristerw <kristerw> | 2004-06-28 00:25:21 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2004-06-28 00:25:21 +0000 |
commit | 0e45b3da67a03fb51516f04adb3fa90a3bdf35f3 (patch) | |
tree | 8a3f24c7c9f2460f93e5aad96b15c3928e0a3b93 /www | |
parent | 5d55b2084e4752ed24e40cd5482d9b06db788ab3 (diff) | |
download | pkgsrc-0e45b3da67a03fb51516f04adb3fa90a3bdf35f3.tar.gz |
Fix a C99 variable definition, to make this build with older compilers.
Diffstat (limited to 'www')
-rw-r--r-- | www/drivel/distinfo | 3 | ||||
-rw-r--r-- | www/drivel/patches/patch-aa | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/www/drivel/distinfo b/www/drivel/distinfo index 4f40b3f0325..6ce8b0ab2bb 100644 --- a/www/drivel/distinfo +++ b/www/drivel/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2004/06/26 17:16:21 jmmv Exp $ +$NetBSD: distinfo,v 1.3 2004/06/28 00:25:21 kristerw Exp $ SHA1 (drivel-1.0.1.tar.bz2) = 87c79a7023ee8ce9034c279980e9936300cd78a3 Size (drivel-1.0.1.tar.bz2) = 341964 bytes +SHA1 (patch-aa) = cc77a91ef7056b216ef32b84a02768b1f5a1af86 diff --git a/www/drivel/patches/patch-aa b/www/drivel/patches/patch-aa new file mode 100644 index 00000000000..d0648d34be1 --- /dev/null +++ b/www/drivel/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.3 2004/06/28 00:25:21 kristerw Exp $ + +--- src/requests.c.orig Mon Jun 28 02:19:04 2004 ++++ src/requests.c Mon Jun 28 02:19:47 2004 +@@ -472,9 +472,10 @@ + for (i = 1; i < pictures + 1; i++) + { + gchar *pic_file; ++ gchar *url; + pic_file = g_strdup_printf ("%s_pic_%d", dc->username, i); + mesg = g_strdup_printf ("pickwurl_%d", i); +- gchar *url = (gchar *)g_hash_table_lookup (dc->vars, mesg); ++ url = (gchar *)g_hash_table_lookup (dc->vars, mesg); + lj_send_get_request (dc, url, pic_file, REQUEST_GETPICTURE); + g_free (pic_file); + } |