pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/gdcd Make this compile (fix strncmp syntax - pat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1532bda47e6e
branches:  trunk
changeset: 466235:1532bda47e6e
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Tue Jan 13 22:06:39 2004 +0000

description:
Make this compile (fix strncmp syntax - patches submitted to maintainer).
Fixes problem seen in agc's latest bulk build.

diffstat:

 audio/gdcd/distinfo         |   3 ++-
 audio/gdcd/patches/patch-af |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r fce6a5f35dae -r 1532bda47e6e audio/gdcd/distinfo
--- a/audio/gdcd/distinfo       Tue Jan 13 22:02:20 2004 +0000
+++ b/audio/gdcd/distinfo       Tue Jan 13 22:06:39 2004 +0000
@@ -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-ac) = 1a3711d8d4cadbc0d9c4f022ffa8f0c620e3660f
 SHA1 (patch-ad) = 4d0aaa53fd3e1962821575daf3d00c8ad55166cc
 SHA1 (patch-ae) = 7429dd043d76b3660ddb22f5ae71223e8b6bc76f
+SHA1 (patch-af) = 52d013f5f9710a99ce39698685405305517fc809
diff -r fce6a5f35dae -r 1532bda47e6e audio/gdcd/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gdcd/patches/patch-af       Tue Jan 13 22:06:39 2004 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index