Needed to bump the version again in order to get rid of the %preun.
[fedora-mingw.git] / SDL / SDL-1.2.12-x11dyn64.patch
1 diff -up SDL-1.2.12/configure.in.x11dyn64 SDL-1.2.12/configure.in
2 --- SDL-1.2.12/configure.in.x11dyn64    2007-08-27 18:18:28.000000000 +0200
3 +++ SDL-1.2.12/configure.in     2007-08-27 18:20:48.000000000 +0200
4 @@ -950,7 +950,8 @@ AC_HELP_STRING([--enable-x11-shared], [d
5                      ;;
6                  *)
7                      x11_lib_path=[`echo $X_LIBS | sed 's/.*-L\([^ ]*\).*/\1/'`]
8 -                    for path in $x11_lib_path /usr/lib /usr/X11/lib /usr/X11R6/lib; do
9 +                   pfx=${libdir##*/}
10 +                    for path in $x11_lib_path /usr/${pfx} /usr/lib /usr/X11/lib /usr/X11R6/lib; do
11                          if test "x$x11_lib" = "x"; then
12                              x11_lib=[`ls -- $path/libX11.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
13                              if test "x$x11_lib" = "x"; then