aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-07-15 02:19:40 +0800
committersobomax <sobomax@FreeBSD.org>2003-07-15 02:19:40 +0800
commitd91869144e77914190424a30fed93c1da0dd7a59 (patch)
treeac41acf9f41e722553d2f034dded8c2eebb63d57
parent079eca8819eb762dcd02e7b8e10cc3fa975410f6 (diff)
downloadfreebsd-ports-gnome-d91869144e77914190424a30fed93c1da0dd7a59.tar.gz
freebsd-ports-gnome-d91869144e77914190424a30fed93c1da0dd7a59.tar.zst
freebsd-ports-gnome-d91869144e77914190424a30fed93c1da0dd7a59.zip
Fix on -current with gcc 3.3.
-rw-r--r--devel/sdl12/files/patch-src::video::SDL_stretch.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/sdl12/files/patch-src::video::SDL_stretch.c b/devel/sdl12/files/patch-src::video::SDL_stretch.c
new file mode 100644
index 000000000000..4bb10b67a2a0
--- /dev/null
+++ b/devel/sdl12/files/patch-src::video::SDL_stretch.c
@@ -0,0 +1,18 @@
+
+$FreeBSD$
+
+--- src/video/SDL_stretch.c 2003/07/14 18:17:21 1.1
++++ src/video/SDL_stretch.c 2003/07/14 18:18:39
+@@ -261,9 +261,9 @@
+ break;
+ default:
+ #ifdef __GNUC__
+- __asm__ __volatile__ ("
+- call _copy_row
+- "
++ __asm__ __volatile__ (""
++ " call _copy_row"
++ ""
+ : "=&D" (u1), "=&S" (u2)
+ : "0" (dstp), "1" (srcp)
+ : "memory" );