sdl.pc.in
author Sam Lantinga <slouken@libsdl.org>
Mon, 21 Sep 2009 07:32:26 +0000
branchSDL-1.2
changeset 4209 62e86ab81e3c
parent 4132 f7e5a35a1d0d
permissions -rw-r--r--
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.
     1 # sdl pkg-config source file
     2 
     3 prefix=@prefix@
     4 exec_prefix=@exec_prefix@
     5 libdir=@libdir@
     6 includedir=@includedir@
     7 
     8 Name: sdl
     9 Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.
    10 Version: @SDL_VERSION@
    11 Requires:
    12 Conflicts:
    13 Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
    14 Libs.private: @SDL_STATIC_LIBS@
    15 Cflags: -I${includedir}/SDL @SDL_CFLAGS@