diff options
author | Anders Nordby <anders@FreeBSD.org> | 2013-09-04 21:14:14 +0000 |
---|---|---|
committer | Anders Nordby <anders@FreeBSD.org> | 2013-09-04 21:14:14 +0000 |
commit | d8b0e5a7d7d78b28b099311555abbf220adff5d7 (patch) | |
tree | 4de350e9d77ddd5f5f1545e5cdd4ac99ec83b3da /sysutils/dmidecode | |
parent | 3671c29c62a7f5b2f638e87af26ed1a5076ecec6 (diff) | |
download | ports-d8b0e5a7d7d78b28b099311555abbf220adff5d7.tar.gz ports-d8b0e5a7d7d78b28b099311555abbf220adff5d7.zip |
Notes
Diffstat (limited to 'sysutils/dmidecode')
-rw-r--r-- | sysutils/dmidecode/Makefile | 2 | ||||
-rw-r--r-- | sysutils/dmidecode/distinfo | 4 | ||||
-rw-r--r-- | sysutils/dmidecode/files/patch-Makefile | 12 | ||||
-rw-r--r-- | sysutils/dmidecode/files/patch-dmidecode.c | 100 |
4 files changed, 8 insertions, 110 deletions
diff --git a/sysutils/dmidecode/Makefile b/sysutils/dmidecode/Makefile index d150caf8c18b..d8edd3e0a759 100644 --- a/sysutils/dmidecode/Makefile +++ b/sysutils/dmidecode/Makefile @@ -6,7 +6,7 @@ # PORTNAME= dmidecode -PORTVERSION= 2.11 +PORTVERSION= 2.12 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SAVANNAH} \ ftp://ftp.nuug.no/pub/anders/distfiles/ diff --git a/sysutils/dmidecode/distinfo b/sysutils/dmidecode/distinfo index c64aaa198ac9..19dc8731e013 100644 --- a/sysutils/dmidecode/distinfo +++ b/sysutils/dmidecode/distinfo @@ -1,2 +1,2 @@ -SHA256 (dmidecode-2.11.tar.bz2) = 6da5643479b3b591b71a91122a25b89b77920b66e1ad0a5162d3c75b50423b51 -SIZE (dmidecode-2.11.tar.bz2) = 54537 +SHA256 (dmidecode-2.12.tar.bz2) = 913ff3055d563a62a420789b8ee33b038de9afa18ea61254760ddf8ab87a5088 +SIZE (dmidecode-2.12.tar.bz2) = 55191 diff --git a/sysutils/dmidecode/files/patch-Makefile b/sysutils/dmidecode/files/patch-Makefile index 7a0d99e3a553..18b1d5be0600 100644 --- a/sysutils/dmidecode/files/patch-Makefile +++ b/sysutils/dmidecode/files/patch-Makefile @@ -1,15 +1,13 @@ ---- Makefile.orig 2010-10-11 10:08:16.000000000 -0400 -+++ Makefile 2011-03-18 12:55:54.000000000 -0400 -@@ -12,30 +12,30 @@ +--- Makefile.orig 2013-09-04 23:07:45.000000000 +0200 ++++ Makefile 2013-09-04 23:09:52.000000000 +0200 +@@ -12,30 +12,29 @@ # (at your option) any later version. # -CC = gcc -CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ -- -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -+CFLAGS+= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ -+ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -+CFLAGS+= ${CPPFLAGS} ++CFLAGS+= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ + -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef #CFLAGS += -DBIGENDIAN #CFLAGS += -DALIGNMENT_WORKAROUND diff --git a/sysutils/dmidecode/files/patch-dmidecode.c b/sysutils/dmidecode/files/patch-dmidecode.c deleted file mode 100644 index faafaecd723d..000000000000 --- a/sysutils/dmidecode/files/patch-dmidecode.c +++ /dev/null @@ -1,100 +0,0 @@ -diff -u dmidecode.c dmidecode.c ---- dmidecode.c 2011/01/25 16:19:42 1.167 -+++ dmidecode.c 2011/04/20 14:37:03 1.168 -@@ -707,6 +707,8 @@ - { 0x3A, "Athlon II Dual-Core M" }, - { 0x3B, "Opteron 6100" }, - { 0x3C, "Opteron 4100" }, -+ { 0x3D, "Opteron 6200" }, -+ { 0x3E, "Opteron 4200" }, - - { 0x40, "MIPS" }, - { 0x41, "MIPS R4000" }, -@@ -714,6 +716,10 @@ - { 0x43, "MIPS R4400" }, - { 0x44, "MIPS R4600" }, - { 0x45, "MIPS R10000" }, -+ { 0x46, "C-Series" }, -+ { 0x47, "E-Series" }, -+ { 0x48, "S-Series" }, -+ { 0x49, "G-Series" }, - - { 0x50, "SPARC" }, - { 0x51, "SuperSPARC" }, -@@ -997,7 +1003,8 @@ - sig = 1; - else if ((type >= 0x18 && type <= 0x1D) /* AMD */ - || type == 0x1F /* AMD */ -- || (type >= 0x38 && type <= 0x3C) /* AMD */ -+ || (type >= 0x38 && type <= 0x3E) /* AMD */ -+ || (type >= 0x46 && type <= 0x49) /* AMD */ - || (type >= 0x83 && type <= 0x8F) /* AMD */ - || (type >= 0xB6 && type <= 0xB7) /* AMD */ - || (type >= 0xE6 && type <= 0xEF)) /* AMD */ -@@ -1143,10 +1150,20 @@ - "Socket LGA1156", - "Socket LGA1567", - "Socket PGA988A", -- "Socket BGA1288" /* 0x20 */ -+ "Socket BGA1288", -+ "Socket rPGA988B", -+ "Socket BGA1023", -+ "Socket BGA1024", -+ "Socket BGA1155", -+ "Socket LGA1356", -+ "Socket LGA2011", -+ "Socket FS1", -+ "Socket FS2", -+ "Socket FM1", -+ "Socket FM2" /* 0x2A */ - }; - -- if (code >= 0x01 && code <= 0x20) -+ if (code >= 0x01 && code <= 0x2A) - return upgrade[code - 0x01]; - return out_of_spec; - } -@@ -1493,10 +1510,11 @@ - "24-way Set-associative", - "32-way Set-associative", - "48-way Set-associative", -- "64-way Set-associative" /* 0x0D */ -+ "64-way Set-associative", -+ "20-way Set-associative" /* 0x0E */ - }; - -- if (code >= 0x01 && code <= 0x0D) -+ if (code >= 0x01 && code <= 0x0E) - return type[code - 0x01]; - return out_of_spec; - } -@@ -1660,12 +1678,18 @@ - "PCI Express 2 x2", - "PCI Express 2 x4", - "PCI Express 2 x8", -- "PCI Express 2 x16", /* 0xB0 */ -+ "PCI Express 2 x16", -+ "PCI Express 3", -+ "PCI Express 3 x1", -+ "PCI Express 3 x2", -+ "PCI Express 3 x4", -+ "PCI Express 3 x8", -+ "PCI Express 3 x16" /* 0xB6 */ - }; - - if (code >= 0x01 && code <= 0x13) - return type[code - 0x01]; -- if (code >= 0xA0 && code <= 0xB0) -+ if (code >= 0xA0 && code <= 0xB6) - return type_0xA0[code - 0xA0]; - return out_of_spec; - } -@@ -2100,7 +2124,7 @@ - - if (code >= 0x01 && code <= 0x0A) - return location[code - 0x01]; -- if (code >= 0xA0 && code <= 0xA4) -+ if (code >= 0xA0 && code <= 0xA3) - return location_0xA0[code - 0xA0]; - return out_of_spec; - } |