diff options
author | shige <shige@FreeBSD.org> | 2000-06-09 22:16:04 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2000-06-09 22:16:04 +0800 |
commit | b5e94f89b690f77e12e6799c4598aa5301192462 (patch) | |
tree | 600694e93aa49be5aa333fa552acb4fa25139ade /japanese | |
parent | 596f8b1b884ec95f48ed2253b4dbf9114855f94b (diff) | |
download | freebsd-ports-gnome-b5e94f89b690f77e12e6799c4598aa5301192462.tar.gz freebsd-ports-gnome-b5e94f89b690f77e12e6799c4598aa5301192462.tar.zst freebsd-ports-gnome-b5e94f89b690f77e12e6799c4598aa5301192462.zip |
Fix refresh screen problem.
Submitted by: Issei Suzuki <issei@issei.org>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/kon2-16dot/files/patch-bd | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/japanese/kon2-16dot/files/patch-bd b/japanese/kon2-16dot/files/patch-bd index a988fae8bbad..fe963c1be494 100644 --- a/japanese/kon2-16dot/files/patch-bd +++ b/japanese/kon2-16dot/files/patch-bd @@ -1,25 +1,37 @@ -diff -ur src/vc.c.old src/vc.c ---- src/vc.c.old Tue Jan 25 20:16:57 2000 -+++ src/vc.c Tue Jan 25 20:32:35 2000 -@@ -100,8 +100,8 @@ +--- src/vc.c.orig Fri Jun 9 04:14:43 2000 ++++ src/vc.c Fri Jun 9 04:27:53 2000 +@@ -95,28 +95,26 @@ + inline void blatch(void *head, int n) + { + +- __asm__("\t clc\n" ++ __asm__ volatile("\t clc\n" + "1:\n" "\t andb %%bl, (%%eax)\n" "\t incl %%eax\n" "\t loop 1b\n" - : - : "eax" ((long)head), "bl" (0x7F), "c" (n) +- : "bl", "cx" ); + : "=bl" (head), "=c" (n) -+ : "eax" ((long)head), "0" (0x7F), "1" (n) - : "bl", "cx" ); ++ : "eax" ((long)head), "0" (0x7F), "1" (n)); } -@@ -114,8 +114,8 @@ + static + inline void llatch(void *head, int n) + { + +- __asm__("\t clc\n" ++ __asm__ volatile("\t clc\n" + "1:\n" "\t andl %%ebx, (%%eax)\n" "\t addl $4, %%eax\n" "\t loop 1b\n" - : - : "eax" ((long)head), "ebx" (0x7F7F7F7F), "c" (n>>2) +- : "ebx", "cx" ); + : "=ebx" (head), "=c" (n) -+ : "eax" ((long)head), "0" (0x7F7F7F7F), "1" (n>>2) - : "ebx", "cx" ); ++ : "eax" ((long)head), "0" (0x7F7F7F7F), "1" (n>>2)); } + static inline u_int TextAddress(u_int x, u_int y) |