Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
David O'Brien wrote: On Thu, Dec 12, 2002 at 12:33:18AM +0100, Jens Rehsack wrote: This would pull files off the vendor branch; and before doing that I'd like to know why the GCC developers have commented out those bits. ... But 4.7-STABLE has already support for wchar_t and it works fine So? I want to know why the GCC developers commented out those bits in GCC 3.2.1. I don't care about GCC 2.95 in RELNEG_4. I know that the id3v2 need wchar_t support. That's why I asked for a patch for FreeBSD 5.0-CURRENT which is sent by Tim Robbins. I do not know what exactly is included in 4.7 or in 5.0 but I know that id3v2 and id3lib build fine in 4.7 but didn't in 5.0. I thought it was more or less important because of Greg Lehey PR 9 (ports) which has serverity critical. Maybe you can ask Tim who created the patch why he did it that way. - BEGIN console extract - portupgrade -f id3lib id3v2 [...] Stop in /usr/ports/audio/id3v2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade542.2 make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! audio/id3lib38 (id3lib-3.8.1) (linker error) ! audio/id3v2 (id3v2-0.1.7) (linker error) - END console extract - Bye Jens -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnLiWing IT-Services L iW W W Wi n n g g i W W i n n g gFriesenstraße 2 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED] Fax: +49 - 3 45 - 5 17 05 92http://www.liwing.de/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
On Sun, Dec 08, 2002 at 01:13:16PM +0100, Jens Rehsack wrote: David O'Brien wrote: On Thu, Dec 05, 2002 at 07:36:18PM -0600, Scot W. Hetzel wrote: You could try the patch I've attached: cd /usr/src zcat c++-wchar.diff.gz | patch cd gnu/lib/libstdc++ make make install ... Attached is the patch This would pull files off the vendor branch; and before doing that I'd like to know why the GCC developers have commented out those bits. Hi Kris, will the patch applied? What's the current status? If this is to test in order to send the patch to the GNU people that is good. If you hope to get this into FreeBSD directly, the above questions need answering. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
David O'Brien wrote: On Sun, Dec 08, 2002 at 01:13:16PM +0100, Jens Rehsack wrote: David O'Brien wrote: On Thu, Dec 05, 2002 at 07:36:18PM -0600, Scot W. Hetzel wrote: You could try the patch I've attached: cd /usr/src zcat c++-wchar.diff.gz | patch cd gnu/lib/libstdc++ make make install ... Attached is the patch This would pull files off the vendor branch; and before doing that I'd like to know why the GCC developers have commented out those bits. Hi Kris, will the patch applied? What's the current status? If this is to test in order to send the patch to the GNU people that is good. If you hope to get this into FreeBSD directly, the above questions need answering. But 4.7-STABLE has already support for wchar_t and it works fine -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnLiWing IT-Services L iW W W Wi n n g g i W W i n n g gFriesenstraße 2 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED] Fax: +49 - 3 45 - 5 17 05 92http://www.liwing.de/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
On Thu, Dec 12, 2002 at 12:33:18AM +0100, Jens Rehsack wrote: This would pull files off the vendor branch; and before doing that I'd like to know why the GCC developers have commented out those bits. ... But 4.7-STABLE has already support for wchar_t and it works fine So? I want to know why the GCC developers commented out those bits in GCC 3.2.1. I don't care about GCC 2.95 in RELNEG_4. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
David O'Brien wrote: On Thu, Dec 05, 2002 at 07:36:18PM -0600, Scot W. Hetzel wrote: You could try the patch I've attached: cd /usr/src zcat c++-wchar.diff.gz | patch cd gnu/lib/libstdc++ make make install ... Attached is the patch This would pull files off the vendor branch; and before doing that I'd like to know why the GCC developers have commented out those bits. Hi Kris, will the patch applied? What's the current status? Jens To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
On Fri, Dec 06, 2002 at 01:29:19AM +0100, Marcin Dalecki wrote: Hmm... at some point in time it may perhaps just make perfect sense to replace the libstdc++ by the STLport library as the standard C++ library? The gnu libstdc++ is really somehoe hopeless. No thanks. Please lobby the GCC guys to adopt the STLport's STL. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
On Thu, Dec 05, 2002 at 07:36:18PM -0600, Scot W. Hetzel wrote: You could try the patch I've attached: cd /usr/src zcat c++-wchar.diff.gz | patch cd gnu/lib/libstdc++ make make install ... Attached is the patch This would pull files off the vendor branch; and before doing that I'd like to know why the GCC developers have commented out those bits. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
Kris Kennaway wrote: On Fri, Nov 08, 2002 at 09:54:11AM +0100, Jens Rehsack wrote: David O'Brien wrote: On Thu, Nov 07, 2002 at 07:44:43PM +1100, Tim Robbins wrote: You could try the patch I've attached: cd /usr/src zcat c++-wchar.diff.gz | patch cd gnu/lib/libstdc++ make make install Can you ask Kris to try this on the ports cluster before we commit it? I wonder how many ports this could break. Cause I'm the pain in the neck who asks for this - I'm rebuilding all my ports today to check if it works with this patch (cvsup of /usr/src yesterday). Hmm... at some point in time it may perhaps just make perfect sense to replace the libstdc++ by the STLport library as the standard C++ library? The gnu libstdc++ is really somehoe hopeless. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
From: Kris Kennaway [EMAIL PROTECTED] On Fri, Nov 08, 2002 at 09:54:11AM +0100, Jens Rehsack wrote: David O'Brien wrote: On Thu, Nov 07, 2002 at 07:44:43PM +1100, Tim Robbins wrote: You could try the patch I've attached: cd /usr/src zcat c++-wchar.diff.gz | patch cd gnu/lib/libstdc++ make make install Can you ask Kris to try this on the ports cluster before we commit it? I wonder how many ports this could break. Cause I'm the pain in the neck who asks for this - I'm rebuilding all my ports today to check if it works with this patch (cvsup of /usr/src yesterday). Oops, the ports cluster is finally free to test this patch, but now I can't seem to find it (only mails that refer to it) :-( Can someone email it to me again? Attached is the patch Scot c++-wchar.diff.gz Description: GNU Zip compressed data
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
David O'Brien wrote: On Thu, Nov 07, 2002 at 07:44:43PM +1100, Tim Robbins wrote: You could try the patch I've attached: cd /usr/src zcat c++-wchar.diff.gz | patch cd gnu/lib/libstdc++ make make install Can you ask Kris to try this on the ports cluster before we commit it? I wonder how many ports this could break. Cause I'm the pain in the neck who asks for this - I'm rebuilding all my ports today to check if it works with this patch (cvsup of /usr/src yesterday). The patch applied cleanly and world build and installs fine, even if the duplicate lock keeps and sablot dynamic linker error - but this has happened without the patch, too. I have installed on the test machine gnome2, apache13, perl5.6.1, mod_php4, mysql, postgresql, portupgrade (and the dependencies, of course). Should I test any specific port, too? Regards, Jens To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnLiWing IT-Services L iW W W Wi n n g g i W W i n n g gFriesenstraße 2 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED] Fax: +49 - 3 45 - 5 17 05 92http://www.liwing.de/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
On Thu, Nov 07, 2002 at 12:32:18AM +0100, Jens Rehsack wrote: Hi, there two open PR's (PR 44423 and PR 9) 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(Lhello); wofstream strm(test.txt); strm test endl; return (0); } ... but I haven't tested much else; I haven't tried to build id3lib. Tim c++-wchar.diff.gz Description: application/gunzip
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
Tim Robbins wrote: On Thu, Nov 07, 2002 at 12:32:18AM +0100, Jens Rehsack wrote: Hi, there two open PR's (PR 44423 and PR 9) 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 I'll try it this evening. How big is the chance to include it into FBSD 5.0-Current distribution. Jens -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnLiWing IT-Services L iW W W Wi n n g g i W W i n n g gFriesenstraße 2 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED] Fax: +49 - 3 45 - 5 17 05 92http://www.liwing.de/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
On Thu, Nov 07, 2002 at 07:44:43PM +1100, Tim Robbins wrote: You could try the patch I've attached: cd /usr/src zcat c++-wchar.diff.gz | patch cd gnu/lib/libstdc++ make make install Can you ask Kris to try this on the ports cluster before we commit it? I wonder how many ports this could break. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Upgrade of port audio/id3lib - stdc++ wchar support missing
On Thu, Nov 07, 2002 at 01:17:58PM -0800, David O'Brien wrote: On Thu, Nov 07, 2002 at 07:44:43PM +1100, Tim Robbins wrote: You could try the patch I've attached: cd /usr/src zcat c++-wchar.diff.gz | patch cd gnu/lib/libstdc++ make make install Can you ask Kris to try this on the ports cluster before we commit it? I wonder how many ports this could break. I'm busy building 5.0-DP2 packages right now. I can give it a run after that though. Kris To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message