1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix compile with FLAC 1.1.2

Submitted by: Danny Pansters <danny@ricin.com>
Approved by: portmgr (xevba), maintainer
This commit is contained in:
Michael Nottebrock 2005-03-22 23:04:47 +00:00
parent 3267c3b69b
commit 96cff6d620
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131908
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/audiodecoding/flac/k3bflacdecoder.cpp.orig Tue Feb 24 16:07:27 2004
+++ src/audiodecoding/flac/k3bflacdecoder.cpp Tue Mar 22 22:08:07 2005
@@ -308,7 +308,7 @@
{
if( d->comments != 0 ) {
if( info == i18n("Vendor") )
- return QString::fromUtf8(d->comments->get_vendor_string().get_field());
+ return QString::fromUtf8((char*)d->comments->get_vendor_string());
else if( info == i18n("Channels") )
return QString::number(d->channels);
else if( info == i18n("Sampling Rate") )

View File

@ -0,0 +1,11 @@
--- src/audiodecoding/flac/k3bflacdecoder.cpp.orig Tue Feb 24 16:07:27 2004
+++ src/audiodecoding/flac/k3bflacdecoder.cpp Tue Mar 22 22:08:07 2005
@@ -308,7 +308,7 @@
{
if( d->comments != 0 ) {
if( info == i18n("Vendor") )
- return QString::fromUtf8(d->comments->get_vendor_string().get_field());
+ return QString::fromUtf8((char*)d->comments->get_vendor_string());
else if( info == i18n("Channels") )
return QString::number(d->channels);
else if( info == i18n("Sampling Rate") )