1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/japanese/kon2-16dot/files/patch-bd
Shigeyuki Fukushima a334a8034e Fix comiple-error.
But kon does not work on 4-current(with new syscons).
Now I'll fix this problem.

Submitted by:	Issei Suzuki <issei@issei.org>
Obtained from:	http://home.jp.freebsd.org/cgi-bin/showmail/ports-jp/8671
2000-01-30 12:59:16 +00:00

26 lines
657 B
Plaintext

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 @@
"\t andb %%bl, (%%eax)\n"
"\t incl %%eax\n"
"\t loop 1b\n"
- :
- : "eax" ((long)head), "bl" (0x7F), "c" (n)
+ : "=bl" (head), "=c" (n)
+ : "eax" ((long)head), "0" (0x7F), "1" (n)
: "bl", "cx" );
}
@@ -114,8 +114,8 @@
"\t andl %%ebx, (%%eax)\n"
"\t addl $4, %%eax\n"
"\t loop 1b\n"
- :
- : "eax" ((long)head), "ebx" (0x7F7F7F7F), "c" (n>>2)
+ : "=ebx" (head), "=c" (n)
+ : "eax" ((long)head), "0" (0x7F7F7F7F), "1" (n>>2)
: "ebx", "cx" );
}