freebsd-ports/audio/tcd/files/patch-cddb.c
Max Brazhnikov 813ceb9846 Remove support for deprecated audio/libmusicbrainz
PR:		ports/
Submitted by:	Jason E. Hale <bsdkaffee at gmail.com>
Approved by:	maintainer timeout (2.5 months)
2012-05-19 16:49:56 +00:00

15 lines
506 B
C

--- ./src/cddb.c.orig 2004-06-15 17:20:09.000000000 -0400
+++ ./src/cddb.c 2012-03-05 13:42:25.000000000 -0500
@@ -229,10 +229,11 @@
return concat_strings(get_home_dir(), "/.tcd/", cd_id, NULL);
}
-extern int tcd_readdiskinfo(struct cd_info *cd, SDL_CD * cdrom)
+extern int tcd_readdiskinfo(struct tcd_state *cds, SDL_CD * cdrom)
{
int result;
char *filename;
+ struct cd_info *cd = &cds->cd_info;
result = 0;
if ((filename = cddb_filename(cddb_discid(cdrom))) != NULL) {