Hi,
the patch provided by Christoph is for an older version of libsdl (the one
shipped by FreeBSD). But it works well for the Debian version, the offset is ten
lines in SDL_stdinc.h

Should you like an patch for the version shipped by Debian (libsdl1.2-dev
1.2.13-1), use the one attached to this e-mail.

Kind regards,
Kai



-- 

Kai Wasserbäch (Kai Wasserbaech)

E-Mail: [EMAIL PROTECTED]
Jabber (debianforum.de): Drizzt
URL: http://wiki.debianforum.de/Drizzt_Do%27Urden
GnuPG: 0xE1DE59D2      0600 96CE F3C8 E733 E5B6 1587 A309 D76C E1DE 59D2
(http://pgpkeys.pca.dfn.de/pks/lookup?search=0xE1DE59D2&fingerprint=on&hash=on&op=vindex)


--- /usr/include/SDL/SDL_stdinc.h       2008-01-02 19:28:38.000000000 +0100
+++ SDL_stdinc.h        2008-01-28 09:05:53.000000000 +0100
@@ -329,6 +329,7 @@
        __asm__ __volatile__ (                          \
                "std\n\t"                               \
                "rep ; movsl\n\t"                       \
+               "cld\n\t"                               \
                : "=&c" (u0), "=&D" (u1), "=&S" (u2)    \
                : "0" (n >> 2),                         \
                  "1" (dstp+(n-4)), "2" (srcp+(n-4))    \

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to