From: Gleb C. <lna...@ya...> - 2024-01-10 16:36:32
|
Commit: 7baf286 GitHub URL: https://github.com/SCST-project/scst/commit/7baf286609cd019d574ced3c7d300f2322f8654c Author: Gleb Chesnokov Date: 2024-01-10T19:34:49+03:00 Log Message: ----------- scripts/specialize-patch: Improve RHEL support Unbreak nightly build for RHEL 8.9 and 9.3 Modified Paths: -------------- scripts/specialize-patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) =================================================================== diff --git a/scripts/specialize-patch b/scripts/specialize-patch index 30d55c9..5c00244 100755 --- a/scripts/specialize-patch +++ b/scripts/specialize-patch @@ -101,7 +101,9 @@ function evaluate(stmnt, pattern, arg, op, result) { "RHEL_RELEASE_CODE -0 < 7 * 256 + 5)", stmnt) gsub("defined\\(IB_CM_LISTEN_TAKES_THIRD_ARG\\)", - "(LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 0))", stmnt) + "(LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 0) \\&\\& " \ + "!(RHEL_MAJOR -0 == 8 \\&\\& RHEL_MINOR -0 >= 9 || " \ + "RHEL_MAJOR -0 == 9 \\&\\& RHEL_MINOR -0 >= 3))", stmnt) gsub("IB_CLIENT_ADD_ONE_RETURNS_INT", "(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0) || " \ |