termux-packages/disabled-packages/squid/CpuAffinitySet.cc.patch
Vishal Biswas ffcb22f1b0 add more disabled packages (#742)
* easy-rsa: add as disabled package

* openvpn: add as disabled package

* squid: add as disabled package

* llvm: add as disabled package

* alsa-lib: add as disabled package

* alsa-utils: add as disabled package

* openjdk-9-headless: add as disabled package
2017-02-08 00:44:12 +01:00

12 lines
554 B
Diff

--- ./src/CpuAffinitySet.cc 2016-10-10 01:28:01.000000000 +0530
+++ ../CpuAffinitySet.cc 2016-12-07 22:53:47.745146503 +0530
@@ -37,7 +37,7 @@
} else {
cpu_set_t cpuSet;
memcpy(&cpuSet, &theCpuSet, sizeof(cpuSet));
- (void) CPU_AND(&cpuSet, &cpuSet, &theOrigCpuSet);
+ CPU_AND(&cpuSet, &cpuSet, &theOrigCpuSet);
if (CPU_COUNT(&cpuSet) <= 0) {
debugs(54, DBG_IMPORTANT, "ERROR: invalid CPU affinity for process "
"PID " << getpid() << ", may be caused by an invalid core in "