[arch-commits] Commit in sdl/trunk (PKGBUILD sdl-1.2.14-disable-mmx.patch)
Jan Steffens
heftig at archlinux.org
Wed Sep 21 12:30:37 UTC 2011
Date: Wednesday, September 21, 2011 @ 08:30:37
Author: heftig
Revision: 138375
upgpkg: sdl 1.2.14-9
add one more anti-mmx patch
Modified:
sdl/trunk/PKGBUILD
sdl/trunk/sdl-1.2.14-disable-mmx.patch
------------------------------+
PKGBUILD | 4 ++--
sdl-1.2.14-disable-mmx.patch | 14 ++++++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-09-21 12:26:12 UTC (rev 138374)
+++ PKGBUILD 2011-09-21 12:30:37 UTC (rev 138375)
@@ -5,7 +5,7 @@
pkgname=sdl
pkgver=1.2.14
-pkgrel=8
+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"
@@ -22,7 +22,7 @@
'9d8890b3817736a5d365f7497f096634'
'04d8c179f125e04bcd4c9d60e013c2d7'
'a6cf3e71b653aa97d0d8ae6c0a789807'
- 'e5e89389a55cd7a2fee44cb53af8dd6e')
+ '9ffecb9932a132ee5cefb4112e950761')
build() {
cd ${srcdir}/SDL-${pkgver}
Modified: sdl-1.2.14-disable-mmx.patch
===================================================================
--- sdl-1.2.14-disable-mmx.patch 2011-09-21 12:26:12 UTC (rev 138374)
+++ sdl-1.2.14-disable-mmx.patch 2011-09-21 12:30:37 UTC (rev 138375)
@@ -57,3 +57,17 @@
# 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,
More information about the arch-commits
mailing list