summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libsdl/files')
-rw-r--r--media-libs/libsdl/files/libsdl-1.2.11-no-inline-BlitRGBtoRGBPixelAlphaMMX3DNOW.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/libsdl/files/libsdl-1.2.11-no-inline-BlitRGBtoRGBPixelAlphaMMX3DNOW.patch b/media-libs/libsdl/files/libsdl-1.2.11-no-inline-BlitRGBtoRGBPixelAlphaMMX3DNOW.patch
new file mode 100644
index 000000000000..22695aa4d7fd
--- /dev/null
+++ b/media-libs/libsdl/files/libsdl-1.2.11-no-inline-BlitRGBtoRGBPixelAlphaMMX3DNOW.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/148186
+
+--- src/video/SDL_blit_A.c
++++ src/video/SDL_blit_A.c
+@@ -1621,7 +1621,7 @@ BlitRGBtoRGBPixelAlpha(SDL_BlitInfo * in
+
+ #if GCC_ASMBLIT
+ /* fast (as in MMX with prefetch) ARGB888->(A)RGB888 blending with pixel alpha */
+-inline static void BlitRGBtoRGBPixelAlphaMMX3DNOW(SDL_BlitInfo *info)
++static void BlitRGBtoRGBPixelAlphaMMX3DNOW(SDL_BlitInfo *info)
+ {
+ int width = info->d_width;
+ int height = info->d_height;