[arch-commits] Commit in sdl/repos (22 files)

Jan Steffens heftig at archlinux.org
Mon Dec 19 13:50:56 UTC 2011


    Date: Monday, December 19, 2011 @ 08:50:56
  Author: heftig
Revision: 145195

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  sdl/repos/extra-i686/PKGBUILD
    (from rev 145194, sdl/trunk/PKGBUILD)
  sdl/repos/extra-i686/fs27469.patch
    (from rev 145194, sdl/trunk/fs27469.patch)
  sdl/repos/extra-i686/sdl-1.2.14-disable-mmx.patch
    (from rev 145194, sdl/trunk/sdl-1.2.14-disable-mmx.patch)
  sdl/repos/extra-i686/sdl-1.2.14-fix-disappearing-cursor.patch
    (from rev 145194, sdl/trunk/sdl-1.2.14-fix-disappearing-cursor.patch)
  sdl/repos/extra-i686/sdl-1.2.14-fix-mouse-clicking.patch
    (from rev 145194, sdl/trunk/sdl-1.2.14-fix-mouse-clicking.patch)
  sdl/repos/extra-i686/sdl-1.2.14-joystick-crash.diff
    (from rev 145194, sdl/trunk/sdl-1.2.14-joystick-crash.diff)
  sdl/repos/extra-x86_64/PKGBUILD
    (from rev 145194, sdl/trunk/PKGBUILD)
  sdl/repos/extra-x86_64/fs27469.patch
    (from rev 145194, sdl/trunk/fs27469.patch)
  sdl/repos/extra-x86_64/sdl-1.2.14-disable-mmx.patch
    (from rev 145194, sdl/trunk/sdl-1.2.14-disable-mmx.patch)
  sdl/repos/extra-x86_64/sdl-1.2.14-fix-disappearing-cursor.patch
    (from rev 145194, sdl/trunk/sdl-1.2.14-fix-disappearing-cursor.patch)
  sdl/repos/extra-x86_64/sdl-1.2.14-fix-mouse-clicking.patch
    (from rev 145194, sdl/trunk/sdl-1.2.14-fix-mouse-clicking.patch)
  sdl/repos/extra-x86_64/sdl-1.2.14-joystick-crash.diff
    (from rev 145194, sdl/trunk/sdl-1.2.14-joystick-crash.diff)
Deleted:
  sdl/repos/extra-i686/PKGBUILD
  sdl/repos/extra-i686/sdl-1.2.14-disable-mmx.patch
  sdl/repos/extra-i686/sdl-1.2.14-fix-disappearing-cursor.patch
  sdl/repos/extra-i686/sdl-1.2.14-fix-mouse-clicking.patch
  sdl/repos/extra-i686/sdl-1.2.14-joystick-crash.diff
  sdl/repos/extra-x86_64/PKGBUILD
  sdl/repos/extra-x86_64/sdl-1.2.14-disable-mmx.patch
  sdl/repos/extra-x86_64/sdl-1.2.14-fix-disappearing-cursor.patch
  sdl/repos/extra-x86_64/sdl-1.2.14-fix-mouse-clicking.patch
  sdl/repos/extra-x86_64/sdl-1.2.14-joystick-crash.diff

-------------------------------------------------------+
 extra-i686/PKGBUILD                                   |   85 ++++-----
 extra-i686/fs27469.patch                              |   23 ++
 extra-i686/sdl-1.2.14-disable-mmx.patch               |  146 ++++++++--------
 extra-i686/sdl-1.2.14-fix-disappearing-cursor.patch   |   34 +--
 extra-i686/sdl-1.2.14-fix-mouse-clicking.patch        |   46 ++---
 extra-i686/sdl-1.2.14-joystick-crash.diff             |   28 +--
 extra-x86_64/PKGBUILD                                 |   85 ++++-----
 extra-x86_64/fs27469.patch                            |   23 ++
 extra-x86_64/sdl-1.2.14-disable-mmx.patch             |  146 ++++++++--------
 extra-x86_64/sdl-1.2.14-fix-disappearing-cursor.patch |   34 +--
 extra-x86_64/sdl-1.2.14-fix-mouse-clicking.patch      |   46 ++---
 extra-x86_64/sdl-1.2.14-joystick-crash.diff           |   28 +--
 12 files changed, 388 insertions(+), 336 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-i686/PKGBUILD	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=sdl
-pkgver=1.2.14
-pkgrel=9
-pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
-arch=('i686' 'x86_64')
-url="http://www.libsdl.org"
-license=('LGPL')
-depends=('glibc' 'libxext' 'libxrender' 'libx11')
-makedepends=('alsa-lib' 'mesa' 'libpulse')
-options=('!libtool')
-source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
-        sdl-1.2.14-joystick-crash.diff
-        sdl-1.2.14-fix-mouse-clicking.patch
-        sdl-1.2.14-fix-disappearing-cursor.patch
-        sdl-1.2.14-disable-mmx.patch)
-md5sums=('e52086d1b508fa0b76c52ee30b55bec4'
-         '9d8890b3817736a5d365f7497f096634'
-         '04d8c179f125e04bcd4c9d60e013c2d7'
-         'a6cf3e71b653aa97d0d8ae6c0a789807'
-         '9ffecb9932a132ee5cefb4112e950761')
-
-build() {
-  cd ${srcdir}/SDL-${pkgver}
-  patch -Np1 -i $srcdir/sdl-1.2.14-joystick-crash.diff
-  patch -Np1 -i $srcdir/sdl-1.2.14-fix-mouse-clicking.patch
-  patch -Np1 -i $srcdir/sdl-1.2.14-fix-disappearing-cursor.patch
-  patch -Np1 -i $srcdir/sdl-1.2.14-disable-mmx.patch
-  ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \
-              --with-x --disable-rpath
-  make
-}
-
-package() {
-  cd ${srcdir}/SDL-${pkgver}
-  make DESTDIR=${pkgdir} install
-}

Copied: sdl/repos/extra-i686/PKGBUILD (from rev 145194, sdl/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=sdl
+pkgver=1.2.14
+pkgrel=10
+pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org"
+license=('LGPL')
+depends=('glibc' 'libxext' 'libxrender' 'libx11')
+makedepends=('alsa-lib' 'mesa' 'libpulse')
+options=('!libtool')
+source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
+        sdl-1.2.14-joystick-crash.diff
+        sdl-1.2.14-fix-mouse-clicking.patch
+        sdl-1.2.14-fix-disappearing-cursor.patch
+        sdl-1.2.14-disable-mmx.patch
+        fs27469.patch)
+md5sums=('e52086d1b508fa0b76c52ee30b55bec4'
+         '9d8890b3817736a5d365f7497f096634'
+         '04d8c179f125e04bcd4c9d60e013c2d7'
+         'a6cf3e71b653aa97d0d8ae6c0a789807'
+         '9ffecb9932a132ee5cefb4112e950761'
+         '89091617e27fcad64451bc0b28e48501')
+
+build() {
+  cd ${srcdir}/SDL-${pkgver}
+  patch -Np1 -i $srcdir/sdl-1.2.14-joystick-crash.diff
+  patch -Np1 -i $srcdir/sdl-1.2.14-fix-mouse-clicking.patch
+  patch -Np1 -i $srcdir/sdl-1.2.14-fix-disappearing-cursor.patch
+  patch -Np1 -i $srcdir/sdl-1.2.14-disable-mmx.patch
+  patch -Np1 -i $srcdir/fs27469.patch
+  ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \
+              --with-x --disable-rpath
+  make
+}
+
+package() {
+  cd ${srcdir}/SDL-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: sdl/repos/extra-i686/fs27469.patch (from rev 145194, sdl/trunk/fs27469.patch)
===================================================================
--- extra-i686/fs27469.patch	                        (rev 0)
+++ extra-i686/fs27469.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,23 @@
+
+# HG changeset patch
+# User Sam Lantinga <slouken at libsdl.org>
+# Date 1297938710 28800
+# Node ID d898ee5431f52dd630e311b325eb5a42c8607a60
+# Parent  6bb01861c4c0d28dcea67e04ef723feaaf730d07
+Fixed bug #1090 (SDL_BlitCopyOverlap() assumes memcpy() operates in order)
+
+The much more complete fix is in SDL 1.3, but this is a band-aid that will fix the bug for 1.2.
+
+diff -r 6bb01861c4c0 -r d898ee5431f5 src/video/SDL_blit.c
+--- a/src/video/SDL_blit.c	Wed Feb 16 04:49:07 2011 -0800
++++ b/src/video/SDL_blit.c	Thu Feb 17 02:31:50 2011 -0800
+@@ -214,7 +214,7 @@
+ 	dstskip = w+info->d_skip;
+ 	if ( dst < src ) {
+ 		while ( h-- ) {
+-			SDL_memcpy(dst, src, w);
++			SDL_memmove(dst, src, w);
+ 			src += srcskip;
+ 			dst += dstskip;
+ 		}
+

Deleted: extra-i686/sdl-1.2.14-disable-mmx.patch
===================================================================
--- extra-i686/sdl-1.2.14-disable-mmx.patch	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-i686/sdl-1.2.14-disable-mmx.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,73 +0,0 @@
-2 changesets to fix FS#26020
-
-# HG changeset patch
-# User Ryan C. Gordon <icculus at icculus.org>
-# Date 1315711279 14400
-# Node ID 739ad55fe50d77a2ce84d6e3d59e97c550719d0d
-# Parent  32558685a9042e79cb773c37c09349b0a5ff5d72
-Disabled MMX blitters on GCC. They break the build on tons of machines now.
-
-diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_RLEaccel.c
---- a/src/video/SDL_RLEaccel.c  Sat Sep 10 19:37:20 2011 -0400
-+++ b/src/video/SDL_RLEaccel.c  Sat Sep 10 23:21:19 2011 -0400
-@@ -91,7 +91,8 @@
- #include "SDL_blit.h"
- #include "SDL_RLEaccel_c.h"
- 
--#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
-+/* Force MMX to 0; this blows up on almost every major compiler now. --ryan. */
-+#if 0 && defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
- #define MMX_ASMBLIT
- #endif
- 
-diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_blit_A.c
---- a/src/video/SDL_blit_A.c    Sat Sep 10 19:37:20 2011 -0400
-+++ b/src/video/SDL_blit_A.c    Sat Sep 10 23:21:19 2011 -0400
-@@ -32,7 +32,8 @@
- 
- #if SDL_ASSEMBLY_ROUTINES
- #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
--#    define MMX_ASMBLIT 1
-+     /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
-+#    define MMX_ASMBLIT 0
- #    define GCC_ASMBLIT 1
- #  elif defined(_MSC_VER) && defined(_M_IX86)
- #    if (_MSC_VER <= 1200)  
-
-# HG changeset patch
-# User Ryan C. Gordon <icculus at icculus.org>
-# Date 1315939378 14400
-# Node ID 867c4c3604b79a810cf8ff16590001d9ef9c2824
-# Parent  614c2583703af89b3197f4fef73174ddc903eccf
-Turned off the rest of the MMX code in SDL_blit_A.c.
-
-It also seems to blow up everywhere.
-
-Fixes Bugzilla #1278.
-
-diff -r 614c2583703a -r 867c4c3604b7 src/video/SDL_blit_A.c
---- a/src/video/SDL_blit_A.c    Mon Sep 12 00:29:18 2011 -0400
-+++ b/src/video/SDL_blit_A.c    Tue Sep 13 14:42:58 2011 -0400
-@@ -34,7 +34,7 @@
- #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
-      /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
- #    define MMX_ASMBLIT 0
--#    define GCC_ASMBLIT 1
-+#    define GCC_ASMBLIT 0
- #  elif defined(_MSC_VER) && defined(_M_IX86)
- #    if (_MSC_VER <= 1200)  
- #      include <malloc.h>   
-
-# and another one from FS#26020
-
---- a/src/video/SDL_yuv_sw.c    2009-10-13 06:07:15.000000000 +0700
-+++ b/src/video/SDL_yuv_sw.c    2011-09-20 19:26:30.247742620 +0700
-@@ -89,6 +89,8 @@
- #include "SDL_yuvfuncs.h"
- #include "SDL_yuv_sw_c.h"
- 
-+#undef __OPTIMIZE__
-+
- /* The functions used to manipulate software video overlays */
- static struct private_yuvhwfuncs sw_yuvfuncs = {
- 	SDL_LockYUV_SW,

Copied: sdl/repos/extra-i686/sdl-1.2.14-disable-mmx.patch (from rev 145194, sdl/trunk/sdl-1.2.14-disable-mmx.patch)
===================================================================
--- extra-i686/sdl-1.2.14-disable-mmx.patch	                        (rev 0)
+++ extra-i686/sdl-1.2.14-disable-mmx.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,73 @@
+2 changesets to fix FS#26020
+
+# HG changeset patch
+# User Ryan C. Gordon <icculus at icculus.org>
+# Date 1315711279 14400
+# Node ID 739ad55fe50d77a2ce84d6e3d59e97c550719d0d
+# Parent  32558685a9042e79cb773c37c09349b0a5ff5d72
+Disabled MMX blitters on GCC. They break the build on tons of machines now.
+
+diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_RLEaccel.c
+--- a/src/video/SDL_RLEaccel.c  Sat Sep 10 19:37:20 2011 -0400
++++ b/src/video/SDL_RLEaccel.c  Sat Sep 10 23:21:19 2011 -0400
+@@ -91,7 +91,8 @@
+ #include "SDL_blit.h"
+ #include "SDL_RLEaccel_c.h"
+ 
+-#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
++/* Force MMX to 0; this blows up on almost every major compiler now. --ryan. */
++#if 0 && defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
+ #define MMX_ASMBLIT
+ #endif
+ 
+diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_blit_A.c
+--- a/src/video/SDL_blit_A.c    Sat Sep 10 19:37:20 2011 -0400
++++ b/src/video/SDL_blit_A.c    Sat Sep 10 23:21:19 2011 -0400
+@@ -32,7 +32,8 @@
+ 
+ #if SDL_ASSEMBLY_ROUTINES
+ #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
+-#    define MMX_ASMBLIT 1
++     /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
++#    define MMX_ASMBLIT 0
+ #    define GCC_ASMBLIT 1
+ #  elif defined(_MSC_VER) && defined(_M_IX86)
+ #    if (_MSC_VER <= 1200)  
+
+# HG changeset patch
+# User Ryan C. Gordon <icculus at icculus.org>
+# Date 1315939378 14400
+# Node ID 867c4c3604b79a810cf8ff16590001d9ef9c2824
+# Parent  614c2583703af89b3197f4fef73174ddc903eccf
+Turned off the rest of the MMX code in SDL_blit_A.c.
+
+It also seems to blow up everywhere.
+
+Fixes Bugzilla #1278.
+
+diff -r 614c2583703a -r 867c4c3604b7 src/video/SDL_blit_A.c
+--- a/src/video/SDL_blit_A.c    Mon Sep 12 00:29:18 2011 -0400
++++ b/src/video/SDL_blit_A.c    Tue Sep 13 14:42:58 2011 -0400
+@@ -34,7 +34,7 @@
+ #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
+      /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
+ #    define MMX_ASMBLIT 0
+-#    define GCC_ASMBLIT 1
++#    define GCC_ASMBLIT 0
+ #  elif defined(_MSC_VER) && defined(_M_IX86)
+ #    if (_MSC_VER <= 1200)  
+ #      include <malloc.h>   
+
+# and another one from FS#26020
+
+--- a/src/video/SDL_yuv_sw.c    2009-10-13 06:07:15.000000000 +0700
++++ b/src/video/SDL_yuv_sw.c    2011-09-20 19:26:30.247742620 +0700
+@@ -89,6 +89,8 @@
+ #include "SDL_yuvfuncs.h"
+ #include "SDL_yuv_sw_c.h"
+ 
++#undef __OPTIMIZE__
++
+ /* The functions used to manipulate software video overlays */
+ static struct private_yuvhwfuncs sw_yuvfuncs = {
+ 	SDL_LockYUV_SW,

Deleted: extra-i686/sdl-1.2.14-fix-disappearing-cursor.patch
===================================================================
--- extra-i686/sdl-1.2.14-fix-disappearing-cursor.patch	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-i686/sdl-1.2.14-fix-disappearing-cursor.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,17 +0,0 @@
-Index: SDL-1.2.14/src/video/x11/SDL_x11events.c
-===================================================================
---- SDL-1.2.14.orig/src/video/x11/SDL_x11events.c	2010-04-30 09:16:35.000000000 -0400
-+++ SDL-1.2.14/src/video/x11/SDL_x11events.c	2010-04-30 09:16:35.000000000 -0400
-@@ -444,8 +444,10 @@
- if ( xevent.xcrossing.mode == NotifyUngrab )
- printf("Mode: NotifyUngrab\n");
- #endif
--		if ( xevent.xcrossing.detail != NotifyInferior ) {
--			if ( this->input_grab == SDL_GRAB_OFF ) {
-+		if ( (xevent.xcrossing.mode != NotifyGrab) &&
-+		     (xevent.xcrossing.mode != NotifyUngrab) &&
-+		     (xevent.xcrossing.detail != NotifyInferior) ) {
-+               		if ( this->input_grab == SDL_GRAB_OFF ) {
- 				posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
- 			} else {
- 				posted = SDL_PrivateMouseMotion(0, 0,

Copied: sdl/repos/extra-i686/sdl-1.2.14-fix-disappearing-cursor.patch (from rev 145194, sdl/trunk/sdl-1.2.14-fix-disappearing-cursor.patch)
===================================================================
--- extra-i686/sdl-1.2.14-fix-disappearing-cursor.patch	                        (rev 0)
+++ extra-i686/sdl-1.2.14-fix-disappearing-cursor.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,17 @@
+Index: SDL-1.2.14/src/video/x11/SDL_x11events.c
+===================================================================
+--- SDL-1.2.14.orig/src/video/x11/SDL_x11events.c	2010-04-30 09:16:35.000000000 -0400
++++ SDL-1.2.14/src/video/x11/SDL_x11events.c	2010-04-30 09:16:35.000000000 -0400
+@@ -444,8 +444,10 @@
+ if ( xevent.xcrossing.mode == NotifyUngrab )
+ printf("Mode: NotifyUngrab\n");
+ #endif
+-		if ( xevent.xcrossing.detail != NotifyInferior ) {
+-			if ( this->input_grab == SDL_GRAB_OFF ) {
++		if ( (xevent.xcrossing.mode != NotifyGrab) &&
++		     (xevent.xcrossing.mode != NotifyUngrab) &&
++		     (xevent.xcrossing.detail != NotifyInferior) ) {
++               		if ( this->input_grab == SDL_GRAB_OFF ) {
+ 				posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
+ 			} else {
+ 				posted = SDL_PrivateMouseMotion(0, 0,

Deleted: extra-i686/sdl-1.2.14-fix-mouse-clicking.patch
===================================================================
--- extra-i686/sdl-1.2.14-fix-mouse-clicking.patch	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-i686/sdl-1.2.14-fix-mouse-clicking.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,23 +0,0 @@
---- SDL-1.2.14/src/video/x11/SDL_x11events.c.orig	2010-04-08 11:57:05.003169834 -0700
-+++ SDL-1.2.14/src/video/x11/SDL_x11events.c	2010-04-08 12:33:51.690926340 -0700
-@@ -423,12 +423,15 @@
- if ( xevent.xcrossing.mode == NotifyUngrab )
- printf("Mode: NotifyUngrab\n");
- #endif
--		if ( this->input_grab == SDL_GRAB_OFF ) {
--			posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
-+		if ( (xevent.xcrossing.mode != NotifyGrab) &&
-+		     (xevent.xcrossing.mode != NotifyUngrab) ) {
-+			if ( this->input_grab == SDL_GRAB_OFF ) {
-+				posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
-+			}
-+			posted = SDL_PrivateMouseMotion(0, 0,
-+					xevent.xcrossing.x,
-+					xevent.xcrossing.y);
- 		}
--		posted = SDL_PrivateMouseMotion(0, 0,
--				xevent.xcrossing.x,
--				xevent.xcrossing.y);
- 	    }
- 	    break;
- 

Copied: sdl/repos/extra-i686/sdl-1.2.14-fix-mouse-clicking.patch (from rev 145194, sdl/trunk/sdl-1.2.14-fix-mouse-clicking.patch)
===================================================================
--- extra-i686/sdl-1.2.14-fix-mouse-clicking.patch	                        (rev 0)
+++ extra-i686/sdl-1.2.14-fix-mouse-clicking.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,23 @@
+--- SDL-1.2.14/src/video/x11/SDL_x11events.c.orig	2010-04-08 11:57:05.003169834 -0700
++++ SDL-1.2.14/src/video/x11/SDL_x11events.c	2010-04-08 12:33:51.690926340 -0700
+@@ -423,12 +423,15 @@
+ if ( xevent.xcrossing.mode == NotifyUngrab )
+ printf("Mode: NotifyUngrab\n");
+ #endif
+-		if ( this->input_grab == SDL_GRAB_OFF ) {
+-			posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
++		if ( (xevent.xcrossing.mode != NotifyGrab) &&
++		     (xevent.xcrossing.mode != NotifyUngrab) ) {
++			if ( this->input_grab == SDL_GRAB_OFF ) {
++				posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
++			}
++			posted = SDL_PrivateMouseMotion(0, 0,
++					xevent.xcrossing.x,
++					xevent.xcrossing.y);
+ 		}
+-		posted = SDL_PrivateMouseMotion(0, 0,
+-				xevent.xcrossing.x,
+-				xevent.xcrossing.y);
+ 	    }
+ 	    break;
+ 

Deleted: extra-i686/sdl-1.2.14-joystick-crash.diff
===================================================================
--- extra-i686/sdl-1.2.14-joystick-crash.diff	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-i686/sdl-1.2.14-joystick-crash.diff	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,14 +0,0 @@
-Description: Fix crash with joystick detection.
-Index: libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c
-===================================================================
---- libsdl1.2-1.2.14.orig/src/joystick/linux/SDL_sysjoystick.c	2010-01-12 12:37:36.000000000 -0500
-+++ libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c	2010-01-12 12:38:27.000000000 -0500
-@@ -700,7 +700,7 @@
- 				continue;
- 			}
- 			if ( test_bit(i, absbit) ) {
--				int values[5];
-+				int values[6];
- 
- 				if ( ioctl(fd, EVIOCGABS(i), values) < 0 )
- 					continue;

Copied: sdl/repos/extra-i686/sdl-1.2.14-joystick-crash.diff (from rev 145194, sdl/trunk/sdl-1.2.14-joystick-crash.diff)
===================================================================
--- extra-i686/sdl-1.2.14-joystick-crash.diff	                        (rev 0)
+++ extra-i686/sdl-1.2.14-joystick-crash.diff	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,14 @@
+Description: Fix crash with joystick detection.
+Index: libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c
+===================================================================
+--- libsdl1.2-1.2.14.orig/src/joystick/linux/SDL_sysjoystick.c	2010-01-12 12:37:36.000000000 -0500
++++ libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c	2010-01-12 12:38:27.000000000 -0500
+@@ -700,7 +700,7 @@
+ 				continue;
+ 			}
+ 			if ( test_bit(i, absbit) ) {
+-				int values[5];
++				int values[6];
+ 
+ 				if ( ioctl(fd, EVIOCGABS(i), values) < 0 )
+ 					continue;

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-x86_64/PKGBUILD	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=sdl
-pkgver=1.2.14
-pkgrel=9
-pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
-arch=('i686' 'x86_64')
-url="http://www.libsdl.org"
-license=('LGPL')
-depends=('glibc' 'libxext' 'libxrender' 'libx11')
-makedepends=('alsa-lib' 'mesa' 'libpulse')
-options=('!libtool')
-source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
-        sdl-1.2.14-joystick-crash.diff
-        sdl-1.2.14-fix-mouse-clicking.patch
-        sdl-1.2.14-fix-disappearing-cursor.patch
-        sdl-1.2.14-disable-mmx.patch)
-md5sums=('e52086d1b508fa0b76c52ee30b55bec4'
-         '9d8890b3817736a5d365f7497f096634'
-         '04d8c179f125e04bcd4c9d60e013c2d7'
-         'a6cf3e71b653aa97d0d8ae6c0a789807'
-         '9ffecb9932a132ee5cefb4112e950761')
-
-build() {
-  cd ${srcdir}/SDL-${pkgver}
-  patch -Np1 -i $srcdir/sdl-1.2.14-joystick-crash.diff
-  patch -Np1 -i $srcdir/sdl-1.2.14-fix-mouse-clicking.patch
-  patch -Np1 -i $srcdir/sdl-1.2.14-fix-disappearing-cursor.patch
-  patch -Np1 -i $srcdir/sdl-1.2.14-disable-mmx.patch
-  ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \
-              --with-x --disable-rpath
-  make
-}
-
-package() {
-  cd ${srcdir}/SDL-${pkgver}
-  make DESTDIR=${pkgdir} install
-}

Copied: sdl/repos/extra-x86_64/PKGBUILD (from rev 145194, sdl/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=sdl
+pkgver=1.2.14
+pkgrel=10
+pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org"
+license=('LGPL')
+depends=('glibc' 'libxext' 'libxrender' 'libx11')
+makedepends=('alsa-lib' 'mesa' 'libpulse')
+options=('!libtool')
+source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
+        sdl-1.2.14-joystick-crash.diff
+        sdl-1.2.14-fix-mouse-clicking.patch
+        sdl-1.2.14-fix-disappearing-cursor.patch
+        sdl-1.2.14-disable-mmx.patch
+        fs27469.patch)
+md5sums=('e52086d1b508fa0b76c52ee30b55bec4'
+         '9d8890b3817736a5d365f7497f096634'
+         '04d8c179f125e04bcd4c9d60e013c2d7'
+         'a6cf3e71b653aa97d0d8ae6c0a789807'
+         '9ffecb9932a132ee5cefb4112e950761'
+         '89091617e27fcad64451bc0b28e48501')
+
+build() {
+  cd ${srcdir}/SDL-${pkgver}
+  patch -Np1 -i $srcdir/sdl-1.2.14-joystick-crash.diff
+  patch -Np1 -i $srcdir/sdl-1.2.14-fix-mouse-clicking.patch
+  patch -Np1 -i $srcdir/sdl-1.2.14-fix-disappearing-cursor.patch
+  patch -Np1 -i $srcdir/sdl-1.2.14-disable-mmx.patch
+  patch -Np1 -i $srcdir/fs27469.patch
+  ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \
+              --with-x --disable-rpath
+  make
+}
+
+package() {
+  cd ${srcdir}/SDL-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: sdl/repos/extra-x86_64/fs27469.patch (from rev 145194, sdl/trunk/fs27469.patch)
===================================================================
--- extra-x86_64/fs27469.patch	                        (rev 0)
+++ extra-x86_64/fs27469.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,23 @@
+
+# HG changeset patch
+# User Sam Lantinga <slouken at libsdl.org>
+# Date 1297938710 28800
+# Node ID d898ee5431f52dd630e311b325eb5a42c8607a60
+# Parent  6bb01861c4c0d28dcea67e04ef723feaaf730d07
+Fixed bug #1090 (SDL_BlitCopyOverlap() assumes memcpy() operates in order)
+
+The much more complete fix is in SDL 1.3, but this is a band-aid that will fix the bug for 1.2.
+
+diff -r 6bb01861c4c0 -r d898ee5431f5 src/video/SDL_blit.c
+--- a/src/video/SDL_blit.c	Wed Feb 16 04:49:07 2011 -0800
++++ b/src/video/SDL_blit.c	Thu Feb 17 02:31:50 2011 -0800
+@@ -214,7 +214,7 @@
+ 	dstskip = w+info->d_skip;
+ 	if ( dst < src ) {
+ 		while ( h-- ) {
+-			SDL_memcpy(dst, src, w);
++			SDL_memmove(dst, src, w);
+ 			src += srcskip;
+ 			dst += dstskip;
+ 		}
+

Deleted: extra-x86_64/sdl-1.2.14-disable-mmx.patch
===================================================================
--- extra-x86_64/sdl-1.2.14-disable-mmx.patch	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-x86_64/sdl-1.2.14-disable-mmx.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,73 +0,0 @@
-2 changesets to fix FS#26020
-
-# HG changeset patch
-# User Ryan C. Gordon <icculus at icculus.org>
-# Date 1315711279 14400
-# Node ID 739ad55fe50d77a2ce84d6e3d59e97c550719d0d
-# Parent  32558685a9042e79cb773c37c09349b0a5ff5d72
-Disabled MMX blitters on GCC. They break the build on tons of machines now.
-
-diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_RLEaccel.c
---- a/src/video/SDL_RLEaccel.c  Sat Sep 10 19:37:20 2011 -0400
-+++ b/src/video/SDL_RLEaccel.c  Sat Sep 10 23:21:19 2011 -0400
-@@ -91,7 +91,8 @@
- #include "SDL_blit.h"
- #include "SDL_RLEaccel_c.h"
- 
--#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
-+/* Force MMX to 0; this blows up on almost every major compiler now. --ryan. */
-+#if 0 && defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
- #define MMX_ASMBLIT
- #endif
- 
-diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_blit_A.c
---- a/src/video/SDL_blit_A.c    Sat Sep 10 19:37:20 2011 -0400
-+++ b/src/video/SDL_blit_A.c    Sat Sep 10 23:21:19 2011 -0400
-@@ -32,7 +32,8 @@
- 
- #if SDL_ASSEMBLY_ROUTINES
- #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
--#    define MMX_ASMBLIT 1
-+     /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
-+#    define MMX_ASMBLIT 0
- #    define GCC_ASMBLIT 1
- #  elif defined(_MSC_VER) && defined(_M_IX86)
- #    if (_MSC_VER <= 1200)  
-
-# HG changeset patch
-# User Ryan C. Gordon <icculus at icculus.org>
-# Date 1315939378 14400
-# Node ID 867c4c3604b79a810cf8ff16590001d9ef9c2824
-# Parent  614c2583703af89b3197f4fef73174ddc903eccf
-Turned off the rest of the MMX code in SDL_blit_A.c.
-
-It also seems to blow up everywhere.
-
-Fixes Bugzilla #1278.
-
-diff -r 614c2583703a -r 867c4c3604b7 src/video/SDL_blit_A.c
---- a/src/video/SDL_blit_A.c    Mon Sep 12 00:29:18 2011 -0400
-+++ b/src/video/SDL_blit_A.c    Tue Sep 13 14:42:58 2011 -0400
-@@ -34,7 +34,7 @@
- #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
-      /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
- #    define MMX_ASMBLIT 0
--#    define GCC_ASMBLIT 1
-+#    define GCC_ASMBLIT 0
- #  elif defined(_MSC_VER) && defined(_M_IX86)
- #    if (_MSC_VER <= 1200)  
- #      include <malloc.h>   
-
-# and another one from FS#26020
-
---- a/src/video/SDL_yuv_sw.c    2009-10-13 06:07:15.000000000 +0700
-+++ b/src/video/SDL_yuv_sw.c    2011-09-20 19:26:30.247742620 +0700
-@@ -89,6 +89,8 @@
- #include "SDL_yuvfuncs.h"
- #include "SDL_yuv_sw_c.h"
- 
-+#undef __OPTIMIZE__
-+
- /* The functions used to manipulate software video overlays */
- static struct private_yuvhwfuncs sw_yuvfuncs = {
- 	SDL_LockYUV_SW,

Copied: sdl/repos/extra-x86_64/sdl-1.2.14-disable-mmx.patch (from rev 145194, sdl/trunk/sdl-1.2.14-disable-mmx.patch)
===================================================================
--- extra-x86_64/sdl-1.2.14-disable-mmx.patch	                        (rev 0)
+++ extra-x86_64/sdl-1.2.14-disable-mmx.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,73 @@
+2 changesets to fix FS#26020
+
+# HG changeset patch
+# User Ryan C. Gordon <icculus at icculus.org>
+# Date 1315711279 14400
+# Node ID 739ad55fe50d77a2ce84d6e3d59e97c550719d0d
+# Parent  32558685a9042e79cb773c37c09349b0a5ff5d72
+Disabled MMX blitters on GCC. They break the build on tons of machines now.
+
+diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_RLEaccel.c
+--- a/src/video/SDL_RLEaccel.c  Sat Sep 10 19:37:20 2011 -0400
++++ b/src/video/SDL_RLEaccel.c  Sat Sep 10 23:21:19 2011 -0400
+@@ -91,7 +91,8 @@
+ #include "SDL_blit.h"
+ #include "SDL_RLEaccel_c.h"
+ 
+-#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
++/* Force MMX to 0; this blows up on almost every major compiler now. --ryan. */
++#if 0 && defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
+ #define MMX_ASMBLIT
+ #endif
+ 
+diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_blit_A.c
+--- a/src/video/SDL_blit_A.c    Sat Sep 10 19:37:20 2011 -0400
++++ b/src/video/SDL_blit_A.c    Sat Sep 10 23:21:19 2011 -0400
+@@ -32,7 +32,8 @@
+ 
+ #if SDL_ASSEMBLY_ROUTINES
+ #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
+-#    define MMX_ASMBLIT 1
++     /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
++#    define MMX_ASMBLIT 0
+ #    define GCC_ASMBLIT 1
+ #  elif defined(_MSC_VER) && defined(_M_IX86)
+ #    if (_MSC_VER <= 1200)  
+
+# HG changeset patch
+# User Ryan C. Gordon <icculus at icculus.org>
+# Date 1315939378 14400
+# Node ID 867c4c3604b79a810cf8ff16590001d9ef9c2824
+# Parent  614c2583703af89b3197f4fef73174ddc903eccf
+Turned off the rest of the MMX code in SDL_blit_A.c.
+
+It also seems to blow up everywhere.
+
+Fixes Bugzilla #1278.
+
+diff -r 614c2583703a -r 867c4c3604b7 src/video/SDL_blit_A.c
+--- a/src/video/SDL_blit_A.c    Mon Sep 12 00:29:18 2011 -0400
++++ b/src/video/SDL_blit_A.c    Tue Sep 13 14:42:58 2011 -0400
+@@ -34,7 +34,7 @@
+ #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
+      /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
+ #    define MMX_ASMBLIT 0
+-#    define GCC_ASMBLIT 1
++#    define GCC_ASMBLIT 0
+ #  elif defined(_MSC_VER) && defined(_M_IX86)
+ #    if (_MSC_VER <= 1200)  
+ #      include <malloc.h>   
+
+# and another one from FS#26020
+
+--- a/src/video/SDL_yuv_sw.c    2009-10-13 06:07:15.000000000 +0700
++++ b/src/video/SDL_yuv_sw.c    2011-09-20 19:26:30.247742620 +0700
+@@ -89,6 +89,8 @@
+ #include "SDL_yuvfuncs.h"
+ #include "SDL_yuv_sw_c.h"
+ 
++#undef __OPTIMIZE__
++
+ /* The functions used to manipulate software video overlays */
+ static struct private_yuvhwfuncs sw_yuvfuncs = {
+ 	SDL_LockYUV_SW,

Deleted: extra-x86_64/sdl-1.2.14-fix-disappearing-cursor.patch
===================================================================
--- extra-x86_64/sdl-1.2.14-fix-disappearing-cursor.patch	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-x86_64/sdl-1.2.14-fix-disappearing-cursor.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,17 +0,0 @@
-Index: SDL-1.2.14/src/video/x11/SDL_x11events.c
-===================================================================
---- SDL-1.2.14.orig/src/video/x11/SDL_x11events.c	2010-04-30 09:16:35.000000000 -0400
-+++ SDL-1.2.14/src/video/x11/SDL_x11events.c	2010-04-30 09:16:35.000000000 -0400
-@@ -444,8 +444,10 @@
- if ( xevent.xcrossing.mode == NotifyUngrab )
- printf("Mode: NotifyUngrab\n");
- #endif
--		if ( xevent.xcrossing.detail != NotifyInferior ) {
--			if ( this->input_grab == SDL_GRAB_OFF ) {
-+		if ( (xevent.xcrossing.mode != NotifyGrab) &&
-+		     (xevent.xcrossing.mode != NotifyUngrab) &&
-+		     (xevent.xcrossing.detail != NotifyInferior) ) {
-+               		if ( this->input_grab == SDL_GRAB_OFF ) {
- 				posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
- 			} else {
- 				posted = SDL_PrivateMouseMotion(0, 0,

Copied: sdl/repos/extra-x86_64/sdl-1.2.14-fix-disappearing-cursor.patch (from rev 145194, sdl/trunk/sdl-1.2.14-fix-disappearing-cursor.patch)
===================================================================
--- extra-x86_64/sdl-1.2.14-fix-disappearing-cursor.patch	                        (rev 0)
+++ extra-x86_64/sdl-1.2.14-fix-disappearing-cursor.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,17 @@
+Index: SDL-1.2.14/src/video/x11/SDL_x11events.c
+===================================================================
+--- SDL-1.2.14.orig/src/video/x11/SDL_x11events.c	2010-04-30 09:16:35.000000000 -0400
++++ SDL-1.2.14/src/video/x11/SDL_x11events.c	2010-04-30 09:16:35.000000000 -0400
+@@ -444,8 +444,10 @@
+ if ( xevent.xcrossing.mode == NotifyUngrab )
+ printf("Mode: NotifyUngrab\n");
+ #endif
+-		if ( xevent.xcrossing.detail != NotifyInferior ) {
+-			if ( this->input_grab == SDL_GRAB_OFF ) {
++		if ( (xevent.xcrossing.mode != NotifyGrab) &&
++		     (xevent.xcrossing.mode != NotifyUngrab) &&
++		     (xevent.xcrossing.detail != NotifyInferior) ) {
++               		if ( this->input_grab == SDL_GRAB_OFF ) {
+ 				posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
+ 			} else {
+ 				posted = SDL_PrivateMouseMotion(0, 0,

Deleted: extra-x86_64/sdl-1.2.14-fix-mouse-clicking.patch
===================================================================
--- extra-x86_64/sdl-1.2.14-fix-mouse-clicking.patch	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-x86_64/sdl-1.2.14-fix-mouse-clicking.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,23 +0,0 @@
---- SDL-1.2.14/src/video/x11/SDL_x11events.c.orig	2010-04-08 11:57:05.003169834 -0700
-+++ SDL-1.2.14/src/video/x11/SDL_x11events.c	2010-04-08 12:33:51.690926340 -0700
-@@ -423,12 +423,15 @@
- if ( xevent.xcrossing.mode == NotifyUngrab )
- printf("Mode: NotifyUngrab\n");
- #endif
--		if ( this->input_grab == SDL_GRAB_OFF ) {
--			posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
-+		if ( (xevent.xcrossing.mode != NotifyGrab) &&
-+		     (xevent.xcrossing.mode != NotifyUngrab) ) {
-+			if ( this->input_grab == SDL_GRAB_OFF ) {
-+				posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
-+			}
-+			posted = SDL_PrivateMouseMotion(0, 0,
-+					xevent.xcrossing.x,
-+					xevent.xcrossing.y);
- 		}
--		posted = SDL_PrivateMouseMotion(0, 0,
--				xevent.xcrossing.x,
--				xevent.xcrossing.y);
- 	    }
- 	    break;
- 

Copied: sdl/repos/extra-x86_64/sdl-1.2.14-fix-mouse-clicking.patch (from rev 145194, sdl/trunk/sdl-1.2.14-fix-mouse-clicking.patch)
===================================================================
--- extra-x86_64/sdl-1.2.14-fix-mouse-clicking.patch	                        (rev 0)
+++ extra-x86_64/sdl-1.2.14-fix-mouse-clicking.patch	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,23 @@
+--- SDL-1.2.14/src/video/x11/SDL_x11events.c.orig	2010-04-08 11:57:05.003169834 -0700
++++ SDL-1.2.14/src/video/x11/SDL_x11events.c	2010-04-08 12:33:51.690926340 -0700
+@@ -423,12 +423,15 @@
+ if ( xevent.xcrossing.mode == NotifyUngrab )
+ printf("Mode: NotifyUngrab\n");
+ #endif
+-		if ( this->input_grab == SDL_GRAB_OFF ) {
+-			posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
++		if ( (xevent.xcrossing.mode != NotifyGrab) &&
++		     (xevent.xcrossing.mode != NotifyUngrab) ) {
++			if ( this->input_grab == SDL_GRAB_OFF ) {
++				posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
++			}
++			posted = SDL_PrivateMouseMotion(0, 0,
++					xevent.xcrossing.x,
++					xevent.xcrossing.y);
+ 		}
+-		posted = SDL_PrivateMouseMotion(0, 0,
+-				xevent.xcrossing.x,
+-				xevent.xcrossing.y);
+ 	    }
+ 	    break;
+ 

Deleted: extra-x86_64/sdl-1.2.14-joystick-crash.diff
===================================================================
--- extra-x86_64/sdl-1.2.14-joystick-crash.diff	2011-12-19 13:48:23 UTC (rev 145194)
+++ extra-x86_64/sdl-1.2.14-joystick-crash.diff	2011-12-19 13:50:56 UTC (rev 145195)
@@ -1,14 +0,0 @@
-Description: Fix crash with joystick detection.
-Index: libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c
-===================================================================
---- libsdl1.2-1.2.14.orig/src/joystick/linux/SDL_sysjoystick.c	2010-01-12 12:37:36.000000000 -0500
-+++ libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c	2010-01-12 12:38:27.000000000 -0500
-@@ -700,7 +700,7 @@
- 				continue;
- 			}
- 			if ( test_bit(i, absbit) ) {
--				int values[5];
-+				int values[6];
- 
- 				if ( ioctl(fd, EVIOCGABS(i), values) < 0 )
- 					continue;

Copied: sdl/repos/extra-x86_64/sdl-1.2.14-joystick-crash.diff (from rev 145194, sdl/trunk/sdl-1.2.14-joystick-crash.diff)
===================================================================
--- extra-x86_64/sdl-1.2.14-joystick-crash.diff	                        (rev 0)
+++ extra-x86_64/sdl-1.2.14-joystick-crash.diff	2011-12-19 13:50:56 UTC (rev 145195)
@@ -0,0 +1,14 @@
+Description: Fix crash with joystick detection.
+Index: libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c
+===================================================================
+--- libsdl1.2-1.2.14.orig/src/joystick/linux/SDL_sysjoystick.c	2010-01-12 12:37:36.000000000 -0500
++++ libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c	2010-01-12 12:38:27.000000000 -0500
+@@ -700,7 +700,7 @@
+ 				continue;
+ 			}
+ 			if ( test_bit(i, absbit) ) {
+-				int values[5];
++				int values[6];
+ 
+ 				if ( ioctl(fd, EVIOCGABS(i), values) < 0 )
+ 					continue;




More information about the arch-commits mailing list