pkgsrc/audio/gdcd/patches/patch-aa
rh 91ffe9cc16 Update gdcd to 0.2.1. Changes are mainly bugfixes, most notably the
detection and use of /dev/cdNd (N being a number) instead of /dev/cdrom.
2001-05-14 17:09:14 +00:00

17 lines
434 B
Text

$NetBSD: patch-aa,v 1.2 2001/05/14 17:09:14 rh Exp $
--- source/cddb.c.orig Sun May 6 18:16:33 2001
+++ source/cddb.c
@@ -200,7 +200,12 @@
return -1;
}
+#ifdef HAVE_STRERROR_R
strerror_r(rc, message, 64);
+#else
+ strncpy (message, strerror (rc), 64);
+ message[63]='\0';
+#endif
fputs("Error invoking pthread_create: ", stderr);
fputs(message, stderr);
fputc('\n', stderr);