Skip to content

Commit

Permalink
DAHDI Linux: Fix compilation with newer RHEL 9 versions. (#52)
Browse files Browse the repository at this point in the history
Slipstream unmerged PR to fix compilation on RHEL >= 9.3.
  • Loading branch information
InterLinked1 authored Nov 21, 2024
1 parent bd569d7 commit fc1dddd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phreaknet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fc1dddd

Please sign in to comment.