aboutsummaryrefslogtreecommitdiff
path: root/audio/tcd/files/patch-tcd.c
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-06-26 18:37:56 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-06-26 18:37:56 +0000
commit3fb5d3b04855705bbb7c171fb19128b2bdbc892b (patch)
tree6269ed85edfeaa78888ac93a716b8982faf1ac5c /audio/tcd/files/patch-tcd.c
parent3f7459dbcce09aca6adf50b227e9af5dabb50701 (diff)
downloadports-3fb5d3b04855705bbb7c171fb19128b2bdbc892b.tar.gz
ports-3fb5d3b04855705bbb7c171fb19128b2bdbc892b.zip
- New port: tcd
TCD is a simple, user-friendly ncurses-based CD player. - Add homebrew MusicBrainz support (default OFF).
Notes
Notes: svn path=/head/; revision=215806
Diffstat (limited to 'audio/tcd/files/patch-tcd.c')
-rw-r--r--audio/tcd/files/patch-tcd.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/tcd/files/patch-tcd.c b/audio/tcd/files/patch-tcd.c
new file mode 100644
index 000000000000..dc61a4e5750f
--- /dev/null
+++ b/audio/tcd/files/patch-tcd.c
@@ -0,0 +1,20 @@
+--- src/tcd.c.orig 2008-06-26 19:40:23.000000000 +0200
++++ src/tcd.c 2008-06-26 19:40:47.000000000 +0200
+@@ -221,7 +221,7 @@
+ if (state.cd_info.modified) {
+ tcd_writediskinfo(&state.cd_info, state.cdrom);
+ }
+- tcd_readdiskinfo(&state.cd_info, state.cdrom);
++ tcd_readdiskinfo(&state, state.cdrom);
+ state.current_discid = discid;
+ }
+ }
+@@ -237,7 +237,7 @@
+ state.play_method = NORMAL;
+
+ init_SDL((argc > 1) ? strtol(argv[1], NULL, 0) : 0);
+- tcd_readdiskinfo(&state.cd_info, state.cdrom);
++ tcd_readdiskinfo(&state, state.cdrom);
+ tcd_ui_init();
+ tcd_ui_update(&state);
+ state.current_discid = cddb_discid(state.cdrom);