diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-01-13 22:06:39 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-01-13 22:06:39 +0000 |
commit | 962d6365fcb3ec2216a997952894c291e5e7cfbc (patch) | |
tree | 4b2a7ef05f4460db90065835ded4074c70044731 /audio | |
parent | 89cdf18a301f36398ff76759a578791a2ba82ba8 (diff) | |
download | pkgsrc-962d6365fcb3ec2216a997952894c291e5e7cfbc.tar.gz |
Make this compile (fix strncmp syntax - patches submitted to maintainer).
Fixes problem seen in agc's latest bulk build.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gdcd/distinfo | 3 | ||||
-rw-r--r-- | audio/gdcd/patches/patch-af | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/gdcd/distinfo b/audio/gdcd/distinfo index 01c2849710c..3687e713e9b 100644 --- a/audio/gdcd/distinfo +++ b/audio/gdcd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2002/10/27 07:21:17 rh Exp $ +$NetBSD: distinfo,v 1.7 2004/01/13 22:06:39 jschauma Exp $ SHA1 (gdcd-0.2.1.tar.gz) = 90d3a443adea4cfdfad57d254cbf4a48bac30b9f Size (gdcd-0.2.1.tar.gz) = 244312 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = e67964ffe48972beee0314a8eb84a20ddcc81e68 SHA1 (patch-ac) = 1a3711d8d4cadbc0d9c4f022ffa8f0c620e3660f SHA1 (patch-ad) = 4d0aaa53fd3e1962821575daf3d00c8ad55166cc SHA1 (patch-ae) = 7429dd043d76b3660ddb22f5ae71223e8b6bc76f +SHA1 (patch-af) = 52d013f5f9710a99ce39698685405305517fc809 diff --git a/audio/gdcd/patches/patch-af b/audio/gdcd/patches/patch-af new file mode 100644 index 00000000000..5ce34ec1176 --- /dev/null +++ b/audio/gdcd/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2004/01/13 22:06:39 jschauma Exp $ + +--- source/dialog.c.orig 2004-01-13 17:02:01.000000000 -0500 ++++ source/dialog.c 2004-01-13 17:02:23.000000000 -0500 +@@ -45,7 +45,7 @@ + + for(index = 0; index < art_query.query_matches; index++) { + snprintf(checkbuffer, 100, "%s / %s", art_query.query_list[index].list_artist, art_query.query_list[index].list_album); +- if(strncmp(checkbuffer, item_data) == 0) { ++ if(strncmp(checkbuffer, item_data, 100) == 0) { + write(coverart_sock, &index, sizeof(gint)); + + gtk_widget_destroy(ca_dialog); |