Build problem with sysutils/k3b on 5.4-PRE, situationally solved
Danny Pansters
danny at ricin.com
Mon Mar 21 18:44:42 PST 2005
This is too small to send PR and I don't know how to easily solve it in an
elegant way (using conditional patch) for all other systems, but with new
flac-1.1.2 (> 1.1.1) I got a build error which can be solved by:
--- src/audiodecoding/flac/k3bflacdecoder.cpp.orig Tue Feb 24 16:07:27
2004
+++ src/audiodecoding/flac/k3bflacdecoder.cpp Sat Mar 19 16:24:29 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") )
Older flac needs the old code. It's a casting problem because of API change.
See also kdeextragear mailing list archive:
http://lists.kde.org/?l=kde-cvs&m=111092631917753&w=2
cc'd lofi@ and port maintainer.
Dan
More information about the freebsd-ports
mailing list