Patches for OpenSolaris

Ian Monroe ian.monroe at gmail.com
Thu Jan 22 16:30:22 CET 2009


On Thu, Jan 22, 2009 at 8:49 AM, Adriaan de Groot <groot at kde.org> wrote:
> On Thursday 22 January 2009 03:28:51 Seb Ruiz wrote:
>> 2009/1/22 Adriaan de Groot <groot at kde.org>:
>> > On Wednesday 21 January 2009 22:16:37 Casey Link wrote:
>> >> > The amarok-wide patch is rather klumky, since it just forces in the
>> >> > Solaris wide character functions instead of doing some suitable
>> >> > conditional compilation. I'd be ok with maintaing this one separately.
>> >>
>> >> Applying this patch gives me the following compilation error on g++/gcc
>> >> 4.3.2 : src/metadata/tfile_helper.cpp:23:19: error: widec.h: No such
>> >> file or directory
>>
>> Is there no Solaris #ifdef we could use?
>
> #if defined(Q_OS_SOLARIS)
>
> that's the usual Qt solution for detecting the OS; since I'm not entirely sure
> about gcc in this context (I don't support it, but people are going to try to
> use it to compile KDE4 on Solaris) so in addition
>
> && defined(__SUNPRO_CC)
>
> should be used so you get this code only on Amarok-on-Solaris-with-SS12.
>
> [ade]

Qt defines likely aren't being included in src/metadata, since they
are taglib plugins.

Ian


More information about the Amarok-devel mailing list