summaryrefslogtreecommitdiff
path: root/sysutils/cpu-x/files
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2018-05-04 12:00:26 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2018-05-04 12:00:26 +0000
commit16b12f228231f6abf3a0071758b32a9b47ba02f9 (patch)
tree8fee4184080f1e49dc0718d3130c922a10e6e0d4 /sysutils/cpu-x/files
parentmultimedia/simplescreenrecorder: unbreak with ffmpeg 4.0 (diff)
Version 3.2.2 was released for `sysutils/cpu-x', but it does not build on
FreeBSD as is (was fixed in master later). The patch which fixes the build is actually larger than the functional difference between the two versions, which is added support for Zen+ (Pinnacle Ridge) CPUs, so cherry-pick that instead and instruct our dear portscout to ignore version 3.2.2 for now. Reported by: portscout
Notes
Notes: svn path=/head/; revision=469022
Diffstat (limited to 'sysutils/cpu-x/files')
-rw-r--r--sysutils/cpu-x/files/patch-src_databases.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/cpu-x/files/patch-src_databases.h b/sysutils/cpu-x/files/patch-src_databases.h
new file mode 100644
index 000000000000..ff50ae31cb47
--- /dev/null
+++ b/sysutils/cpu-x/files/patch-src_databases.h
@@ -0,0 +1,19 @@
+--- src/databases.h.orig 2018-03-24 17:05:43 UTC
++++ src/databases.h
+@@ -101,7 +101,7 @@ const Technology_DB technology_amd[] =
+ { 1, -1, 20, 40 }, // Bobcat (Brazos Zacate)
+ { 1, 1, 21, 32 }, // Bulldozer
+ { 1, 96, 21, 28 }, // Bulldozer (Excavator: Carrizo)
+- { 1, -1, 23, 14 }, // Zen (Summit Ridge)
++ { 1, -1, 23, 14 }, // Zen (Summit Ridge/Raven Ridge)
+ { 2, -1, 16, 65 }, // K10 (Kuma/Agena)
+ { 2, -1, 20, 40 }, // Bobcat (Brazos Desna/Ontario)
+ { 2, -1, 21, 32 }, // Bulldozer (Piledriver: Vishera)
+@@ -115,6 +115,7 @@ const Technology_DB technology_amd[] =
+ { 8, -1, 6, 130 }, // K7 (Thoroughbred/Applebred)
+ { 8, -1, 15, 65 }, // K8 (Tyler)
+ { 8, -1, 21, 28 }, // Bulldozer (Steamroller: Godavari)
++ { 8, -1, 23, 12 }, // Zen+ (Pinnacle Ridge)
+ { 9, -1, 16, 45 }, // Magny-Cours (Opteron)
+ { 10, -1, 6, 130 }, // K7 (Barton)
+ { 10, -1, 16, 45 }, // K10 (Thuban)