Mercurial > sdl-ios-xcode
annotate README.BeOS @ 4137:be12463f31ea SDL-1.2
Date: Sat, 2 Feb 2008 22:08:05 +0100
From: Marcus von Appen
To: sdl@lists.libsdl.org
Subject: [SDL] [Patch] SDL-1.2 SDL_revcpy() asm patch for the cld flag
Hi,
as reported through the FreeBSD bug tracking system in SDL 1.2.13 (and
in the 1.2 branch, if I see that correctly) the SDL_revcpy() macro sets
the direction flag (std), but does not clear it afterwards (cld), which
is wrong according to the GCC and SYS V specs. This can cause some
weird side effects, which in turn can lead to memory corruption.
You can read the full report with a detailed description and test
program at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/120052
Attached is the submitted patch, which fixes the issue.
Regards
Marcus
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 04 Feb 2008 17:22:56 +0000 |
parents | e2641c13bf33 |
children |
rev | line source |
---|---|
1371
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 SDL on BeOS R5 |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 ============== |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 You can build SDL on BeOS like any other GNU style package. |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 e.g. ./configure && make && make install |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 By default it is installed in /boot/develop/tools/gnupro/{bin,lib,etc.} |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 Once you install SDL, you need to copy libSDL.so to /boot/home/config/lib, |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 so it can be found by the dynamic linker. |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 Enjoy! |
e2641c13bf33
Added a reminder on where to put libSDL.so
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 Sam Lantinga (slouken@libsdl.org) |