View | Details | Raw Unified | Return to bug 101722
Collapse All | Expand All

(-)/var/tmp/ruby/x86info/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	x86info
8
PORTNAME=	x86info
9
PORTVERSION=	1.17
9
PORTVERSION=	1.18
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	http://www.codemonkey.org.uk/projects/x86info/ \
11
MASTER_SITES=	http://www.codemonkey.org.uk/projects/x86info/ \
12
		${MASTER_SITE_SOURCEFORGE}
12
		${MASTER_SITE_SOURCEFORGE}
(-)/var/tmp/ruby/x86info/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (x86info-1.17.tgz) = bef27fba7b0c3a9aeda63372a670f3a9
1
MD5 (x86info-1.18.tgz) = 6886cbabc9c8155212b9a3d0b2d37a5f
2
SHA256 (x86info-1.17.tgz) = c9f7a0183af65b8e7777757a9abe593caed7c4696d4af7421871243785aadeff
2
SHA256 (x86info-1.18.tgz) = 9ef3bba774504a92518b2d7ba6a431f58d677c5c483cca79275a08e47a70f56f
3
SIZE (x86info-1.17.tgz) = 51625
3
SIZE (x86info-1.18.tgz) = 52374
(-)/var/tmp/ruby/x86info/files/patch-cpuid.c (-10 / +10 lines)
Lines 1-11 Link Here
1
--- cpuid.c.orig	Sat Nov 26 20:51:01 2005
1
--- cpuid.c.orig	Wed Aug  9 22:54:05 2006
2
+++ cpuid.c	Sat Nov 26 20:51:24 2005
2
+++ cpuid.c	Wed Aug  9 22:54:20 2006
3
@@ -40,7 +40,7 @@
3
@@ -42,7 +42,7 @@
4
 	snprintf (cpuname,18, "/dev/cpu/%d/cpuid", CPU_number);
4
 	fh = open(cpuname, O_RDONLY);
5
 	fh = open (cpuname, O_RDONLY);
6
 	if (fh != -1) {
5
 	if (fh != -1) {
7
-		lseek64 (fh, (off64_t)idx, SEEK_CUR);
6
 #ifndef S_SPLINT_S
8
+		lseek (fh, (off_t)idx, SEEK_CUR);
7
-		lseek64(fh, (off64_t)idx, SEEK_CUR);
9
 		read (fh, &buffer[0], 16);
8
+		lseek(fh, (off_t)idx, SEEK_CUR);
10
 		if (eax!=0)	*eax = (*(unsigned *)(buffer   ));
9
 #endif
11
 		if (ebx!=0)	*ebx = (*(unsigned *)(buffer+ 4));
10
 		if (read(fh, &buffer[0], 16) == -1) {
11
 			perror(cpuname);
(-)/var/tmp/ruby/x86info/files/patch-x86info.h (-11 lines)
Lines 1-11 Link Here
1
--- x86info.h.orig	Tue Oct  4 19:13:58 2005
2
+++ x86info.h	Tue Oct  4 19:14:04 2005
3
@@ -1,7 +1,7 @@
4
 #ifndef _X86INFO_H
5
 #define _X86INFO_H
6
 
7
-#include <linux/types.h>
8
+#include <sys/types.h>
9
 typedef unsigned char u8;
10
 typedef unsigned short u16;
11
 typedef unsigned int u32;
(-)/var/tmp/ruby/x86info/pkg-descr (-2 / +2 lines)
Lines 1-3 Link Here
1
The x86info utility displays information about each of the systems 80x86
1
The x86info utility displays information about each of the systems 80x86
2
processors. Cache info, flags, registers, msr's, and processor 
2
processors. Cache info, flags, registers, and processor name/family/model
3
name/family/model are all displayed.
3
are all displayed.

Return to bug 101722