You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Move merged DAHDI Linux patches to merged section.
They are not yet included in an official release,
so this is not a functional change.
* Always apply PR 32, which is still not yet merged.
* Slipstream Asterisk PR 1030 (chan_dahdi fix).
git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/58.diff"# PR 58: non-RHEL build fixes for older kernels
1883
1881
git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/60.diff"# PR 60: Fix old style declaration error on newer systems
@@ -1886,6 +1884,20 @@ install_dahdi() {
1886
1884
git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/66.diff"# PR 66: Add braces around empty if body
1887
1885
git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/69.diff"# PR 69: DEFINE_SEMAPHORE for RHEL
1888
1886
1887
+
# Not yet merged
1888
+
git_custom_patch "https://patch-diff.githubusercontent.com/raw/asterisk/dahdi-linux/pull/32.patch"# PR 32, not yet merged
1889
+
1890
+
# Fix or skip compilation of the XPP driver for 32-bit
1891
+
OS_ARCH=$( uname -m )
1892
+
printf"Detected architecture: %s\n""$OS_ARCH"
1893
+
if [ "$OS_ARCH"="armv7l" ];then
1894
+
# I can't test this build at the moment, so to play it safe, I'm going to keep it disabled in this case,
1895
+
# given that the xpp drivers are seldom used and especially unlikely to be used by someone with this architecture.
1896
+
# TODO Slightly related, once GitHub allows free arm64 builds, do more testing: https://github.com/orgs/community/discussions/19197
1897
+
echoerr "Skipping compilation of XPP driver for this 32-bit architecture! ($OS_ARCH)"
0 commit comments