Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 506538 Details for
Bug 638682
media-plugins/audacious-plugins-3.9-r1: missing dependency on dev-libs/libcdio (was: with dev-libs/libcdio-1.0.0: cdaudio-ng.cc:39:10: fatal error: cdio/cdda.h: No such file or directory)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for libcdio-1.x
libcdio-1.patch (text/plain), 2.50 KB, created by
Helmut Jarausch
on 2017-11-25 10:41:54 UTC
(
hide
)
Description:
patch for libcdio-1.x
Filename:
MIME Type:
Creator:
Helmut Jarausch
Created:
2017-11-25 10:41:54 UTC
Size:
2.50 KB
patch
obsolete
>--- src/cdaudio/cdaudio-ng.cc.ORIG 2017-08-20 03:20:10.000000000 +0200 >+++ src/cdaudio/cdaudio-ng.cc 2017-11-25 11:23:13.943029614 +0100 >@@ -33,11 +33,7 @@ > #include <cdio/sector.h> > #include <cdio/cd_types.h> > >-#if LIBCDIO_VERSION_NUM >= 90 > #include <cdio/paranoia/cdda.h> >-#else >-#include <cdio/cdda.h> >-#endif > > #include <cddb/cddb.h> > >@@ -540,27 +536,16 @@ > if (aud_get_bool ("CDDA", "use_cdtext")) > { > AUDDBG ("getting cd-text information for disc\n"); >-#if LIBCDIO_VERSION_NUM >= 90 > pcdtext = cdio_get_cdtext (pcdrom_drive->p_cdio); > if (pcdtext == nullptr) >-#else >- pcdtext = cdio_get_cdtext (pcdrom_drive->p_cdio, 0); >- if (pcdtext == nullptr || pcdtext->field[CDTEXT_TITLE] == nullptr) >-#endif > { > AUDDBG ("no cd-text available for disc\n"); > } > else > { >-#if LIBCDIO_VERSION_NUM >= 90 > trackinfo[0].performer = String (cdtext_get_const (pcdtext, CDTEXT_FIELD_PERFORMER, 0)); > trackinfo[0].name = String (cdtext_get_const (pcdtext, CDTEXT_FIELD_TITLE, 0)); > trackinfo[0].genre = String (cdtext_get_const (pcdtext, CDTEXT_FIELD_GENRE, 0)); >-#else >- trackinfo[0].performer = String (pcdtext->field[CDTEXT_PERFORMER]); >- trackinfo[0].name = String (pcdtext->field[CDTEXT_TITLE]); >- trackinfo[0].genre = String (pcdtext->field[CDTEXT_GENRE]); >-#endif > } > } > >@@ -568,7 +553,6 @@ > bool cdtext_was_available = false; > for (int trackno = firsttrackno; trackno <= lasttrackno; trackno++) > { >-#if LIBCDIO_VERSION_NUM < 90 > if (aud_get_bool ("CDDA", "use_cdtext")) > { > AUDDBG ("getting cd-text information for track %d\n", trackno); >@@ -579,19 +563,12 @@ > pcdtext = nullptr; > } > } >-#endif > > if (pcdtext != nullptr) > { >-#if LIBCDIO_VERSION_NUM >= 90 > trackinfo[trackno].performer = String (cdtext_get_const (pcdtext, CDTEXT_FIELD_PERFORMER, trackno)); > trackinfo[trackno].name = String (cdtext_get_const (pcdtext, CDTEXT_FIELD_TITLE, trackno)); > trackinfo[trackno].genre = String (cdtext_get_const (pcdtext, CDTEXT_FIELD_GENRE, trackno)); >-#else >- trackinfo[trackno].performer = String (pcdtext->field[CDTEXT_PERFORMER]); >- trackinfo[trackno].name = String (pcdtext->field[CDTEXT_TITLE]); >- trackinfo[trackno].genre = String (pcdtext->field[CDTEXT_GENRE]); >-#endif > cdtext_was_available = true; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 638682
: 506538 |
506766
|
506768