Mon, 21 Sep 2009 10:23:19 +0000Fixed bug #674
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Sep 2009 10:23:19 +0000] rev 3293
Fixed bug #674

Matej 2009-01-08 09:25:34 PST

Hello,
I maintain a cross-platform project that uses SDL.
One of the users who runs OSX has told me that he has problems with linking to
SDL due to missing -framework option.
I think that the problem is because of this:
'sdl-config --libs' outputs '-L/opt/local/lib -lSDLmain -lSDL
-Wl,-framework,Cocoa'
All the options are passed to the linker except the last one. I think that the
good output should be just:
'-L/opt/local/lib -lSDLmain -lSDL -framework Cocoa'
since those options (--libs) are passed to the linker, so the '-Wl' option is
redundant and possibly harmful in this very case
I use autotools with libtool to do the build...
Regards,
Matej

Mon, 21 Sep 2009 09:21:00 +0000Fixed bug #615
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Sep 2009 09:21:00 +0000] rev 3292
Fixed bug #615

Scott McCreary 2008-08-21 10:48:14 PDT

This patch adds support for Haiku.
http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libsdl/SDL-1.2.13-haiku.diff
Haiku is an open-source recreation of BeOS. It has better POSIX compliance
than beOS did, and other improved features, which in some cases causes us to
have to "undo" previous BeOS workarounds.
Here's our port log entry for it, showing the steps to force the changes into
configure and Makefile:
http://ports.haiku-files.org/wiki/media-libs/libsdl/1.2.13/1
Note that this was only tried on 1.2.13 stable so far.
Haiku is using a newer config.guess / config.sub that doesn't yet seem to be in
the released libtool, so we are having to copy it in for now.
http://haiku-files.org/files/optional-packages/

Mon, 21 Sep 2009 09:16:35 +0000Added reminder to look into 2D vblank synchronization
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Sep 2009 09:16:35 +0000] rev 3291
Added reminder to look into 2D vblank synchronization

Mon, 21 Sep 2009 09:02:05 +0000Oh yeah, we have GLX support too.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Sep 2009 09:02:05 +0000] rev 3290
Oh yeah, we have GLX support too.

Mon, 21 Sep 2009 08:40:04 +0000Fixed bug #577
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Sep 2009 08:40:04 +0000] rev 3289
Fixed bug #577

Pierre Phaneuf 2008-05-01 10:29:16 PDT

SDL_VIDEO_DRIVER_X11 is not defined in SDL_config_macosx.h

There's a number of SDL_VIDEO_DRIVER_xxx defined in SDL_config_macosx.h, but
not that one, even though it is actually present.

Mon, 21 Sep 2009 08:31:02 +0000Fixed bug #591
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Sep 2009 08:31:02 +0000] rev 3288
Fixed bug #591

Wade Berrier 2008-05-28 11:09:42 PDT

configure.in will enable dynamic loading by default for modules, but some of
the checks only check /lib, /usr/lib, /usr/local/lib, etc...

It needs to also account for systems using /lib64, /usr/lib64, and
/usr/local/lib64.

For example, openSUSE x86_64 distro uses these style paths. Otherwise, i586
gets dynamically loaded, but x86_64 doesn't.

Mon, 21 Sep 2009 07:35:06 +0000Fixed bug #570
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Sep 2009 07:35:06 +0000] rev 3287
Fixed bug #570

SDL_SemWaitTimeout in src/thread/generic/SDL_syssem.c line 179 (SVN trunk):

--sem->count;

should be

if (retval == 0) {
--sem->count;
}

Without this, sem->count will underflow on timeout effectively breaking the
semaphore. It appears that the implementation has been wrong since the initial
revision.

Mon, 21 Sep 2009 05:24:54 +0000Fixed build on Mac OS X 10.4
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Sep 2009 05:24:54 +0000] rev 3286
Fixed build on Mac OS X 10.4

Sun, 20 Sep 2009 23:09:30 +0000Fall back to opaque sprite if no formats with alpha are supported.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Sep 2009 23:09:30 +0000] rev 3285
Fall back to opaque sprite if no formats with alpha are supported.

Sun, 20 Sep 2009 22:47:28 +0000Fixed compatibility with SDL 1.2 pixel format (24 bits per pixel of color data with 4 bytes per pixel == 32 bpp)
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Sep 2009 22:47:28 +0000] rev 3284
Fixed compatibility with SDL 1.2 pixel format (24 bits per pixel of color data with 4 bytes per pixel == 32 bpp)