[patch] SDL-2.0 fixes for Solaris

Greetings,

I’ve attached an “hg export” patch that contains the following fixes
for Solaris builds for SDL 2.0:

Fix pulseaudio dynamic linking for Solaris builds.
Fix Solaris Studio compilation errors.
Fix sunaudio backend for SDL2.

I was able to run all of the graphical tests successfully. I also
verified that all three audio backends work as expected on Solaris
(audio (sun), dsp (oss), pulseaudio).

With that said, there are clearly some things that still need some
love. Part of that is likely breakage in the gate unrelated to Solaris,
and other things are where the backend probably hasn’t been written for
the platform.

I’ll get to those as soon as I can.

If the (SDL_BlitFunc) casts are surprising, they shouldn’t be, the
Studio compilers are very strict about C99 compliance.

-Shawn
-------------- next part --------------
A non-text attachment was scrubbed…
Name: solaris-sdl2.patch
Type: text/x-diff
Size: 20090 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130226/e99d6c0a/attachment-0001.patch

Sam? Ryan?

-ShawnOn 2013-02-26 06:52, Shawn Walker wrote:

Greetings,

I’ve attached an “hg export” patch that contains the following fixes
for Solaris builds for SDL 2.0:

Fix pulseaudio dynamic linking for Solaris builds.
Fix Solaris Studio compilation errors.
Fix sunaudio backend for SDL2.

I was able to run all of the graphical tests successfully. I also
verified that all three audio backends work as expected on Solaris
(audio (sun), dsp (oss), pulseaudio).

With that said, there are clearly some things that still need some
love. Part of that is likely breakage in the gate unrelated to
Solaris, and other things are where the backend probably hasn’t been
written for the platform.

I’ll get to those as soon as I can.

If the (SDL_BlitFunc) casts are surprising, they shouldn’t be, the
Studio compilers are very strict about C99 compliance.

Appled, thanks!On Mon, Feb 25, 2013 at 10:52 PM, Shawn Walker wrote:

Greetings,

I’ve attached an “hg export” patch that contains the following fixes for
Solaris builds for SDL 2.0:

Fix pulseaudio dynamic linking for Solaris builds.
Fix Solaris Studio compilation errors.
Fix sunaudio backend for SDL2.

I was able to run all of the graphical tests successfully. I also
verified that all three audio backends work as expected on Solaris (audio
(sun), dsp (oss), pulseaudio).

With that said, there are clearly some things that still need some love.
Part of that is likely breakage in the gate unrelated to Solaris, and
other things are where the backend probably hasn’t been written for the
platform.

I’ll get to those as soon as I can.

If the (SDL_BlitFunc) casts are surprising, they shouldn’t be, the Studio
compilers are very strict about C99 compliance.

-Shawn


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org