summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhira <hira>2004-11-28 11:26:44 +0000
committerhira <hira>2004-11-28 11:26:44 +0000
commit0c6a93bce484c82092bc35da97abdbecbf2038eb (patch)
tree6abb863f506e18c6583a57cf1291bd7907f2a307 /sysutils
parentb7b3932f51523e5ec5fed1ec594b480423eb706e (diff)
downloadpkgsrc-0c6a93bce484c82092bc35da97abdbecbf2038eb.tar.gz
Use x86_64_iopl() instead of i386_iopl() on NetBSD/amd64.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mbmon/distinfo3
-rw-r--r--sysutils/mbmon/patches/patch-ae14
2 files changed, 16 insertions, 1 deletions
diff --git a/sysutils/mbmon/distinfo b/sysutils/mbmon/distinfo
index 769860e374a..78f39001a7f 100644
--- a/sysutils/mbmon/distinfo
+++ b/sysutils/mbmon/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2004/11/22 20:15:29 wiz Exp $
+$NetBSD: distinfo,v 1.10 2004/11/28 11:26:44 hira Exp $
SHA1 (xmbmon205.tar.gz) = 4fc4b1442a6e638b2c5cbcf9b26ca17465b0da70
Size (xmbmon205.tar.gz) = 142987 bytes
@@ -7,3 +7,4 @@ Size (xmbmon205conf.tar.gz) = 32462 bytes
SHA1 (patch-aa) = 911efa33ae462e32963936249df1d0ab5036f006
SHA1 (patch-ab) = 9b578976808160e960a77079f86621de0b6ccdf3
SHA1 (patch-ac) = b9866fee24c4dd6652e59b23149fe01cb0253bed
+SHA1 (patch-ae) = 422e3fc2012afadbb536a26b9966799eadad2d4a
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;