summaryrefslogtreecommitdiffstats
path: root/0001-fix-cpu-affinity-check.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-12-16 10:17:22 +0100
committerRemi Collet <remi@php.net>2024-12-16 10:17:22 +0100
commite2f8a8181ebe5b393b15b3c5eef00187209ffb8d (patch)
treee3d660f5b9771978bbf39068f5d07b9e82375377 /0001-fix-cpu-affinity-check.patch
parentee2deb69623ebf1489db3ef6ab493f682aefe2df (diff)
update to 6.0.0 GAHEADmaster
enable zstd support re-license spec file to CECILL-2.1 drop patch merged upstream fix cpu affinity check using patch from https://github.com/swoole/swoole-src/pull/5624 update to 6.0.0 GA enable zstd support re-license spec file to CECILL-2.1 drop patch merged upstream fix cpu affinity check using patch from https://github.com/swoole/swoole-src/pull/5624
Diffstat (limited to '0001-fix-cpu-affinity-check.patch')
-rw-r--r--0001-fix-cpu-affinity-check.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/0001-fix-cpu-affinity-check.patch b/0001-fix-cpu-affinity-check.patch
new file mode 100644
index 0000000..58c4370
--- /dev/null
+++ b/0001-fix-cpu-affinity-check.patch
@@ -0,0 +1,24 @@
+From 5630753cba195133a741d6f768143e40ff7454f6 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 16 Dec 2024 09:28:53 +0100
+Subject: [PATCH] fix cpu affinity check
+
+---
+ config.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/config.m4 b/config.m4
+index ada2e983b..701eaa569 100644
+--- a/config.m4
++++ b/config.m4
+@@ -183,6 +183,7 @@ AC_DEFUN([AC_SWOOLE_CPU_AFFINITY],
+ #include <sys/cpuset.h>
+ typedef cpuset_t cpu_set_t;
+ #else
++ #define _GNU_SOURCE 1
+ #include <sched.h>
+ #endif
+ ]], [[
+--
+2.47.1
+