diff options
Diffstat (limited to 'sysutils/mbmon/patches/patch-ae')
-rw-r--r-- | sysutils/mbmon/patches/patch-ae | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/mbmon/patches/patch-ae b/sysutils/mbmon/patches/patch-ae new file mode 100644 index 00000000000..0caab5fcdbf --- /dev/null +++ b/sysutils/mbmon/patches/patch-ae @@ -0,0 +1,14 @@ +$NetBSD: patch-ae,v 1.1 2004/11/28 11:26:44 hira Exp $ + +--- io_cpu.h.orig 2004-11-28 20:10:23.000000000 +0900 ++++ io_cpu.h 2004-11-28 20:10:52.000000000 +0900 +@@ -21,6 +21,9 @@ + #include "machine/sysarch.h" + #define SET_IOPL() i386_iopl(1) + #define RESET_IOPL() i386_iopl(0) ++# ifdef __amd64__ ++# define i386_iopl x86_64_iopl ++# endif + + #else /* FreeBSD */ + extern int iofl; |