From 4b5b616e651131d950179c8a01318177da90f877 Mon Sep 17 00:00:00 2001 From: InterLinked1 <24227567+InterLinked1@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:27:06 -0500 Subject: [PATCH] DAHDI Linux: Fix compilation with newer RHEL 9 versions. Slipstream unmerged PR to fix compilation on RHEL >= 9.3. --- phreaknet.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/phreaknet.sh b/phreaknet.sh index 8304e3b..8c372a1 100755 --- a/phreaknet.sh +++ b/phreaknet.sh @@ -1877,6 +1877,7 @@ install_dahdi() { git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/62.diff" # PR 62: Rename MAX to MAX_ATTEMPTS to avoid macro redefinition git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/64.diff" # PR 64: More struct device to const struct device git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/66.diff" # PR 66: Add braces around empty if body + git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/69.diff" # PR 69: DEFINE_SEMAPHORE for RHEL KERN_VER_MM=$( uname -r | cut -d. -f1-2 ) OS_DIST_2=$( printf "$OS_DIST_INFO" | cut -d' ' -f1-2)