summaryrefslogtreecommitdiff
path: root/sysutils/intel-pcm-devel/files/patch-pci.cpp
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2018-04-07 14:35:13 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2018-04-07 14:35:13 +0000
commit48d9e5ceb9f098bd4e85618c243dce6fd4fbff75 (patch)
tree54d84d31eb9216a0116cda2b1d2f27a1a2c73bea /sysutils/intel-pcm-devel/files/patch-pci.cpp
parentUpdate Mojolicious to 7.73 (diff)
Add sysutils/intel-pcm-devel: Process Count Monitor (PCM) for Intel processors
Processor Counter Monitor (PCM) is an application programming interface (API) and a set of tools based on the API to monitor performance and energy metrics of Intel(r) Core(tm), Xeon(r) and Atom(tm) processors. This requires the 'cpuctl' module to be loaded. WWW: https://github.com/opcm/pcm PR: 227317 Submitted by: Vinícius Zavam <egypcio@googlemail.com> Differential Revision: https://reviews.freebsd.org/D14986
Notes
Notes: svn path=/head/; revision=466729
Diffstat (limited to 'sysutils/intel-pcm-devel/files/patch-pci.cpp')
-rw-r--r--sysutils/intel-pcm-devel/files/patch-pci.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/intel-pcm-devel/files/patch-pci.cpp b/sysutils/intel-pcm-devel/files/patch-pci.cpp
new file mode 100644
index 000000000000..b0d2f9413318
--- /dev/null
+++ b/sysutils/intel-pcm-devel/files/patch-pci.cpp
@@ -0,0 +1,10 @@
+--- pci.cpp.orig 2017-05-15 10:43:22 UTC
++++ pci.cpp
+@@ -17,6 +17,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+
+ #include <iostream>
+ #include <stdio.h>
++#include <strings.h> //for bzero
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>