Date: Wed, 9 Aug 2006 23:01:04 +0600 (YEKST) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: erik@smluc.org Subject: ports/101722: [PATCH] sysutils/x86info: update to 1.18 Message-ID: <20060809170104.24C9712C65@fonon.realnet> Resent-Message-ID: <200608091910.k79JAEND045294@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101722 >Category: ports >Synopsis: [PATCH] sysutils/x86info: update to 1.18 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 09 19:10:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug 2 21:44:37 MSD >Description: - Update to 1.18 - Fix pkg-descr (we don't support MSR reading on FreeBSD) I removed the following files: - files/patch-x86info.h Copy of this message was sent to (erik@smluc.org). >How-To-Repeat: >Fix: --- x86info-1.18.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/x86info/Makefile /var/tmp/ruby/x86info/Makefile --- /usr/ports/sysutils/x86info/Makefile Sat May 13 10:15:51 2006 +++ /var/tmp/ruby/x86info/Makefile Wed Aug 9 17:20:46 2006 @@ -6,7 +6,7 @@ # PORTNAME= x86info -PORTVERSION= 1.17 +PORTVERSION= 1.18 CATEGORIES= sysutils MASTER_SITES= http://www.codemonkey.org.uk/projects/x86info/ \ ${MASTER_SITE_SOURCEFORGE} diff -ruN --exclude=CVS /usr/ports/sysutils/x86info/distinfo /var/tmp/ruby/x86info/distinfo --- /usr/ports/sysutils/x86info/distinfo Mon Nov 28 01:37:19 2005 +++ /var/tmp/ruby/x86info/distinfo Wed Aug 9 17:20:50 2006 @@ -1,3 +1,3 @@ -MD5 (x86info-1.17.tgz) = bef27fba7b0c3a9aeda63372a670f3a9 -SHA256 (x86info-1.17.tgz) = c9f7a0183af65b8e7777757a9abe593caed7c4696d4af7421871243785aadeff -SIZE (x86info-1.17.tgz) = 51625 +MD5 (x86info-1.18.tgz) = 6886cbabc9c8155212b9a3d0b2d37a5f +SHA256 (x86info-1.18.tgz) = 9ef3bba774504a92518b2d7ba6a431f58d677c5c483cca79275a08e47a70f56f +SIZE (x86info-1.18.tgz) = 52374 diff -ruN --exclude=CVS /usr/ports/sysutils/x86info/files/patch-cpuid.c /var/tmp/ruby/x86info/files/patch-cpuid.c --- /usr/ports/sysutils/x86info/files/patch-cpuid.c Mon Nov 28 01:37:20 2005 +++ /var/tmp/ruby/x86info/files/patch-cpuid.c Wed Aug 9 22:54:20 2006 @@ -1,11 +1,11 @@ ---- cpuid.c.orig Sat Nov 26 20:51:01 2005 -+++ cpuid.c Sat Nov 26 20:51:24 2005 -@@ -40,7 +40,7 @@ - snprintf (cpuname,18, "/dev/cpu/%d/cpuid", CPU_number); - fh = open (cpuname, O_RDONLY); +--- cpuid.c.orig Wed Aug 9 22:54:05 2006 ++++ cpuid.c Wed Aug 9 22:54:20 2006 +@@ -42,7 +42,7 @@ + fh = open(cpuname, O_RDONLY); if (fh != -1) { -- lseek64 (fh, (off64_t)idx, SEEK_CUR); -+ lseek (fh, (off_t)idx, SEEK_CUR); - read (fh, &buffer[0], 16); - if (eax!=0) *eax = (*(unsigned *)(buffer )); - if (ebx!=0) *ebx = (*(unsigned *)(buffer+ 4)); + #ifndef S_SPLINT_S +- lseek64(fh, (off64_t)idx, SEEK_CUR); ++ lseek(fh, (off_t)idx, SEEK_CUR); + #endif + if (read(fh, &buffer[0], 16) == -1) { + perror(cpuname); diff -ruN --exclude=CVS /usr/ports/sysutils/x86info/files/patch-x86info.h /var/tmp/ruby/x86info/files/patch-x86info.h --- /usr/ports/sysutils/x86info/files/patch-x86info.h Wed Oct 5 20:40:25 2005 +++ /var/tmp/ruby/x86info/files/patch-x86info.h Thu Jan 1 05:00:00 1970 @@ -1,11 +0,0 @@ ---- x86info.h.orig Tue Oct 4 19:13:58 2005 -+++ x86info.h Tue Oct 4 19:14:04 2005 -@@ -1,7 +1,7 @@ - #ifndef _X86INFO_H - #define _X86INFO_H - --#include <linux/types.h> -+#include <sys/types.h> - typedef unsigned char u8; - typedef unsigned short u16; - typedef unsigned int u32; diff -ruN --exclude=CVS /usr/ports/sysutils/x86info/pkg-descr /var/tmp/ruby/x86info/pkg-descr --- /usr/ports/sysutils/x86info/pkg-descr Mon Oct 15 00:13:22 2001 +++ /var/tmp/ruby/x86info/pkg-descr Wed Aug 9 22:59:23 2006 @@ -1,3 +1,3 @@ The x86info utility displays information about each of the systems 80x86 -processors. Cache info, flags, registers, msr's, and processor -name/family/model are all displayed. +processors. Cache info, flags, registers, and processor name/family/model +are all displayed. --- x86info-1.18.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060809170104.24C9712C65>