summaryrefslogtreecommitdiff
path: root/devel/sdl12/files/patch-include_SDL__endian.h
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-16 18:37:05 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-16 18:37:05 +0000
commit529a050ac1ffa998c4c4e9046c44a946d169936f (patch)
tree44c9d3e24a586732fa666c0f957cef9466131907 /devel/sdl12/files/patch-include_SDL__endian.h
parentClearly state which version of SQLite is supported. (diff)
Update to 1.2.8
Notes
Notes: svn path=/head/; revision=126609
Diffstat (limited to 'devel/sdl12/files/patch-include_SDL__endian.h')
-rw-r--r--devel/sdl12/files/patch-include_SDL__endian.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/sdl12/files/patch-include_SDL__endian.h b/devel/sdl12/files/patch-include_SDL__endian.h
new file mode 100644
index 000000000000..17e22b689b04
--- /dev/null
+++ b/devel/sdl12/files/patch-include_SDL__endian.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- include/SDL_endian.h.orig
++++ include/SDL_endian.h
+@@ -68,7 +68,7 @@
+ #elif defined(__GNUC__) && defined(__x86_64__)
+ static __inline__ Uint16 SDL_Swap16(Uint16 x)
+ {
+- __asm__("xchgb %b0,%h0" : "=q" (x) : "0" (x));
++ __asm__("xchgb %b0,%h0" : "=Q" (x) : "0" (x));
+ return x;
+ }
+ #elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))