aboutsummaryrefslogtreecommitdiff
path: root/net/haproxy-devel
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2022-01-03 10:55:01 +0000
committerStefan Eßer <se@FreeBSD.org>2022-01-03 10:55:01 +0000
commit91efb4d016bcb7953f00a022f6bfe49a84dc61ac (patch)
tree2d8d2033a4a40f63c3cb3dce49bd042990fa41fc /net/haproxy-devel
parent2913605c79b25b88a4a21b3d93ec2ab11949eaaa (diff)
downloadports-91efb4d016bcb7953f00a022f6bfe49a84dc61ac.tar.gz
ports-91efb4d016bcb7953f00a022f6bfe49a84dc61ac.zip
Diffstat (limited to 'net/haproxy-devel')
-rw-r--r--net/haproxy-devel/files/patch-src_cpuset.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/haproxy-devel/files/patch-src_cpuset.c b/net/haproxy-devel/files/patch-src_cpuset.c
new file mode 100644
index 000000000000..42f04b37e6f6
--- /dev/null
+++ b/net/haproxy-devel/files/patch-src_cpuset.c
@@ -0,0 +1,14 @@
+--- src/cpuset.c.orig 2021-12-23 16:47:51 UTC
++++ src/cpuset.c
+@@ -53,7 +53,11 @@ void ha_cpuset_and(struct hap_cpuset *dst, const struc
+ CPU_AND(&dst->cpuset, &dst->cpuset, &src->cpuset);
+
+ #elif defined(CPUSET_USE_FREEBSD_CPUSET)
++#if defined(CPU_ALLOC)
++ CPU_AND(&dst->cpuset, &dst->cpuset, &src->cpuset);
++#else
+ CPU_AND(&dst->cpuset, &src->cpuset);
++#endif
+
+ #elif defined(CPUSET_USE_ULONG)
+ dst->cpuset &= src->cpuset;