From 300418f98a81020ef17497fd0e961c5a7d8587f9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 3 Feb 2025 08:47:18 +0100 Subject: update to 25.2.0 re-license spec file to CECILL-2.1 fix cpu affinity check and futext check using patch from https://github.com/openswoole/ext-openswoole/pull/376 raise dependency on PHP 8.2 rename to php-pecl-openswoole25 for new API update to 25.2.0 re-license spec file to CECILL-2.1 fix cpu affinity check and futext check using patch from https://github.com/openswoole/ext-openswoole/pull/376 raise dependency on PHP 8.2 rename to php-pecl-openswoole25 for new API --- 0002-fix-futex-check.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 0002-fix-futex-check.patch (limited to '0002-fix-futex-check.patch') diff --git a/0002-fix-futex-check.patch b/0002-fix-futex-check.patch new file mode 100644 index 0000000..2b973ab --- /dev/null +++ b/0002-fix-futex-check.patch @@ -0,0 +1,24 @@ +From 6f3d532e744dd8bfdfd1ce264a559c2f47bc49e3 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Mon, 3 Feb 2025 07:27:53 +0100 +Subject: [PATCH 2/2] fix futex check + +--- + config.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/config.m4 b/config.m4 +index f49e6a58f..f09daa052 100644 +--- a/config.m4 ++++ b/config.m4 +@@ -163,6 +163,7 @@ AC_DEFUN([AC_SWOOLE_HAVE_FUTEX], + [ + AC_MSG_CHECKING([for futex]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ++ #define _GNU_SOURCE 1 + #include + #include + #include +-- +2.48.1 + -- cgit