I am using SDL 1.3 on FreeBSD. I found two problems.
authorSam Lantinga <slouken@libsdl.org>
Sat, 01 Jan 2011 19:50:50 -0800
changeset 4944921637675f2c
parent 4943 f65299ded39c
child 4945 04c8581b729e
I am using SDL 1.3 on FreeBSD. I found two problems.

(1) SDL_atomic dummy version in SDL 1.3 is not used.
Because src/atomic/dummy/*.c are not used.

(2) Typo in src/joystick/bsd/SDL_sysjoystick.c.

Thanks,
IWATSUKI Hiroyuki
configure.in
src/joystick/bsd/SDL_sysjoystick.c
     1.1 --- a/configure.in	Sat Jan 01 19:46:36 2011 -0800
     1.2 +++ b/configure.in	Sat Jan 01 19:50:50 2011 -0800
     1.3 @@ -2826,6 +2826,12 @@
     1.4      fi
     1.5      SOURCES="$SOURCES $srcdir/src/loadso/dummy/*.c"
     1.6  fi
     1.7 +if test x$have_atomic != xyes; then
     1.8 +    if test x$enable_atomic = xyes; then
     1.9 +        AC_DEFINE(SDL_ATOMIC_DISABLED)
    1.10 +    fi
    1.11 +    SOURCES="$SOURCES $srcdir/src/atomic/dummy/*.c"
    1.12 +fi
    1.13  if test x$SDLMAIN_SOURCES = x; then
    1.14      SDLMAIN_SOURCES="$srcdir/src/main/dummy/*.c"
    1.15  fi
     2.1 --- a/src/joystick/bsd/SDL_sysjoystick.c	Sat Jan 01 19:46:36 2011 -0800
     2.2 +++ b/src/joystick/bsd/SDL_sysjoystick.c	Sat Jan 01 19:50:50 2011 -0800
     2.3 @@ -59,7 +59,7 @@
     2.4  #include <libusbhid.h>
     2.5  #endif
     2.6  
     2.7 -#ifdef defined(__FREEBSD__) || defined(__FreeBSD_kernel__)
     2.8 +#if defined(__FREEBSD__) || defined(__FreeBSD_kernel__)
     2.9  #ifndef __DragonFly__
    2.10  #include <osreldate.h>
    2.11  #endif