diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-12 23:29:24 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 23:29:24 +0200 |
commit | 433652987873bb7e1bb654dcbfeaa9225d9fbe5a (patch) | |
tree | 7260a2ab50dac4b2b18d80235130e32cc82556ae /games/koules/patches/no_inline_asm.diff | |
parent | ded2ffc51a4b5e5d54d17b05b8cde862c8951c6b (diff) | |
download | slackbuilds-433652987873bb7e1bb654dcbfeaa9225d9fbe5a.tar.gz slackbuilds-433652987873bb7e1bb654dcbfeaa9225d9fbe5a.tar.xz |
games/koules: Added to 12.2 repository
Diffstat (limited to 'games/koules/patches/no_inline_asm.diff')
-rw-r--r-- | games/koules/patches/no_inline_asm.diff | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games/koules/patches/no_inline_asm.diff b/games/koules/patches/no_inline_asm.diff new file mode 100644 index 0000000000..95c02bcf78 --- /dev/null +++ b/games/koules/patches/no_inline_asm.diff @@ -0,0 +1,48 @@ +diff -Naur koules1.4/xlib/shmbitmap.c koules1.4.patched/xlib/shmbitmap.c +--- koules1.4/xlib/shmbitmap.c 1998-03-04 13:59:19.000000000 -0500 ++++ koules1.4.patched/xlib/shmbitmap.c 2009-04-15 06:44:35.000000000 -0400 +@@ -237,7 +237,7 @@ + #define __clipy1 0 + #undef __clipy2 + #define __clipy2 (MAPHEIGHT+19) +-#ifdef __i386__ ++#if 0 + static INLINE int + muldiv64 (int CONST m1, int CONST m2, int CONST d) + { +@@ -333,7 +333,7 @@ + } + if (r1 & 1) + { /* left */ +-#ifdef __i386__ ++#if 0 + y1 += muldiv64 (__clipx1 - x1, y2 - y1, x2 - x1); + #else + y1 += (long) (__clipx1 - x1) * (long) (y2 - y1) / (long) (x2 - x1); +@@ -342,7 +342,7 @@ + } + else if (r1 & 2) + { /* right */ +-#ifdef __i386__ ++#if 0 + y1 += muldiv64 (__clipx2 - x1, y2 - y1, x2 - x1); + #else + y1 += (long) (__clipx2 - x1) * (long) (y2 - y1) / (long) (x2 - x1); +@@ -351,7 +351,7 @@ + } + else if (r1 & 4) + { /* top */ +-#ifdef __i386__ ++#if 0 + x1 += muldiv64 (__clipy1 - y1, x2 - x1, y2 - y1); + #else + x1 += (long) (__clipy1 - y1) * (long) (x2 - x1) / (long) (y2 - y1); +@@ -360,7 +360,7 @@ + } + else if (r1 & 8) + { /* bottom */ +-#ifdef __i386__ ++#if 0 + x1 += muldiv64 (__clipy2 - y1, x2 - x1, y2 - y1); + #else + x1 += (long) (__clipy2 - y1) * (long) (x2 - x1) / (long) (y2 - y1); |