summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2025-12-04 14:08:18 +0000
committerChristian Marangi2025-12-04 14:10:14 +0000
commitb4f1c7adf9b7b0f21ae740e00ba8f4e0605e88b8 (patch)
tree81062d0c8ab936f816f55d1c0c8b0b7eb55b9e9c
parente8e89793f39117733a7cc7862713ba2a9f9bf7f6 (diff)
downloadtelephony-b4f1c7adf9b7b0f21ae740e00ba8f4e0605e88b8.tar.gz
freetdm: disable broken pritap module
Disable broken pritap module as it never actually worked. This module is based on a FORK of libpri [1] that have all the extra symbol. So the module probably never worked on loading it with the wrong library. [1] https://github.com/ajpaul25/libpri Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--libs/freetdm/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/libs/freetdm/Makefile b/libs/freetdm/Makefile
index b47fb91..3605317 100644
--- a/libs/freetdm/Makefile
+++ b/libs/freetdm/Makefile
@@ -40,8 +40,8 @@ FS_PKGCONFIG_DIR:=$(FS_LIB_DIR)/pkgconfig
PKG_CONFIG_DEPENDS:= \
CONFIG_FREETDM_WITH_DEBUG \
CONFIG_LIBC \
- CONFIG_PACKAGE_libfreetdm-ftmod-libpri \
- CONFIG_PACKAGE_libfreetdm-ftmod-pritap \
+ CONFIG_PACKAGE_libfreetdm-ftmod-libpri
+# CONFIG_PACKAGE_libfreetdm-ftmod-pritap
include $(INCLUDE_DIR)/package.mk
@@ -129,8 +129,8 @@ CONFIGURE_ARGS+= \
--disable-static \
--with-modinstdir=$(FS_MOD_DIR) \
$(call autoconf_bool,CONFIG_FREETDM_WITH_DEBUG,debug) \
- $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-libpri),--with-libpri="$(STAGING_DIR)/usr",--without-libpri) \
- $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-pritap),--with-pritap,--without-pritap)
+ $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-libpri),--with-libpri="$(STAGING_DIR)/usr",--without-libpri)
+# $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-pritap),--with-pritap,--without-pritap)
$(eval $(call BuildPackage,libfreetdm))
$(eval $(call BuildPackage,freeswitch-mod-freetdm))
@@ -147,6 +147,10 @@ $(eval $(call BuildPackage,freeswitch-mod-freetdm))
$(eval $(call Package/libfreetdm/FTModule,analog,Analog,Offers generic FXO/FXS support for any type of card supported by FreeTDM.,))
$(eval $(call Package/libfreetdm/FTModule,analog_em,Analog EM,Offers generic E&M signaling for any type of card supported by FreeTDM.,))
$(eval $(call Package/libfreetdm/FTModule,libpri,LibPRI,Offers support for PRI lines using the open source libpri stack for any\ntype of card supported by FreeTDM. Supports both PRI and BRI signalling.,+libpri @!aarch64))
-$(eval $(call Package/libfreetdm/FTModule,pritap,PRI tapping,This module is used to tap PRI lines.,+libfreetdm-ftmod-libpri))
+# It seems pritap has always been broken and never worked.
+# This module is based on a FORK of libpri (https://github.com/ajpaul25/libpri) that have
+# all the extra symbol. So the module probably never worked on loading it with the wrong library.
+# Disable this to fix compilation of freetdm.
+# $(eval $(call Package/libfreetdm/FTModule,pritap,PRI tapping,This module is used to tap PRI lines.,+libfreetdm-ftmod-libpri))
$(eval $(call Package/libfreetdm/FTModule,skel,Skeleton,ftmod_skel is an example module.,))
$(eval $(call Package/libfreetdm/FTModule,zt,DAHDI I/O,This module supports the DAHDI interface. The DAHDI interface is used by\nseveral hardware vendors.,))