aboutsummaryrefslogtreecommitdiff
path: root/sysutils/x86info
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-08-31 07:30:59 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-08-31 07:30:59 +0000
commit55170187b5c772b8d688903f04b62184568665f1 (patch)
tree81ab98299a1e557632870cbaf7bbecbccc7d619a /sysutils/x86info
parent12e5f4c9ed300107d803f5d697ab33fec2699156 (diff)
downloadports-55170187b5c772b8d688903f04b62184568665f1.tar.gz
ports-55170187b5c772b8d688903f04b62184568665f1.zip
Notes
Diffstat (limited to 'sysutils/x86info')
-rw-r--r--sysutils/x86info/Makefile5
-rw-r--r--sysutils/x86info/distinfo4
-rw-r--r--sysutils/x86info/files/patch-cpuid_UP.S15
3 files changed, 12 insertions, 12 deletions
diff --git a/sysutils/x86info/Makefile b/sysutils/x86info/Makefile
index e59eb8902e4b..b9f2e994cfe6 100644
--- a/sysutils/x86info/Makefile
+++ b/sysutils/x86info/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= x86info
-PORTVERSION= 1.12b
+PORTVERSION= 1.14
CATEGORIES= sysutils
MASTER_SITES= http://www.codemonkey.org.uk/projects/x86info/ \
${MASTER_SITE_SOURCEFORGE}
@@ -16,9 +16,10 @@ EXTRACT_SUFX= .tgz
MAINTAINER= erik@smluc.org
COMMENT= Utility to display information about the systems x86 processor(s)
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= i386 amd64
PLIST_FILES= bin/x86info
USE_REINPLACE= yes
+MAKE_ARGS= CFLAGS="${CFLAGS}"
post-patch:
.for file in x86info.h mptable.c
diff --git a/sysutils/x86info/distinfo b/sysutils/x86info/distinfo
index 16852045c515..2138d41d3925 100644
--- a/sysutils/x86info/distinfo
+++ b/sysutils/x86info/distinfo
@@ -1,2 +1,2 @@
-MD5 (x86info-1.12b.tgz) = 4f0ce10a00db5778b16a09f68f5f6767
-SIZE (x86info-1.12b.tgz) = 54200
+MD5 (x86info-1.14.tgz) = a819dcf9b5deff3dee383edffa81fbca
+SIZE (x86info-1.14.tgz) = 59072
diff --git a/sysutils/x86info/files/patch-cpuid_UP.S b/sysutils/x86info/files/patch-cpuid_UP.S
index e8e5c450c232..2c660e1ebeac 100644
--- a/sysutils/x86info/files/patch-cpuid_UP.S
+++ b/sysutils/x86info/files/patch-cpuid_UP.S
@@ -1,13 +1,13 @@
---- cpuid_UP.S.orig Tue Nov 26 20:20:07 2002
-+++ cpuid_UP.S Sun Aug 24 16:12:12 2003
-@@ -1,25 +1,8 @@
+--- cpuid_UP.S.orig Wed Aug 24 20:15:46 2005
++++ cpuid_UP.S Wed Aug 24 20:16:16 2005
+@@ -1,24 +1,9 @@
.align 4
.text
-#ifdef linux
-
.globl cpuid_UP
-- .type cpuid_UP,@function
+ .type cpuid_UP,@function
cpuid_UP:
-
-#else /* BSD or WIN32 */
@@ -22,7 +22,6 @@
-
-_cpuid_UP:
-#endif /* linux */
--
- pushl %ebp
- movl %esp,%ebp
- pushl %edi
+
+ #ifdef __x86_64__
+ /* x86_64 calling convention: Args passed in rdi, rsi, rdx, rcx, r8, r9;