Date: Thu, 7 Nov 2002 19:44:43 +1100 From: Tim Robbins <tjr@FreeBSD.ORG> To: Jens Rehsack <rehsack@liwing.de> Cc: current@FreeBSD.ORG, "Greg 'groggy' Lehey" <grog@current.lemis.com> Subject: Re: Upgrade of port audio/id3lib - stdc++ wchar support missing Message-ID: <20021107194443.A32888@dilbert.robbins.dropbear.id.au> In-Reply-To: <3DC9A682.7060201@liwing.de>; from rehsack@liwing.de on Thu, Nov 07, 2002 at 12:32:18AM %2B0100 References: <3DC9A682.7060201@liwing.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Thu, Nov 07, 2002 at 12:32:18AM +0100, Jens Rehsack wrote:
> Hi,
>
> there two open PR's (PR 44423 and PR 44449) related to a problem with
> audio/id3lib. I downloaded the new version (3.8.1) and made patches for
> some files, so they should work fine with FreeBSD 5.0 (4.7 not tested, I
> think gcc3 is required).
>
> But I found out, that the libstdc++ which is installed by `make world`
> doesn't have wchar-support enabled. I do not have expirience in changing
> modules within freebsd world, so what do I have to do to add wchar-support?
>
> Any help would be nice - I didn't had so much time for C/C++ programming
> last year and I missed it. So I could do some more, too.
You could try the patch I've attached:
cd /usr/src
zcat c++-wchar.diff.gz | patch
cd gnu/lib/libstdc++
make
make install
It appears to work for simple programs like this:
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
int
main()
{
wstring test(L"hello");
wofstream strm("test.txt");
strm << test << endl;
return (0);
}
... but I haven't tested much else; I haven't tried to build id3lib.
Tim
[-- Attachment #2 --]
&=c++-wchar.diff [ms8~EWlmokZ \L^澸5`Xې,Ȓ425є$nw~Dm0XZ(+mKT1tc=ka-fժ֨
p1*S:A~A"
K4Qr_4$UvՖPX,r0R4Nr_@YmP$|)uŒ7|3oY']o9S(V*))s䤱lrW9~CEa.M?W.mYi+jNWIږg>To>ć ,ӽNlv"eaI̻NLRIWRH}Il|Kd7SY3uv7R"u s>>ǒoYRJ-(R-
lIweaӳ6nM<<uى:@IىWσ_&/ O(Uѻ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