1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/japanese/kon2-16dot/files/patch-am
Shigeyuki Fukushima 0def7c196e Fix kon's vga/mmap code for 4-current or later with new sysncos ans vga/mmap.
# But 3.x-stable or former uses old code.
Thanks, yokota-san!

Submitted by:	Kazutaka YOKOTA <yokota@FreeBSD.org>
2000-01-31 05:47:45 +00:00

16 lines
343 B
Plaintext

--- include/vga.h.orig Fri Jan 24 16:08:01 1997
+++ include/vga.h Mon Jan 31 14:13:08 2000
@@ -59,7 +59,11 @@
#if defined(linux)
#define GRAPH_BASE 0xA0000
#elif defined(__FreeBSD__)
-#define GRAPH_BASE 0x0
+# if (__FreeBSD__ <= 3)
+# define GRAPH_BASE 0x0
+# else
+# define GRAPH_BASE 0xA0000
+# endif
#endif
#define FONT_SIZE 0x2000