ports/sysutils/intel-pcm/files/patch-cpucounters-cpp
Warner Losh af83d59863 Move to using a cached copy of Intel's zip file, per their request. Pull
in the fix from git to make cpucounters.cpp compile.
2014-03-12 22:43:12 +00:00

12 lines
355 B
Text

diff -ru cpucounters.cpp cpucounters.cpp
--- cpucounters.cpp 2013-11-04 05:43:31.000000000 -0700
+++ cpucounters.cpp 2014-03-07 05:47:24.000000000 -0700
@@ -681,7 +681,7 @@
else
apic_ids_per_core = 1;
- for (i = 0; i < num_cores; i++)
+ for (int i = 0; i < num_cores; i++)
{
char cpuctl_name[64];
int apic_id;