summaryrefslogtreecommitdiff
path: root/dev-libs/libcdio
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-11-27 00:06:39 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-11-27 00:06:39 +0000
commit7c55822ed73ce03308e20a405d8e845d89c7e903 (patch)
tree5fb97d38d8e862065e9112bf7ce82d645011ae0d /dev-libs/libcdio
parentPatch highlighting script for highlight-3 (diff)
downloadpatches-7c55822ed73ce03308e20a405d8e845d89c7e903.tar.bz2
patches-7c55822ed73ce03308e20a405d8e845d89c7e903.tar.xz
patches-7c55822ed73ce03308e20a405d8e845d89c7e903.zip
Add upstream libcdio compile patch
Diffstat (limited to 'dev-libs/libcdio')
-rw-r--r--dev-libs/libcdio/libcdio-1.0.0-cddb_compile.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/libcdio/libcdio-1.0.0-cddb_compile.patch b/dev-libs/libcdio/libcdio-1.0.0-cddb_compile.patch
new file mode 100644
index 0000000..b64991b
--- /dev/null
+++ b/dev-libs/libcdio/libcdio-1.0.0-cddb_compile.patch
@@ -0,0 +1,23 @@
+diff -Naur libcdio-1.0.0.orig/src/cdda-player.c libcdio-1.0.0/src/cdda-player.c
+--- libcdio-1.0.0.orig/src/cdda-player.c 2017-11-22 02:39:49.000000000 +0100
++++ libcdio-1.0.0/src/cdda-player.c 2017-11-24 16:16:39.652704315 +0100
+@@ -531,8 +531,8 @@
+ get_cddb_disc_info(CdIo_t *p_cdio)
+ {
+ #ifdef HAVE_CDDB
+- b_db = init_cddb(p_cdio, &p_conn, &p_cddb_disc, xperror, i_first_track,
+- i_tracks, &i_cddb_matches);
++ b_db = init_cddb(p_cdio, &p_conn, &p_cddb_disc, xperror, i_first_track_global,
++ i_tracks_global, &i_cddb_matches);
+ if (b_db) {
+ int i_year;
+ i_year = atoi(year);
+@@ -831,7 +831,7 @@
+ {
+ #ifdef HAVE_CDDB
+ cddb_track_t *t = cddb_disc_get_track(p_cddb_disc,
+- i_track - i_first_track);
++ i_track - i_first_track_global);
+ if (t) {
+ cddb_track_set_title(t, title);
+ cddb_track_set_artist(t, artist);