From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libsdl/files: libsdl-1.2.13-cld.patch |
Date: | Sun, 20 Apr 2008 08:51:35 |
Message-Id: | E1JnVGm-0001iW-Ov@stork.gentoo.org |
1 | vapier 08/04/20 08:51:32 |
2 | |
3 | Added: libsdl-1.2.13-cld.patch |
4 | Log: |
5 | Add fix from upstream for the cld issue on x86 #217097 by Peter Alfredsen. |
6 | (Portage version: 2.2_pre5) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-libs/libsdl/files/libsdl-1.2.13-cld.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsdl/files/libsdl-1.2.13-cld.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsdl/files/libsdl-1.2.13-cld.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: libsdl-1.2.13-cld.patch |
15 | =================================================================== |
16 | fix from upstream for the cld issue on x86 |
17 | |
18 | http://bugs.gentoo.org/217097 |
19 | |
20 | --- include/SDL_stdinc.h (revision 3535) |
21 | +++ include/SDL_stdinc.h (revision 3536) |
22 | @@ -373,6 +373,7 @@ do { \ |
23 | __asm__ __volatile__ ( \ |
24 | "std\n\t" \ |
25 | "rep ; movsl\n\t" \ |
26 | + "cld\n\t" \ |
27 | : "=&c" (u0), "=&D" (u1), "=&S" (u2) \ |
28 | : "0" (n >> 2), \ |
29 | "1" (dstp+(n-4)), "2" (srcp+(n-4)) \ |
30 | |
31 | |
32 | |
33 | -- |
34 | gentoo-commits@l.g.o mailing list |