From 2fee11d77e254a8ade3868f0245432e9e70f0519 Mon Sep 17 00:00:00 2001 From: Stanislav Sedov Date: Sat, 2 Oct 2010 04:39:51 +0000 Subject: - Use native cpuid mode for now, because our kernel support seems to be somewhat incomplete. [1] - Bump portrevision. Reported by: Andriy Gapon [1] --- sysutils/x86info/Makefile | 1 + sysutils/x86info/files/patch-cpuid.c | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'sysutils') diff --git a/sysutils/x86info/Makefile b/sysutils/x86info/Makefile index 50b6b963ce05..6acaa5a8a9f4 100644 --- a/sysutils/x86info/Makefile +++ b/sysutils/x86info/Makefile @@ -7,6 +7,7 @@ PORTNAME= x86info PORTVERSION= 1.27 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://codemonkey.org.uk/projects/x86info/ \ http://codemonkey.org.uk/projects/x86info/old/ diff --git a/sysutils/x86info/files/patch-cpuid.c b/sysutils/x86info/files/patch-cpuid.c index b4b6acca00c4..42ce9b51f453 100644 --- a/sysutils/x86info/files/patch-cpuid.c +++ b/sysutils/x86info/files/patch-cpuid.c @@ -1,5 +1,5 @@ --- cpuid.c.orig 2010-09-08 12:19:56.000000000 -0700 -+++ cpuid.c 2010-10-01 04:06:00.000000000 -0700 ++++ cpuid.c 2010-10-01 21:37:48.000000000 -0700 @@ -23,8 +23,16 @@ #include @@ -70,7 +70,12 @@ if (ret) return ret; return 0; -@@ -106,7 +133,11 @@ +@@ -102,11 +129,15 @@ + unsigned int *ecx, + unsigned int *edx) + { +- static int nodriver=0; ++ static int nodriver=1; char cpuname[20]; unsigned char buffer[16]; int fh; -- cgit v1.2.3