summaryrefslogtreecommitdiff
path: root/www/drivel
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-06-28 00:25:21 +0000
committerkristerw <kristerw@pkgsrc.org>2004-06-28 00:25:21 +0000
commita7257732e5cd5c55a17af53f9a25eea6b99e218b (patch)
tree8a3f24c7c9f2460f93e5aad96b15c3928e0a3b93 /www/drivel
parent01fa4773e25f01c531bb55cb80b25ccfd7a17a82 (diff)
downloadpkgsrc-a7257732e5cd5c55a17af53f9a25eea6b99e218b.tar.gz
Fix a C99 variable definition, to make this build with older compilers.
Diffstat (limited to 'www/drivel')
-rw-r--r--www/drivel/distinfo3
-rw-r--r--www/drivel/patches/patch-aa16
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);
+ }