Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2005 03:44:33 +0100
From:      Danny Pansters <danny@ricin.com>
To:        freebsd-ports@freebsd.org, "Nottebrock, Michael" <lofi@freebsd.org>, h.eichmann@gmx.de
Subject:   Build problem with sysutils/k3b on 5.4-PRE, situationally solved
Message-ID:  <200503220344.33700.danny@ricin.com>
In-Reply-To: <200503212118.14523.michaelnottebrock@gmx.net>
References:  <200503211456.46873.cog@umd.edu> <200503212118.14523.michaelnottebrock@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503220344.33700.danny>