Skip to content

Commit fc1dddd

Browse files
authored
DAHDI Linux: Fix compilation with newer RHEL 9 versions. (#52)
Slipstream unmerged PR to fix compilation on RHEL >= 9.3.
1 parent bd569d7 commit fc1dddd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phreaknet.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,6 +1877,7 @@ install_dahdi() {
18771877
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
18781878
git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/64.diff" # PR 64: More struct device to const struct device
18791879
git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/66.diff" # PR 66: Add braces around empty if body
1880+
git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/69.diff" # PR 69: DEFINE_SEMAPHORE for RHEL
18801881

18811882
KERN_VER_MM=$( uname -r | cut -d. -f1-2 )
18821883
OS_DIST_2=$( printf "$OS_DIST_INFO" | cut -d' ' -f1-2)

0 commit comments

Comments
 (0)